Commit Graph

7 Commits

Author SHA1 Message Date
Ghanshyam Mann cbf9d36df6 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ib5a8155d76652044701ae05e5dbcc7078f41d863
2024-02-24 11:41:18 -08:00
Sagi Shnaidman 81ca6b4dc0 Remove docker modules from the role
Remove docker modules usage from the role since we
use buildah/podman everywhere.
Change-Id: Ic2a46c0a55781041016f42bdc1af686055af9fa2
2021-08-09 20:55:41 +03:00
Emilien Macchi c7a6819599 get_original_user: override source_image_facts
See https://github.com/ansible/ansible/issues/15710#issuecomment-216645922
for the context.

So we need to override the source_image_facts in the block to make
sure we can get the image infos later.


Change-Id: Iedef1fa3791342479915cf36a30c18602a402c3f
Closes-Bug: #1836048
2019-07-11 05:32:46 +00:00
Alex Schultz ca052a10bd Try downloading the image when inspecting if not available
Currently if you don't have the image on the undercloud, when you try to
run image modify it will fail.  Instead of requiring the user
pre-download the image prior to running the image modify script, let's
attempt a pull if the image doesn't exist.

Change-Id: Ib47331197f27c20281ff86b381cde2a2d8b61519
Closes-Bug: #1835219
2019-07-03 21:25:19 -06:00
Chandan Kumar b541c5ef99 Run all linters via pre-commit
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
2019-02-15 18:22:10 +05:30
Alex Schultz 48a56c1f48 Add retries to docker_image_facts
If there are connectivity issues with docker_image_facts we should retry
it rather than just failing.

Change-Id: If982fbc8f2524e4e36688cd700a7ea2f0f48c549
Closes-Bug: #1796756
2018-10-10 15:18:23 -06:00
Emilien Macchi a2229e738a Add Buildah support
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
2018-08-03 14:40:27 -04:00