From 25a479a05596adb58085a6e6afbe15ece6ab3be6 Mon Sep 17 00:00:00 2001 From: Athanasios Karmas <karmas@athenarc.gr> Date: Thu, 9 Sep 2021 13:24:07 +0000 Subject: [PATCH] Add resource-group semaphore to force pipelines to run one after the other to avoid race conditions on the NFS mount --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14583517..041d363d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,6 +38,7 @@ deploy-build-environment: - if [ $(cat log.txt |grep "Error:"|wc -l) -gt 0 ]; then exit 1;fi; # delete the job from OpenShift as we have the logs here - oc delete job simplejob${CI_PIPELINE_ID} || true + resource_group: shared-NFS-mount tags: - shell-runner -- GitLab