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
Add a new environment variable to the GitLab CI executor to allow for additional VM deployment attempts.
GitLab automatically retries the prepare step 3 times. This env var allows additional retry attempts.
This would allow more flexibility for the user to configure the number of attempts.
Copy file name to clipboardExpand all lines: GitLab/custom-executor.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,7 @@ The provided scripts expect the following environment variables to be set:
65
65
-`CUSTOM_ENV_ORKA_VM_NAME_PREFIX` - The prefix of the generated VM name. Defaults to `gl-runner`.
66
66
-`CUSTOM_ENV_ORKA_VM_USER` - User used to SSH to the VM.
67
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.
68
69
69
70
For more information about GitLab CI/CD environment variables, see [here][env-variables].
0 commit comments