diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-06 17:04:46 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-06 17:04:46 -0500 | 
| commit | d918d14bd6836777d822da368bb16ef0789c2e9c (patch) | |
| tree | 577eb752f4137d6efbbea3283e7598882a08c5e3 | |
| parent | feb982a7fe2b4e0cbe35b90246f7e1fe51460a4f (diff) | |
| download | stasis-d918d14bd6836777d822da368bb16ef0789c2e9c.tar.gz | |
Add deploy:docker outline.
* Add/fix deploy template variables
| -rw-r--r-- | README.md | 15 | 
1 files changed, 14 insertions, 1 deletions
| @@ -79,6 +79,7 @@ Template strings can be accessed using the `{{ subject.key }}` notation in any O  | storage.conda_artifact_dir | Ohmycal conda package directory    |  | storage.wheel_artifact_dir | Ohmycal wheel package directory    |  | storage.build_sources_dir  | Ohmycal sources directory          | +| storage.build_docker_dir   | Ohmycal docker directory           |  | conda.installer_name       | Conda distribution name            |  | conda.installer_version    | Conda distribution version         |  | conda.installer_platform   | Conda target platform              | @@ -86,7 +87,8 @@ Template strings can be accessed using the `{{ subject.key }}` notation in any O  | conda.installer_baseurl    | Conda installer URL                |  | system.arch                | System CPU Architecture            |  | system.platform            | System Platform (OS)               | -| deploy.repo                | Artifactory destination repository | +| deploy.docker.registry     | Docker registry                    | +| deploy.jfrog.repo          | Artifactory destination repository |  The template engine also provides an interface to environment variables using the `{{ env:VARIABLE_NAME }}` notation. @@ -170,6 +172,17 @@ Sections starting with `deploy:artifactory:` will define the upload behavior of  | files | List   | `jf`-compatible wildcard path          | Y        |  | dest  | String | Remote artifactory path to store files | Y        | +### deploy:docker + +The `deploy:docker` section controls how Docker images are created, when a `Dockerfile` is present in the `build_docker_dir`. + +| Key               | Type   | Purpose                                      | Required | +|-------------------|--------|----------------------------------------------|----------| +| registry          | String | Docker registry to use                       | Y        | +| image_compression | String | Compression program (with arguments)         | N        | +| build_args        | List   | Values passed to `docker build --build-args` | N        | +| tags              | List   | Docker image tag(s)                          | Y        | +  # Mission files  Mission rules are defined in the `OMC_SYCONFDIR/mission` directory. Each mission configuration file shares the same name as the directory. To create a new mission, `example`, the directory structure will be as follows: | 
