toolbox/playbooks
Debarshi Ray 995c6d175e playbooks/dependencies: Avoid stale DNF caches on high-churn RPM repos
Sometimes the RPM dependencies can't be installed because the DNF cache
refers to old packages that have been replaced by newer builds on the
RPM repositories [1].  This often happens on Fedora Rawhide because it
sees a lot more churn than stable Fedoras.

Currently, one has to keep restarting the tests manually by typing
'recheck' until the DNF caches eventually get updated.  This is both
very inefficient because it requires manual intervention; and wasteful
because it can take several attempts and it doesn't just run the failing
Ansible job, but all the other ones too.

It will be good to force the DNF cache to be updated [2] when an Ansible
job is being attempted more than once [3].

[1] https://github.com/containers/toolbox/pull/1171
    https://github.com/containers/toolbox/pull/1200

[2] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/dnf_module.html#parameter-update_cache

[3] https://zuul-ci.org/docs/zuul/latest/job-content.html#var-zuul.attempts

https://github.com/containers/toolbox/pull/1201
2022-12-14 22:38:08 +01:00
..
build.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00
dependencies.yaml playbooks/dependencies: Avoid stale DNF caches on high-churn RPM repos 2022-12-14 22:38:08 +01:00
setup-env-migration-path-for-coreos-toolbox.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00
setup-env.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00
system-test.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00
unit-test.yaml .zuul, playbooks: Add copyright and license notices 2022-11-28 22:47:15 +01:00