Sunday, 2021-06-20

opendevreviewJames E. Blair proposed zuul/zuul master: Use create_all for empty databases  https://review.opendev.org/c/zuul/zuul/+/79718001:33
opendevreviewJames E. Blair proposed zuul/zuul master: Use an actual database in all Zuul tests  https://review.opendev.org/c/zuul/zuul/+/79718101:33
opendevreviewJames E. Blair proposed zuul/zuul master: Report intermediate buildsets and builds  https://review.opendev.org/c/zuul/zuul/+/79718201:33
zbravass[m]: it is but keep in mind that is requirements.yml, not .yaml!08:15
avass[m]both work according to the docs08:15
zbrif it remember well for that file in particular yml was required, show the the docs.08:16
zbrif you are right, it means ansible-lint and ansible-molecule have a bug as they will not recognize and use the file08:17
avass[m]well, according to this page: https://galaxy.ansible.com/docs/using/installing.html#installing-multiple-roles-from-a-file08:17
avass[m]and it works :)08:17
zbrobviously that if you use -r filename, you can call it anything08:18
avass[m]oh does it pick it up automatically? I thought it worked like requirements.txt08:18
zbrlet me ask, i only opened the computer 2min ago I already have a new bug to handle...08:19
zbransible-lint and molecule do recognize the file and auto-install it but only if is called .yml08:19
zbrthis makes quite easy to run the linter inside a collection that depends other collection(s)08:20
zbrthese are installed in a special cache dir in order to avoid polluting user env (or cross contamination between various projects)08:20
zbrif 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
zbrbut 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
zbrgive me some time to dig a little bit, we should move that to #ansible-galaxy on libera08:24
avass[m]just had to figure out how to join libera channels, they still don't show up when searching in matrix08:29
zbryeah, the divide is a pita, most people picked libera.09:11
zbri got some feedback, only `galaxy.yml` file requires this specific extension. 09:12
zbrif 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.html09:12
zbrthe reqs.y[a]ml file is purely at user control, no special meaning for ansible itself.09:13
zbrbut this made me realise that i have more work to do on tooling side about installing deps09:14
zbravass[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
zbrthe tool interface is very similar to pip10:14
zbrthe tool interface is very similar to pip10:14
avass[m]zbr: just to manage dependencies10:15
zbrin 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/!