Container for ansible core CI testing of ansible-galaxy
This container runs galaxy_ng pre-populated with test collections for ansible core CI.
The container also exports 2 volumes for use with --volumes-from to support the pre-populated data for postgres and amanda:
/var/lib/postgresql/data/artifacts
Note: Requires docker-compose
Note: This project uses calver in the format of 0Y.0M.MICRO
git clone git@github.com:ansible/galaxy_ng.git
python3 build.py /path/to/galaxy_ng YY.MM.xThe above will produce a container image of galaxy-ng-test-container:YY.MM.x-arch such as `galaxy-ng-test-container:26.03.0-arm64'
This container does not provide postgres, which should be provided through a separate postgres container.
This project also contains a galaxy_ng.env file required for our use of running galaxy_ng, and must stay in sync with test/lib/ansible_test/_internal/commands/integration/cloud/galaxy.py in ansible-core.
-
Follow the build instructions from above
-
Execute
ansible-testoverriding thegalaxy_ngcontainer image using thetagandarchfrom building:ANSIBLE_GALAXY_CONTAINER=galaxy-ng-test-container:26.03.0-arm64 ansible-test integration --docker -v --python 3.14 shippable/galaxy/group1/