J.U.S.T. CI Functions

just_ci_functions.bsh

CI plugin for just

JUST_CI_CACHE_REPO

Dockerhub repository for CI service cache.

See also

ci_load-services

JUST_CI_CACHE_VERSION

Version for CI service cache.

See also

ci_load-services

JUST_CI_CACHE_ARGS

Additional ci_load.py arguments for CI service cache as a single string.

See also

ci_load-services

JUST_CI_RECIPE_REPO

Dockerhub repository for CI recipe cache.

JUST_CI_RECIPE_VERSION

Version for CI recipe cache.

JUST_CI_RECIPE_ARGS

Additional ci_load.py arguments for CI recipe cache as a single string.

See also

ci_load-services

JUST_CI_BLUEPRINT_REPO

Dockerhub repository for CI blueprint cache.

JUST_CI_BLUEPRINT_VERSION

Version for CI blueprint cache.

just ci load-recipes
Arguments:

[$1]… - Recipe names to load

Runs ci_load.py for specified docker recipes. Handles loading of both single and multi-stage recipes.

just ci load-recipes-auto
Arguments:

$1… - Dockerfiles to parse

Scans Dockerfiles for vsiri/recipe: images, and calls ci_load-recipes on the recipes discovered. Accepts multiple files and - for stdin

just ci load-blueprint
Arguments:

$1 - Project docker compose yaml file $2 - Project blueprint service (e.g., project_gdal``) [$3] - Blueprint service name in $JUST_CI_BLUEPRINT_CACHE, if different from project blueprint service

Runs ci_load.py for specified docker blueprint. Blueprint is saved to the project cache $JUST_CI_CACHE_REPO, warmed from the blueprint cache at $JUST_CI_BLUEPRINT_CACHE.

just ci load-services
Arguments:

$1 - Docker compose yaml file $2 - Main docker compose service [$3]… - Optional ci_load.py inputs

Runs ci_load.py for specified docker services. Recipes are expected to be loaded prior to call via just ci load-recipes-auto.