Skip to content
Snippets Groups Projects

Correcting ci for deployment

Merged Nicolas Richart requested to merge correcting-ci-for-deployment into main
1 file
+ 6
4
Compare changes
  • Side-by-side
  • Inline
+ 6
4
@@ -57,7 +57,6 @@ variables:
@@ -57,7 +57,6 @@ variables:
app_image: ["registry.c4science.ch/scitas-stack/rhel9-kuma"]
app_image: ["registry.c4science.ch/scitas-stack/rhel9-kuma"]
path_suffix: ['']
path_suffix: ['']
tags:
tags:
- ${environment}
- stack
- stack
rules:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
@@ -86,6 +85,8 @@ variables:
@@ -86,6 +85,8 @@ variables:
.parallel_job:
.parallel_job:
extends:
extends:
- .parallel_definition
- .parallel_definition
 
tags:
 
- ${environment}
variables:
variables:
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: >-
@@ -111,6 +112,8 @@ spack:checkout:
@@ -111,6 +112,8 @@ spack:checkout:
--bind ${CI_DATA_ST}
--bind ${CI_DATA_ST}
extends:
extends:
- .parallel_definition
- .parallel_definition
 
tags:
 
- ${environment}
before_script:
before_script:
- git config --global --add --bool advice.detachedHead false
- git config --global --add --bool advice.detachedHead false
script:
script:
@@ -184,10 +187,10 @@ spack:install:
@@ -184,10 +187,10 @@ spack:install:
spack:deploy:
spack:deploy:
stage: deploy
stage: deploy
tags:
- scitasbuild
extends:
extends:
- .parallel_definition
- .parallel_definition
 
tags:
 
- scitasbuild
variables:
variables:
image_name: ${stack}-${environment}-${SQUASHFS_ID}
image_name: ${stack}-${environment}-${SQUASHFS_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)
@@ -230,7 +233,6 @@ post_cleaning:
@@ -230,7 +233,6 @@ post_cleaning:
--cleanenv
--cleanenv
--bind ${CI_DATA_LT}
--bind ${CI_DATA_LT}
--bind ${CI_DATA_ST}
--bind ${CI_DATA_ST}
--bind ${CI_DATA_LT}
extends:
extends:
- .parallel_definition
- .parallel_definition
script:
script:
Loading