bootstrap-contexts¶
Setup Containers for Docker-Context
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.
Objects that Reference bootstrap-contexts¶
- stages bootstrap-advanced in Core Task Library v4.15.12-root.2+gba7b0365f30b7a9b6d48ef22fbbd24bba9d27f42 as part of Tasks (declared)