zuul-jobs/roles/pull-from-intermediate-regi...
Monty Taylor 454b5349b0 Add retries to skopeo copy operations
We think that sometimes the network derps so the whole copy goes
bad. Add retries in to the mix since a copy command is idempotent.

Change-Id: I2d2891f2ebe3ca6a99874d9cf028addea888c3b7
2019-04-25 17:22:30 +00:00
..
tasks Add retries to skopeo copy operations 2019-04-25 17:22:30 +00:00
README.rst Only alias docker registries on test nodes 2019-04-22 10:37:33 -07:00

README.rst

Pull artifacts from the intermediate registry

This role will pull any artifacts built for changes ahead of this change which have been placed in an intermediate registry into the buildset registry for this buildset.

Run this in a trusted pre-playbook at the start of a job (which, in the case of multiple dependent jobs in a buildset, should be at the root of the job dependency graph).

This requires the :zuulrun-buildset-registry role already applied. It also requires an externally managed "intermediate" registry operating for the use of Zuul, and it requires "skopeo" and "socat" to be installed on the Zuul executors.

Role Variables

Information about the registry, as returned by :zuulrun-buildset-registry.

The host (IP address) of the registry.

The port on which the registry is listening.

The username used to access the registry via HTTP basic auth.

The password used to access the registry via HTTP basic auth.

The (self-signed) certificate used by the registry.

Information about the registry. This is expected to be provided as a secret.

The host (IP address) of the registry.

The port on which the registry is listening.

The username used to access the registry via HTTP basic auth.

The password used to access the registry via HTTP basic auth.