opendevreview | James E. Blair proposed zuul/zuul master: Use create_all for empty databases https://review.opendev.org/c/zuul/zuul/+/797180 | 01:33 |
---|---|---|
opendevreview | James E. Blair proposed zuul/zuul master: Use an actual database in all Zuul tests https://review.opendev.org/c/zuul/zuul/+/797181 | 01:33 |
opendevreview | James E. Blair proposed zuul/zuul master: Report intermediate buildsets and builds https://review.opendev.org/c/zuul/zuul/+/797182 | 01:33 |
zbr | avass[m]: it is but keep in mind that is requirements.yml, not .yaml! | 08:15 |
avass[m] | both work according to the docs | 08:15 |
zbr | if it remember well for that file in particular yml was required, show the the docs. | 08:16 |
zbr | if you are right, it means ansible-lint and ansible-molecule have a bug as they will not recognize and use the file | 08:17 |
avass[m] | well, according to this page: https://galaxy.ansible.com/docs/using/installing.html#installing-multiple-roles-from-a-file | 08:17 |
avass[m] | and it works :) | 08:17 |
zbr | obviously that if you use -r filename, you can call it anything | 08:18 |
avass[m] | oh does it pick it up automatically? I thought it worked like requirements.txt | 08:18 |
zbr | let me ask, i only opened the computer 2min ago I already have a new bug to handle... | 08:19 |
zbr | ansible-lint and molecule do recognize the file and auto-install it but only if is called .yml | 08:19 |
zbr | this makes quite easy to run the linter inside a collection that depends other collection(s) | 08:20 |
zbr | these are installed in a special cache dir in order to avoid polluting user env (or cross contamination between various projects) | 08:20 |
zbr | if i remember well when you use galaxy-install, it will install collection and also go into its own dependencies, just like pip does. | 08:21 |
zbr | but i am not sure how this works with various versions of ansible, webknjaz worked on the resolver recently. | 08:22 |
avass[m] | I'm specifically only using ansible-galaxy and it looks like that requires you do specify a requirements.yaml with `-r` | 08:22 |
zbr | give me some time to dig a little bit, we should move that to #ansible-galaxy on libera | 08:24 |
avass[m] | just had to figure out how to join libera channels, they still don't show up when searching in matrix | 08:29 |
zbr | yeah, the divide is a pita, most people picked libera. | 09:11 |
zbr | i got some feedback, only `galaxy.yml` file requires this specific extension. | 09:12 |
zbr | if you want to make deps work when installing you need to add them inside https://docs.ansible.com/ansible/latest/dev_guide/collections_galaxy_meta.html | 09:12 |
zbr | the reqs.y[a]ml file is purely at user control, no special meaning for ansible itself. | 09:13 |
zbr | but this made me realise that i have more work to do on tooling side about installing deps | 09:14 |
zbr | avass[m]: using ansible-galaxy to do what? if you want to install a current collection from source keep in mind you need 2.10+, as for 2.9 you need to first build it and later install the file, cannot install it in one go. | 10:14 |
zbr | the tool interface is very similar to pip | 10:14 |
zbr | the tool interface is very similar to pip | 10:14 |
avass[m] | zbr: just to manage dependencies | 10:15 |
zbr | in that case, yep make use of "-r" | 10:15 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!