Skip to content
Snippets Groups Projects

gitlab_runner: Add VM based executor (libvirt-executor)

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:custom-executor into master
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -123,7 +123,7 @@ run() {
vm_name="$(get_vm_name)"
wait_for_ssh "${vm_name}"
# Upstream issue: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28189
if [[ "${2}" == 'upload_artifacts_'* ]]; then
if [[ "${2}" == *'_artifacts'* ]]; then
ssh 'TMPDIR=/var/tmp bash' < "${1}" || exit "${BUILD_FAILURE_EXIT_CODE:-1}"
else
ssh bash < "${1}" || exit "${BUILD_FAILURE_EXIT_CODE:-1}"
Loading