Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Merge requests
!138
Add functionality to force no-cache build in CI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add functionality to force no-cache build in CI
cherry-pick-b9e33a7f
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Sylvester Joosten
requested to merge
cherry-pick-b9e33a7f
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
(cherry picked from commit
b9e33a7f
)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
44c41873
1 commit,
3 years ago
1 file
+
8
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
8
−
0
Options
@@ -30,6 +30,9 @@ variables:
@@ -30,6 +30,9 @@ variables:
## is this nightly or not?
## is this nightly or not?
NIGHTLY
:
0
NIGHTLY
:
0
## Force a rebuild without using cache
FORCE_NOCACHE
:
0
stages
:
stages
:
-
config
-
config
-
build:base
## base OS image
-
build:base
## base OS image
@@ -191,6 +194,11 @@ jug_dev:default:
@@ -191,6 +194,11 @@ jug_dev:default:
## move spacke directory and spack.yaml into the container build directory
## move spacke directory and spack.yaml into the container build directory
-
cp -r spack containers/jug
-
cp -r spack containers/jug
-
cp -r spack.yaml containers/jug/spack/spack.yaml
-
cp -r spack.yaml containers/jug/spack/spack.yaml
-
|
if [ $FORCE_NOCACHE = 1 ]; then
echo "FORCE_NOCACHE set"
export PACKAGE_HASH=`date +%s`
fi
## Optionally build the raw builder image
## Optionally build the raw builder image
-
test ${EXPORT_BUILDER} = 1 && docker build
-
test ${EXPORT_BUILDER} = 1 && docker build
-t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:builder-${INTERNAL_TAG}
-t ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:builder-${INTERNAL_TAG}
Loading