This is needed if we want to only update installed packages and not
hit depenency issues encountered when updating packages with rpm_install.sh
Change-Id: I5095d7b04cb10fde1bd82afd1bc406445b7595fd
Closes-bug: #1858837
Executes all linters via pre-commit, which is much faster, guarantees
their version locking and allows upgrading them with a single command.
Before this change the only linter running via pre-commit was
ansible-lint.
Now we also run bashate, flake8 and yamllint via pre-commit.
For developer convenience we still keep the old tox environments
which allow running a single linter.
Added long_description_content_type to fix twine check failure
Change-Id: I037eae61921b2a84aa99838804f70e96ee8d8b13
loop on Ansible < 2.5 throws an "Unexpected failure in finding the
lookup named" message. Fix that replacing loop with with_list.
Change-Id: Iecb0f67fcfadd017ef7c889d9cdada68da0d46e9
There is no need to let these directories clutter /tmp, unless the
modify tasks fail, then it should be left to allow debugging.
Change-Id: Ie258a997951cc17cee9d7b6978e7ecf53e3cffb6
Buildag is a tool that facilitates building OCI container images.
This patch adds support to modify and update containers built by
Buildah.
It's just making sure we can run the build command with their CLI and
also get the user from the container config.
The default remains 'docker' for backward compatibility.
Note: it push the new images with sudo to avoid permissions errors.
Change-Id: I3db1934ad826ec6433bd6aec067112e91d82e355
This patch adds a new rpm_install tasks which can be used
to build a new container layer from a set of local RPMs.
This is useful for building contains locally with no network
connectivity.
As part of the change the existing Yum update Dockerfile.j2 was
renamed to Dockerfile-yum.j2 to make it more specific.
Change-Id: I951c976ebb84c28cecefd2f5753a8232f46ad4aa