Use a custom build container on Shippable. (#69660)

* Use a custom build container on Shippable.

This supports key generation before git_sync, to avoid issues with pre-migration PRs.

If the node pool is switched to another version, a matching build container should be built and used.

* Don't kill our own custom container.
pull/69712/head
Matt Clay 5 years ago committed by GitHub
parent c987c0c8a1
commit 5fc01c0a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,6 +151,11 @@ branches:
- "revert-*-*" - "revert-*-*"
build: build:
pre_ci_boot:
image_name: quay.io/ansible/shippable-build-container
image_tag: 6.10.4.0
pull: true
options: --privileged=true --net=bridge
ci: ci:
- test/utils/shippable/timing.sh test/utils/shippable/shippable.sh $T - test/utils/shippable/timing.sh test/utils/shippable/shippable.sh $T

@ -13,7 +13,7 @@ docker images ansible/ansible
docker images quay.io/ansible/* docker images quay.io/ansible/*
docker ps docker ps
for container in $(docker ps --format '{{.Image}} {{.ID}}' | grep -v '^drydock/' | sed 's/^.* //'); do for container in $(docker ps --format '{{.Image}} {{.ID}}' | grep -v -e '^drydock/' -e '^quay.io/ansible/shippable-build-container:' | sed 's/^.* //'); do
docker rm -f "${container}" || true # ignore errors docker rm -f "${container}" || true # ignore errors
done done

Loading…
Cancel
Save