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
e66b58d0
Commit
e66b58d0
authored
8 months ago
by
Nicolas Richart
Browse files
Options
Downloads
Patches
Plain Diff
Adding cleaning test
parent
b8012829
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+15
-0
15 additions, 0 deletions
.gitlab-ci.yml
ci/cleaning_fs.sh
+14
-0
14 additions, 0 deletions
ci/cleaning_fs.sh
with
30 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
e66b58d0
...
...
@@ -2,6 +2,7 @@
.idea
*.log
spack_*.json
spack-*.json
tmp/
.spack-env
compiler_definitions.yaml
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
15
−
0
View file @
e66b58d0
...
...
@@ -136,8 +136,10 @@ spack:install_compilers:
-
.parallel_job
script
:
-
ci/install_compilers.sh
-
source ci/stack_env.sh
-
${STACK_LOCATION}/spack/bin/spack --color always -e ${environment} config blame compilers
-
${CI_PROJECT_DIR}/ci/update_squashfs.sh
artifacts
:
reports
:
...
...
@@ -195,3 +197,16 @@ spack:mksquashfs:
timeout
:
1h
rules
:
-
if
:
$CI_COMMIT_TAG && $CI_COMMIT_TAG =~ /v[0-9]+.*/
post_cleaning
:
stage
:
.post
variables
:
APPTAINER_EXEC_OPTIONS
:
>-
--cleanenv
--bind ${CI_DATA_LT}
--bind ${CI_DATA_ST}
--bind ${CI_DATA_LT}
extends
:
-
.parallel_definition
scripts
:
-
./ci/cleaning_fs.sh
This diff is collapsed.
Click to expand it.
ci/cleaning_fs.sh
0 → 100755
+
14
−
0
View file @
e66b58d0
#!/usr/bin/env sh
set
-o
errexit
set
-o
pipefail
set
-o
nounset
for
i
in
$(
ls
-1d
${
CI_DATA_ST
}
/overlayfs/
*
-
${
environment
}
-
${
stack
}
-
${
SQUASHFS_ID
}
-
*
)
do
id
=
$(
echo
$i
|
sed
-e
"s/.*-
\(
[0-9]
\+\)\(
-[a-z0-9]
\+\)\?
/
\1
/"
)
if
[
$id
-le
${
CI_PIPELINE_ID
}
]
then
echo
"Cleaning
$i
"
fi
done
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