Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scitas-software-stacks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCITAS
Software stack
scitas-software-stacks
Commits
c8ae74b2
Commit
c8ae74b2
authored
7 months ago
by
Nicolas Richart
Browse files
Options
Downloads
Patches
Plain Diff
Moving CI to new runners
parent
261f076b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#203960
failed
7 months ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+9
-3
9 additions, 3 deletions
.gitlab-ci.yml
ci/apptainer_by_hand.sh
+3
-3
3 additions, 3 deletions
ci/apptainer_by_hand.sh
ci/prepare_squashfs.sh
+2
-0
2 additions, 0 deletions
ci/prepare_squashfs.sh
with
14 additions
and
6 deletions
.gitlab-ci.yml
+
9
−
3
View file @
c8ae74b2
...
...
@@ -18,8 +18,7 @@ workflow:
variables
:
TERM
:
ansi
CI_DATA_LT
:
"
/work/scitas-ge/richart/ci"
CI_DATA_ST
:
"
/scratch/richart/ci"
CI_DATA_LT
:
"
/work/scitas-ge/$(id
-un)/ci"
.parallel_definition
:
parallel
:
...
...
@@ -29,23 +28,28 @@ variables:
# stack: ["pinot-noir"]
# app_image: ["registry.c4science.ch/scitas-stack/rhel9-kuma"]
# - environment: [izar]
# path_suffix: ''
# slurm_options: ['-c 40 --gpus 2']
# apptainer_options: ['-nv']
# stack: ["pinot-noir"]
# path_suffix: 'izar/'
# - environment: [jed]
# slurm_options: ["-c 72 -p jed -q jed"]
# stack: ["pinot-noir"]
# app_image: ["registry.c4science.ch/scitas-stack/rhel9-kuma"]
# path_suffix: ''
-
environment
:
[
kuma-h100
]
slurm_options
:
[
"
-c
64"
]
stack
:
[
"
pinot-noir"
]
apptainer_options
:
[
'
--nv'
]
app_image
:
[
"
registry.c4science.ch/scitas-stack/rhel9-kuma"
]
path_suffix
:
'
'
-
environment
:
[
kuma-l40s
]
slurm_options
:
[
"
-c
64"
]
stack
:
[
"
pinot-noir"
]
apptainer_options
:
[
'
--nv'
]
app_image
:
[
"
registry.c4science.ch/scitas-stack/rhel9-kuma"
]
path_suffix
:
'
'
tags
:
-
${environment}
-
stack
...
...
@@ -71,8 +75,9 @@ variables:
-
.parallel_definition
-
.squashfs_var
variables
:
CI_DATA_ST
:
"
/scratch/${path_suffix}$(id
-un)/ci"
MOUNT_POINT
:
$(jq -Mrc .stack.mount_point ${CI_PROJECT_DIR}/stacks/${stack}/config.json)
FAKEHOME
:
"
/scratch/$(id
-un)
"
FAKEHOME
:
"
${CI_DATA_ST}/homes
"
COMMAND_OPTIONS_SBATCH
:
${slurm_options}
STACK_VERSION
:
$(jq -Mrc .stack.version ${CI_PROJECT_DIR}/stacks/${stack}/config.json)
image_name
:
${stack}-${environment}-${SQUASHFS_ID}-${CI_PIPELINE_ID}
...
...
@@ -94,6 +99,7 @@ variables:
spack:checkout
:
stage
:
.pre
variables
:
CI_DATA_ST
:
"
/scratch/${path_suffix}scitas-stack/ci"
APPTAINER_EXEC_OPTIONS
:
>-
--cleanenv
--bind ${CI_DATA_LT}
...
...
This diff is collapsed.
Click to expand it.
ci/apptainer_by_hand.sh
+
3
−
3
View file @
c8ae74b2
#!/usr/bin/env sh
export
CI_DATA_LT
=
"/work/scitas-ge/
richart
/ci"
export
CI_DATA_ST
=
"/scratch/
richart
/ci"
export
CI_DATA_LT
=
"/work/scitas-ge/
/
$(
id
-un
)
/ci"
export
CI_DATA_ST
=
"/scratch/
/
$(
id
-un
)
/ci"
srun_options
=
"-N1 -n1 -c 64 -p h100"
apptainer_options
=
"--nv"
...
...
@@ -11,7 +11,7 @@ export environment=kuma-h100
export
SQUASHFS_ID
=
local
export
CI_PIPELINE_ID
=
1337
export
FAKEHOME
=
"
/scratch/
$(
id
-un
)
"
export
FAKEHOME
=
"
${
CI_DATA_ST
}
/homes
"
export
CI_PROJECT_DIR
=
$PWD
export
GPG_PRIVATE_KEY
=
${
CI_PROJECT_DIR
}
/stacks/buildcache.pem
...
...
This diff is collapsed.
Click to expand it.
ci/prepare_squashfs.sh
+
2
−
0
View file @
c8ae74b2
...
...
@@ -5,6 +5,8 @@ set -o nounset
set
-o
errexit
source
${
CI_PROJECT_DIR
}
/ci/stack_env.sh
mkdir
${
CI_DATA_ST
}
/homes
for
i
in
squashfs-cache buildcache spack-mirror
do
if
[
!
-e
${
CI_DATA_LT
}
/
$i
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment