Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed Aug 21, 2024
1 parent ca14781 commit 4769d72
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions ci/cscs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stages:
- export PERSIST_IMAGE_NAME=$PERSIST_IMAGE_NAME:$DOCKER_TAG
- echo "BASE_IMAGE=$PERSIST_IMAGE_NAME" > build.env

build slurm base:
.build slurm base:
timeout: 10h
variables:
CSCS_NOTIFICATION_CONTEXT: "$slurm_version"
Expand All @@ -27,14 +27,13 @@ build slurm base:

build slurm base x86_64:
stage: baseimage x86_64
extends: ['build slurm base', .container-builder-cscs-zen2, .my-dynamic-image-name ]
extends: ['.build slurm base', .container-builder-cscs-zen2, .my-dynamic-image-name ]

build slurm base aarch64:
stage: baseimage aarch64
extends: ['build slurm base', .container-builder-cscs-gh200, .my-dynamic-image-name ]
extends: ['.build slurm base', .container-builder-cscs-gh200, .my-dynamic-image-name ]

build:
needs: ["build slurm base"]
.build:
variables:
CSCS_REBUILD_POLICY: always
CSCS_NOTIFICATION_CONTEXT: "$slurm_version"
Expand All @@ -43,16 +42,17 @@ build:
PERSIST_IMAGE_NAME: $CSCS_REGISTRY_PATH/base/public/slurm-uenv-mount

build x86_64:
needs: ["build slurm base x86_64"]
stage: build x86_64
extends: [build, .container-builder-cscs-zen2]
extends: [.build, .container-builder-cscs-zen2]

build aarch64:
needs: ["build slurm base aarch64"]
stage: build aarch64
extends: [build, .container-builder-cscs-gh200]
extends: [.build, .container-builder-cscs-gh200]


build rpm:
needs: ["build"]
.build rpm:
image: $CSCS_REGISTRY_PATH/base/public/slurm-uenv-mount
script:
- |
Expand All @@ -61,9 +61,11 @@ build rpm:
CXX=g++-12 CC=gcc-12 /src/rpm/make-rpm.sh --slurm-version "${slurm_version}" ${_rpm_build_dir}
build rpm x86_64:
needs: ["build x86_64"]
stage: build rpm x86_64
extends: ['build rpm', .container-runner-eiger-mc]
extends: ['.build rpm', .container-runner-eiger-mc]

build rpm aarch64:
needs: ["build aarch64"]
stage: build rpm aarch64
extends: ['build rpm', .container-runner-todi-gh200]
extends: ['.build rpm', .container-runner-todi-gh200]

0 comments on commit 4769d72

Please sign in to comment.