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
Allow env vars to either be set with or without CUSTOM_ENV_ prefix.
The prefix is added automatically by GitLab if the var is set from the UI.
If the variable is set from the container, it is not prefixed.
Both approaches are valid so support both.
Copy file name to clipboardExpand all lines: GitLab/custom-executor.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,13 +59,13 @@ To do that:
59
59
60
60
The provided scripts expect the following environment variables to be set:
61
61
62
-
-`CUSTOM_ENV_ORKA_TOKEN` - User authentication to connect to the Orka environment. Created by running `orka3 user get-token` or `orka3 serviceaccount token <service-account>`.
63
-
-`CUSTOM_ENV_ORKA_ENDPOINT` - The Orka endpoint. Usually, it is `http://10.221.188.20`.
64
-
-`CUSTOM_ENV_ORKA_CONFIG_NAME` - The name of the VM config to be deployed.
65
-
-`CUSTOM_ENV_ORKA_VM_NAME_PREFIX` - The prefix of the generated VM name. Defaults to `gl-runner`.
66
-
-`CUSTOM_ENV_ORKA_VM_USER` - User used to SSH to the VM.
67
-
-`CUSTOM_ENV_ORKA_SSH_KEY_FILE` - The private SSH key contents to use when connecting to the VM. This key was created earlier during the Orka base image setup.
68
-
-`CUSTOM_ENV_VM_DEPLOYMENT_ATTEMPTS` - The number of attempts the executor tries to deploy a VM before it fails. Defaults to `1`. Note - GitLab automatically retries 3 times. This env var allows additional retry attempts.
62
+
-`ORKA_TOKEN` - User authentication to connect to the Orka environment. Created by running `orka3 user get-token` or `orka3 serviceaccount token <service-account>`.
63
+
-`ORKA_ENDPOINT` - The Orka endpoint. Usually, it is `http://10.221.188.20`.
64
+
-`ORKA_CONFIG_NAME` - The name of the VM config to be deployed.
65
+
-`ORKA_VM_NAME_PREFIX` - The prefix of the generated VM name. Defaults to `gl-runner`.
66
+
-`ORKA_VM_USER` - User used to SSH to the VM. Defaults to `admin`.
67
+
-`ORKA_SSH_KEY_FILE` - The private SSH key contents to use when connecting to the VM. This key was created earlier during the Orka base image setup.
68
+
-`VM_DEPLOYMENT_ATTEMPTS` - The number of attempts the executor tries to deploy a VM before it fails. Defaults to `1`. Note - GitLab automatically retries 3 times. This env var allows additional retry attempts.
69
69
70
70
For more information about GitLab CI/CD environment variables, see [here][env-variables].
0 commit comments