Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed Aug 17, 2024
1 parent 1cf0cfb commit 326b64d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
13 changes: 11 additions & 2 deletions ci/cscs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include:

stages:
- baseimage
- buildtest
- build

.my-dynamic-image-name:
extends: [.dynamic-image-name]
Expand All @@ -26,10 +26,19 @@ build slurm base:
build:
extends: [.container-builder-cscs-zen2]
needs: ["build slurm base"]
stage: buildtest
stage: build
variables:
CSCS_REBUILD_POLICY: always
CSCS_NOTIFICATION_CONTEXT: "$slurm_version"
DOCKERFILE: ci/slurm_docker/Dockerfile
DOCKER_BUILD_ARGS: '["BASE_IMAGE=${BASE_IMAGE}"]'
PERSIST_IMAGE_NAME: $CSCS_REGISTRY_PATH/base/public/slurm-uenv-mount


# # initialization
# /entrypoint.sh
# sinfo
# echo "Run tests in bash-bats"
# su testuser -c bash <<\EOF
# bats ci/tests
# EOF
5 changes: 4 additions & 1 deletion ci/slurm_docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ FROM $BASE_IMAGE

COPY . /src
WORKDIR /src
RUN ./ci/slurm_docker/install_and_test.sh

RUN CXX=g++-12 CC=gcc-12 meson setup builddir \
&& meson install -C builddir \
&& echo "required /usr/local/lib64/libslurm-uenv-mount.so" > /etc/slurm/plugstack.conf
12 changes: 0 additions & 12 deletions ci/slurm_docker/install_and_test.sh

This file was deleted.

0 comments on commit 326b64d

Please sign in to comment.