You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/services/cicd.md
+29-29Lines changed: 29 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -839,12 +839,12 @@ The following runners are available:
839
839
840
840
#### Variables
841
841
##### `DOCKERFILE`
842
-
mandatory variable, example value: `ci/docker/Dockerfile`
842
+
Mandatory variable, example value: `ci/docker/Dockerfile`
843
843
844
844
Relative path in your repository to the Dockerfile recipe.
845
845
846
846
##### `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`
848
848
849
849
The path where to store the container image.
850
850
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`.
854
854
See also [dependency management](#dependency-management) for common naming and [third party registry usage](#third-party-registries).
855
855
856
856
##### `CSCS_BUILD_IN_MEMORY`
857
-
optional variable, default: `TRUE`
857
+
Optional variable, default: `TRUE`
858
858
859
859
Instruct the runner that the whole build process will build in memory.
860
860
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.
861
861
862
862
##### `DOCKER_BUILD_ARGS`
863
-
optional variable, example value: `["ARG1=val1", "ARG2=val2"]`
863
+
Optional variable, example value: `["ARG1=val1", "ARG2=val2"]`
864
864
865
865
This allows the usage of the keyword ARG in your Dockerfile.
866
866
The value must be a valid JSON array, where each entry is a string.
@@ -878,7 +878,7 @@ my job:
878
878
```
879
879
880
880
##### `CSCS_REBUILD_POLICY`
881
-
optional variable, default: `if-not-exists`
881
+
Optional variable, default: `if-not-exists`
882
882
883
883
This variable can be:
884
884
@@ -891,32 +891,32 @@ This variable can be:
891
891
See section [dependency management](#dependency-management).
892
892
893
893
##### `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`
895
895
896
896
Allows pushing also to `$SECONDARY_REGISTRY`, additionally to `$PERSIST_IMAGE_NAME`.
897
897
The result image will pushed to both registries.
898
898
899
899
##### `SECONDARY_REGISTRY_USERNAME`
900
-
optional variable
900
+
Optional variable
901
901
902
902
The username to push to `$SECONDARY_REGISTRY`.
903
903
Mandatory when using `SECONDARY_REGISTRY`.
904
904
905
905
##### `SECONDARY_REGISTRY_PASSWORD`
906
-
optional variable
906
+
Optional variable
907
907
908
908
The password/token to push to `$SECONDARY_REGISTRY`.
909
909
Mandatory when using `SECONDARY_REGISTRY`
910
910
For security you should store a secret variable on the CI setup page, and forward it in the job yaml.
911
911
If possible do not use your password, but create an access token.
912
912
913
913
##### `CUSTOM_REGISTRY_USERNAME`
914
-
optional variable
914
+
Optional variable
915
915
916
916
If `$PERSIST_IMAGE_NAME` is not inside the CSCS default registry, then you have to provide the credentials for pushing to the registry.
917
917
918
918
##### `CUSTOM_REGISTRY_PASSWORD`
919
-
optional variable
919
+
Optional variable
920
920
921
921
If `$PERSIST_IMAGE_NAME` is not inside the CSCS default registry, then you have to provide the credentials for pushing to the registry.
922
922
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.
985
985
986
986
#### Variables
987
987
##### `GIT_STRATEGY`
988
-
optional variable, default is `none`
988
+
Optional variable, default is `none`
989
989
990
990
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.
991
991
992
992
The default is `none`, and you must explicitly set it to `fetch` or `clone` to fetch the source code by the runner.
993
993
994
994
##### `CSCS_CUDA_MPS`
995
-
optional variable, default is `NO`
995
+
Optional variable, default is `NO`
996
996
997
997
Enable running with nvidia-mps-server, which allows multiple ranks sharing the same GPU.
998
998
999
999
##### `USE_MPI`
1000
-
optional variable, default is `AUTO`
1000
+
Optional variable, default is `AUTO`
1001
1001
1002
1002
Enable running with MPI hooks enabled.
1003
1003
This allows to inject the host MPI library inside the container runtime for native MPI speed.
1004
1004
1005
1005
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`.
1006
1006
1007
1007
##### `USE_NCCL`
1008
-
optional variable, default is empty
1008
+
Optional variable, default is empty
1009
1009
1010
1010
Set to the [NCCL variant][ref-ce-aws-ofi-hook] that you would like to use (e.g. `cuda12`)
1011
1011
This adds the annotations `aws_ofi_nccl.variant=<value>` and `aws_ofi_nccl.enabled=true`.
1012
1012
1013
1013
##### `EDF_APPEND`
1014
-
optional variable, default is empty
1014
+
Optional variable, default is empty
1015
1015
1016
1016
This allows to append any user-defined additional EDF keys that are not yet controlled by explicit variables.
1017
1017
1018
1018
In general you should prefer using the variables to enable/disable specific annotations.
1019
1019
1020
1020
##### `CSCS_ADDITIONAL_MOUNTS`
1021
-
optional variable, default is empty
1021
+
Optional variable, default is empty
1022
1022
1023
1023
This allows mounting user defined host directories inside the container.
1024
1024
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
1075
1075
1076
1076
#### Variables
1077
1077
##### `KUBERNETES_CPU_REQUEST`
1078
-
optional variable, default is 1
1078
+
Optional variable, default is 1
1079
1079
1080
1080
Number of CPUs minimally needed to schedule this job.
1081
1081
1082
1082
##### `KUBERNETES_CPU_LIMIT`
1083
-
optional variable, default is 1
1083
+
Optional variable, default is 1
1084
1084
Limit the job to use at most that many CPUs.
1085
1085
1086
1086
##### `KUBERNETES_MEMORY_REQUEST`
1087
-
optional variable, default is `1Gi`
1087
+
Optional variable, default is `1Gi`
1088
1088
1089
1089
The amount of memory minimally needed to schedule the job.
1090
1090
1091
1091
##### `KUBERNETES_MEMORY_LIMIT`
1092
-
optional variable, default is `1Gi`
1092
+
Optional variable, default is `1Gi`
1093
1093
1094
1094
Limit the job to use at most this much memory.
1095
1095
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
1136
1136
1137
1137
#### Variables
1138
1138
##### `UENV_NAME`
1139
-
mandatory variable, default is empty
1139
+
Mandatory variable, default is empty
1140
1140
1141
1141
The name of the uenv.
1142
1142
Use alpha-numeric characters, dash (`-`), underscore (`_`), and dot (`.`).
1143
1143
1144
1144
##### `UENV_VERSION`
1145
-
mandatory variable, default is empty
1145
+
Mandatory variable, default is empty
1146
1146
1147
1147
The version of the uenv.
1148
1148
Use alpha-numeric characters, dash (`-`), underscore (`_`), and dot (`.`).
1149
1149
1150
1150
##### `UENV_RECIPE`
1151
-
mandatory variable, default is empty
1151
+
Mandatory variable, default is empty
1152
1152
1153
1153
The relative path to the directory containing the recipe yaml files.
1154
1154
1155
1155
##### `UENV_TAG`
1156
-
optional variable, default is a computed hash
1156
+
Optional variable, default is a computed hash
1157
1157
1158
1158
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.
1159
1159
Please keep in mind that a uenv is only rebuilt, when the full uenv name changes.
@@ -1195,12 +1195,12 @@ This tag is mandatory.
1195
1195
1196
1196
#### Variables
1197
1197
##### `WITH_UENV_VIEW`
1198
-
optional variable, default is empty
1198
+
Optional variable, default is empty
1199
1199
1200
1200
Loads the view of a uenv.
1201
1201
1202
1202
##### `CSCS_CUDA_MPS`
1203
-
optional variable, default is `NO`
1203
+
Optional variable, default is `NO`
1204
1204
1205
1205
Enable running with nvidia-mps-server, which allows multiple ranks sharing the same GPU.
1206
1206
@@ -1337,17 +1337,17 @@ This default can be overwritten, by providing a user-defined `script` tag in the
1337
1337
1338
1338
#### Variables
1339
1339
##### `RFM_VERSION`
1340
-
optional variable, default is a recent version of ReFrame
1340
+
Optional variable, default is a recent version of ReFrame
1341
1341
1342
1342
This reframe version will be installed and is available to the job.
1343
1343
1344
1344
##### `RFM_CONFIG`
1345
-
mandatory variable, default is empty
1345
+
Mandatory variable, default is empty
1346
1346
1347
1347
The path to the config that is passed to `reframe` via `-C`.
1348
1348
1349
1349
##### `RFM_CHECKPATH`
1350
-
mandatory variable, default is empty
1350
+
Mandatory variable, default is empty
1351
1351
1352
1352
The path to the checks that is passed to `reframe` through `-c`.
0 commit comments