Skip to content
Snippets Groups Projects
Commit c3bb15ef authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Cleaning ci script

parent f5c21169
No related branches found
No related tags found
1 merge request!5Adding nvhpc to kuma
...@@ -87,10 +87,6 @@ variables: ...@@ -87,10 +87,6 @@ variables:
extends: extends:
- .parallel_definition - .parallel_definition
variables: variables:
FAKEHOME: "${CI_DATA_ST}/homes"
MOUNT_POINT: $(jq -Mrc .stack.mount_point ${CI_PROJECT_DIR}/stacks/${stack}/config.json)
STACK_VERSION: $(jq -Mrc .stack.version ${CI_PROJECT_DIR}/stacks/${stack}/config.json)
image_name: ${stack}-${environment}-${SQUASHFS_ID}-${CI_PIPELINE_ID}
squashfs_image: $(ls -t1 ${CI_DATA_LT}/squashfs-cache/${image_name}*.sqfs 2> /dev/null | head -1) squashfs_image: $(ls -t1 ${CI_DATA_LT}/squashfs-cache/${image_name}*.sqfs 2> /dev/null | head -1)
APPTAINER_EXEC_OPTIONS: >- APPTAINER_EXEC_OPTIONS: >-
${apptainer_options} ${apptainer_options}
...@@ -191,6 +187,8 @@ spack:deploy: ...@@ -191,6 +187,8 @@ spack:deploy:
extends: extends:
- .parallel_definition - .parallel_definition
variables: variables:
image_name: ${stack}-${environment}-${SQUASHFS_ID}
squashfs_image: $(ls -t1 ${CI_DATA_LT}/squashfs-cache/${image_name}*.sqfs 2> /dev/null | head -1)
APPTAINER_EXEC_OPTIONS: >- APPTAINER_EXEC_OPTIONS: >-
--bind ${MOUNT_POINT} --bind ${MOUNT_POINT}
--fusemount "host:${CI_PROJECT_DIR}/ci/squashfuse_ll.sh ${CI_DATA_ST} ${image_name}-${CI_JOB_STAGE} ${squashfs_image} ${stack} /squashfs" --fusemount "host:${CI_PROJECT_DIR}/ci/squashfuse_ll.sh ${CI_DATA_ST} ${image_name}-${CI_JOB_STAGE} ${squashfs_image} ${stack} /squashfs"
......
...@@ -15,6 +15,11 @@ spack: ...@@ -15,6 +15,11 @@ spack:
- config_stack.yaml - config_stack.yaml
modules:
default:
lmod:
hierarchy: []
packages: packages:
blas: blas:
require: ['nvhpc +blas'] require: ['nvhpc +blas']
......
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