Skip to content

Commit

Permalink
Add deploy:docker outline.
Browse files Browse the repository at this point in the history
* Add/fix deploy template variables
  • Loading branch information
jhunkeler committed Mar 6, 2024
1 parent feb982a commit d918d14
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,16 @@ 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 |
| conda.installer_arch | Conda target architecture |
| 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.

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d918d14

Please sign in to comment.