Skip to content
Snippets Groups Projects
Verified Commit 2168c3a6 authored by Dominik Rimpf's avatar Dominik Rimpf :chipmunk:
Browse files

fix: only run one job at a time per branch

parent bd4d5efa
No related branches found
No related tags found
No related merge requests found
Pipeline #276472 passed
......@@ -34,6 +34,7 @@ stages:
build:
stage: build
resource_group: ${CI_COMMIT_BRANCH} # this prevents parallel (potentially racy) pipeline runs
script:
- mkdir -p latest
- "(curl -LsS --header 'PRIVATE-TOKEN: ${CI_JOB_TOKEN}' https://${CI_SERVER_HOST}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}/-/jobs/artifacts/${CI_COMMIT_BRANCH}/download?job=build | bsdtar -xf - -C latest) || true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment