Skip to content

Commit a1baf57

Browse files
committed
address optional/mandatory uppercase
1 parent eb2e14c commit a1baf57

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

docs/services/cicd.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -839,12 +839,12 @@ The following runners are available:
839839

840840
#### Variables
841841
##### `DOCKERFILE`
842-
mandatory variable, example value: `ci/docker/Dockerfile`
842+
Mandatory variable, example value: `ci/docker/Dockerfile`
843843

844844
Relative path in your repository to the Dockerfile recipe.
845845

846846
##### `PERSIST_IMAGE_NAME`
847-
mandatory variable, example value: `$CSCS_REGISTRY_PATH/subdirectory/my_image:$CI_COMMIT_SHORT_SHA`
847+
Mandatory variable, example value: `$CSCS_REGISTRY_PATH/subdirectory/my_image:$CI_COMMIT_SHORT_SHA`
848848

849849
The path where to store the container image.
850850
CSCS provides a registry through the variable `CSCS_REGISTRY_PATH`.
@@ -854,13 +854,13 @@ A pipeline has read and write access to any path inside `$CSCS_REGISTRY_PATH`.
854854
See also [dependency management](#dependency-management) for common naming and [third party registry usage](#third-party-registries).
855855

856856
##### `CSCS_BUILD_IN_MEMORY`
857-
optional variable, default: `TRUE`
857+
Optional variable, default: `TRUE`
858858

859859
Instruct the runner that the whole build process will build in memory.
860860
The default value is `TRUE`, and you should only set it to `FALSE` if you see your job failing due to out-of-memory errors.
861861

862862
##### `DOCKER_BUILD_ARGS`
863-
optional variable, example value: `["ARG1=val1", "ARG2=val2"]`
863+
Optional variable, example value: `["ARG1=val1", "ARG2=val2"]`
864864

865865
This allows the usage of the keyword ARG in your Dockerfile.
866866
The value must be a valid JSON array, where each entry is a string.
@@ -878,7 +878,7 @@ my job:
878878
```
879879

880880
##### `CSCS_REBUILD_POLICY`
881-
optional variable, default: `if-not-exists`
881+
Optional variable, default: `if-not-exists`
882882

883883
This variable can be:
884884

@@ -891,32 +891,32 @@ This variable can be:
891891
See section [dependency management](#dependency-management).
892892

893893
##### `SECONDARY_REGISTRY`
894-
optional variable, example value: `docker.io/username/my_image:1.0`
894+
Optional variable, example value: `docker.io/username/my_image:1.0`
895895

896896
Allows pushing also to `$SECONDARY_REGISTRY`, additionally to `$PERSIST_IMAGE_NAME`.
897897
The result image will pushed to both registries.
898898

899899
##### `SECONDARY_REGISTRY_USERNAME`
900-
optional variable
900+
Optional variable
901901

902902
The username to push to `$SECONDARY_REGISTRY`.
903903
Mandatory when using `SECONDARY_REGISTRY`.
904904

905905
##### `SECONDARY_REGISTRY_PASSWORD`
906-
optional variable
906+
Optional variable
907907

908908
The password/token to push to `$SECONDARY_REGISTRY`.
909909
Mandatory when using `SECONDARY_REGISTRY`
910910
For security you should store a secret variable on the CI setup page, and forward it in the job yaml.
911911
If possible do not use your password, but create an access token.
912912

913913
##### `CUSTOM_REGISTRY_USERNAME`
914-
optional variable
914+
Optional variable
915915

916916
If `$PERSIST_IMAGE_NAME` is not inside the CSCS default registry, then you have to provide the credentials for pushing to the registry.
917917

918918
##### `CUSTOM_REGISTRY_PASSWORD`
919-
optional variable
919+
Optional variable
920920

921921
If `$PERSIST_IMAGE_NAME` is not inside the CSCS default registry, then you have to provide the credentials for pushing to the registry.
922922
For security you should store a secret variable on the CI setup page, and forward it in the job yaml.
@@ -985,40 +985,40 @@ This tag is mandatory.
985985

986986
#### Variables
987987
##### `GIT_STRATEGY`
988-
optional variable, default is `none`
988+
Optional variable, default is `none`
989989

990990
This is a [default Gitlab variable](https://docs.gitlab.com/ee/ci/runners/configure_runners.html#git-strategy), but mentioned here explicitly, because very often you do not need to clone the repository sourcecode when you run your containerized application.
991991

992992
The default is `none`, and you must explicitly set it to `fetch` or `clone` to fetch the source code by the runner.
993993

994994
##### `CSCS_CUDA_MPS`
995-
optional variable, default is `NO`
995+
Optional variable, default is `NO`
996996

997997
Enable running with nvidia-mps-server, which allows multiple ranks sharing the same GPU.
998998

999999
##### `USE_MPI`
1000-
optional variable, default is `AUTO`
1000+
Optional variable, default is `AUTO`
10011001

10021002
Enable running with MPI hooks enabled.
10031003
This allows to inject the host MPI library inside the container runtime for native MPI speed.
10041004

10051005
This variable is optional and the default value is `AUTO` , where it is set to `YES`, if you run with more than 1 rank, otherwise `NO`.
10061006

10071007
##### `USE_NCCL`
1008-
optional variable, default is empty
1008+
Optional variable, default is empty
10091009

10101010
Set to the [NCCL variant][ref-ce-aws-ofi-hook] that you would like to use (e.g. `cuda12`)
10111011
This adds the annotations `aws_ofi_nccl.variant=<value>` and `aws_ofi_nccl.enabled=true`.
10121012

10131013
##### `EDF_APPEND`
1014-
optional variable, default is empty
1014+
Optional variable, default is empty
10151015

10161016
This allows to append any user-defined additional EDF keys that are not yet controlled by explicit variables.
10171017

10181018
In general you should prefer using the variables to enable/disable specific annotations.
10191019

10201020
##### `CSCS_ADDITIONAL_MOUNTS`
1021-
optional variable, default is empty
1021+
Optional variable, default is empty
10221022

10231023
This allows mounting user defined host directories inside the container.
10241024
The value must be a valid JSON array of strings, where each entry is of the form `<host-path>:<container-path>`.
@@ -1075,21 +1075,21 @@ A limit is the maximum that your job might be able to use if available, but the
10751075

10761076
#### Variables
10771077
##### `KUBERNETES_CPU_REQUEST`
1078-
optional variable, default is 1
1078+
Optional variable, default is 1
10791079

10801080
Number of CPUs minimally needed to schedule this job.
10811081

10821082
##### `KUBERNETES_CPU_LIMIT`
1083-
optional variable, default is 1
1083+
Optional variable, default is 1
10841084
Limit the job to use at most that many CPUs.
10851085

10861086
##### `KUBERNETES_MEMORY_REQUEST`
1087-
optional variable, default is `1Gi`
1087+
Optional variable, default is `1Gi`
10881088

10891089
The amount of memory minimally needed to schedule the job.
10901090

10911091
##### `KUBERNETES_MEMORY_LIMIT`
1092-
optional variable, default is `1Gi`
1092+
Optional variable, default is `1Gi`
10931093

10941094
Limit the job to use at most this much memory.
10951095
You will get an OOM (out-of-memory) error, if you exceed the limit.
@@ -1136,24 +1136,24 @@ Additionally to the computed hash value, the uenv image will also be registered
11361136

11371137
#### Variables
11381138
##### `UENV_NAME`
1139-
mandatory variable, default is empty
1139+
Mandatory variable, default is empty
11401140

11411141
The name of the uenv.
11421142
Use alpha-numeric characters, dash (`-`), underscore (`_`), and dot (`.`).
11431143

11441144
##### `UENV_VERSION`
1145-
mandatory variable, default is empty
1145+
Mandatory variable, default is empty
11461146

11471147
The version of the uenv.
11481148
Use alpha-numeric characters, dash (`-`), underscore (`_`), and dot (`.`).
11491149

11501150
##### `UENV_RECIPE`
1151-
mandatory variable, default is empty
1151+
Mandatory variable, default is empty
11521152

11531153
The relative path to the directory containing the recipe yaml files.
11541154

11551155
##### `UENV_TAG`
1156-
optional variable, default is a computed hash
1156+
Optional variable, default is a computed hash
11571157

11581158
Set to an explicit tag, if you want to opt-out of the feature that a uenv is automatically rebuilt, when the contents of the recipe yaml files changes.
11591159
Please keep in mind that a uenv is only rebuilt, when the full uenv name changes.
@@ -1195,12 +1195,12 @@ This tag is mandatory.
11951195

11961196
#### Variables
11971197
##### `WITH_UENV_VIEW`
1198-
optional variable, default is empty
1198+
Optional variable, default is empty
11991199

12001200
Loads the view of a uenv.
12011201

12021202
##### `CSCS_CUDA_MPS`
1203-
optional variable, default is `NO`
1203+
Optional variable, default is `NO`
12041204

12051205
Enable running with nvidia-mps-server, which allows multiple ranks sharing the same GPU.
12061206

@@ -1337,17 +1337,17 @@ This default can be overwritten, by providing a user-defined `script` tag in the
13371337

13381338
#### Variables
13391339
##### `RFM_VERSION`
1340-
optional variable, default is a recent version of ReFrame
1340+
Optional variable, default is a recent version of ReFrame
13411341

13421342
This reframe version will be installed and is available to the job.
13431343

13441344
##### `RFM_CONFIG`
1345-
mandatory variable, default is empty
1345+
Mandatory variable, default is empty
13461346

13471347
The path to the config that is passed to `reframe` via `-C`.
13481348

13491349
##### `RFM_CHECKPATH`
1350-
mandatory variable, default is empty
1350+
Mandatory variable, default is empty
13511351

13521352
The path to the checks that is passed to `reframe` through `-c`.
13531353

0 commit comments

Comments
 (0)