bootstrap-contexts¶
Creates a critical alert if a bootstrap Task failure occurs.
Download RackN containers defined in Contexts
This task is idempotent.
Attempts to upload images for all Docker-Contexts from RackN repo.
If Meta.Checksum exists, will perform checksum test. If checksums do not match then will remove the file! WARNING: No checksum test is performed if Meta.Checksum is missing.
If Meta.Imagepull provided, will use the URL to download image from provided address.
If not Meta.Imagepull is provided then will pull container from
RackN get.rebar.digital/containers at https://get.rebar.digital/containers/[image].tar.gz
.
In both cases, will invoke imagePull on the Docker Context to ensure that the referenced image is downloaded to the Digital Rebar host. This does NOT automatically change machines using the existing image (if any) to using the new image.
DEV NOTE: ExtraClaims for resource_brokers
also requires a matching entry for machines
.
This is an expected behavior due to Digital Rebar the backend implementation of Resource Brokers.