Skip to content
Snippets Groups Projects
Commit 263a0d28 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Run jobs on phy over silicon where possible

parent 2de3e794
Branches
Tags
1 merge request!170Run jobs on phy over silicon where possible
...@@ -45,8 +45,6 @@ stages: ...@@ -45,8 +45,6 @@ stages:
- finalize - finalize
default: default:
tags:
- silicon
before_script: before_script:
- ./gitlab-ci/docker_login.sh -u $DH_REGISTRY -p $DH_EICWEB_TOKEN - ./gitlab-ci/docker_login.sh -u $DH_REGISTRY -p $DH_EICWEB_TOKEN
-n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME -n $DOCKER_NTRIES -t $DOCKER_WAIT_TIME
...@@ -148,6 +146,10 @@ version: ...@@ -148,6 +146,10 @@ version:
.build: .build:
rules: rules:
- when: on_success - when: on_success
resource_group: build
## Use docker runner for docker builds
tags:
- docker
## cookie-cutter docker push code, to be included at the ## cookie-cutter docker push code, to be included at the
## end of the regular job scripts ## end of the regular job scripts
script: script:
...@@ -166,8 +168,6 @@ version: ...@@ -166,8 +168,6 @@ version:
debian_base:default: debian_base:default:
extends: .build extends: .build
stage: build:base stage: build:base
interruptible: true
resource_group: build
needs: needs:
- version - version
variables: variables:
...@@ -180,8 +180,6 @@ debian_base:default: ...@@ -180,8 +180,6 @@ debian_base:default:
jug_dev:default: jug_dev:default:
extends: .build extends: .build
stage: build:dev stage: build:dev
interruptible: true
resource_group: build
needs: needs:
- version - version
- debian_base:default - debian_base:default
...@@ -230,7 +228,7 @@ jug_dev:default: ...@@ -230,7 +228,7 @@ jug_dev:default:
jug_xl:default: jug_xl:default:
extends: .build extends: .build
stage: build:release stage: build:release
interruptible: true resource_group: build
needs: needs:
- version - version
- jug_dev:default - jug_dev:default
...@@ -253,8 +251,6 @@ jug_xl:default: ...@@ -253,8 +251,6 @@ jug_xl:default:
jug_xl:nightly: jug_xl:nightly:
extends: .build extends: .build
stage: build:release stage: build:release
interruptible: true
resource_group: build
rules: rules:
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
when: on_success when: on_success
...@@ -289,7 +285,7 @@ jug_xl:nightly: ...@@ -289,7 +285,7 @@ jug_xl:nightly:
when: never when: never
- when: on_success - when: on_success
artifacts: artifacts:
expire_in: 2 days expire_in: 1 days
paths: paths:
- build/${BUILD_IMAGE}.sif - build/${BUILD_IMAGE}.sif
script: script:
...@@ -314,7 +310,7 @@ jug_xl:singularity:default: ...@@ -314,7 +310,7 @@ jug_xl:singularity:default:
jug_xl:singularity:nightly: jug_xl:singularity:nightly:
stage: deploy stage: deploy
interruptible: true extends: .singularity
needs: needs:
- version - version
- jug_xl:nightly - jug_xl:nightly
...@@ -324,10 +320,6 @@ jug_xl:singularity:nightly: ...@@ -324,10 +320,6 @@ jug_xl:singularity:nightly:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: on_success when: on_success
- when: never - when: never
artifacts:
expire_in: 1 days
paths:
- build/${BUILD_IMAGE}.sif
variables: variables:
BUILD_IMAGE: "jug_xl" BUILD_IMAGE: "jug_xl"
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment