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
Commits
ae71d68a
Commit
ae71d68a
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
streamlined config step
parent
c8a441cd
No related branches found
Branches containing commit
Tags
v0.13.3
Tags containing commit
1 merge request
!16
New feature version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+9
-6
9 additions, 6 deletions
.gitlab-ci.yml
containers/release/configure_release.sh
+6
-1
6 additions, 1 deletion
containers/release/configure_release.sh
with
15 additions
and
7 deletions
.gitlab-ci.yml
+
9
−
6
View file @
ae71d68a
...
@@ -92,24 +92,27 @@ builder:
...
@@ -92,24 +92,27 @@ builder:
-
echo "Creating builder image for ${BUILDER_TARGET}"
-
echo "Creating builder image for ${BUILDER_TARGET}"
-
make ${BUILDER_TARGET}
-
make ${BUILDER_TARGET}
.config
:
stage
:
config
script
:
-
bash containers/release/configure_release.sh ${BRANCH}
artifacts
:
paths
:
-
config
config:stable
:
config:stable
:
extends
:
.config
image
:
eicweb.phy.anl.gov:4567/containers/eic_container/eic_builder:latest
image
:
eicweb.phy.anl.gov:4567/containers/eic_container/eic_builder:latest
stage
:
config
only
:
only
:
-
tags
-
tags
-
master
-
master
script
:
-
bash containers/release/configure_release.sh latest
config:unstable
:
config:unstable
:
extends
:
.config
image
:
eicweb.phy.anl.gov:4567/containers/eic_container/eic_builder:unstable
image
:
eicweb.phy.anl.gov:4567/containers/eic_container/eic_builder:unstable
stage
:
config
rules
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"
&&
$CI_MERGE_REQUEST_SOURCE_BRANCH
!=
"develop"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"
&&
$CI_MERGE_REQUEST_SOURCE_BRANCH
!=
"develop"'
when
:
manual
when
:
manual
-
if
:
'
$CI_COMMIT_BRANCH
==
"develop"'
-
if
:
'
$CI_COMMIT_BRANCH
==
"develop"'
when
:
on_success
when
:
on_success
script
:
-
bash containers/release/configure_release.sh unstable
release
:
release
:
stage
:
slim
stage
:
slim
...
...
This diff is collapsed.
Click to expand it.
containers/release/configure_release.sh
+
6
−
1
View file @
ae71d68a
...
@@ -9,7 +9,12 @@ mkdir -p config
...
@@ -9,7 +9,12 @@ mkdir -p config
cp
/etc/profile.d/z10_spack_environment.sh config/spack-env.sh
cp
/etc/profile.d/z10_spack_environment.sh config/spack-env.sh
export
TAG
=
$1
export
BRANCH
=
$1
if
[
${
BRANCH
}
==
"release"
]
;
export
TAG
=
"latest"
else
export
TAG
=
"unstable"
fi
## Spack sets the man-path, which stops bash from using the default man-path
## Spack sets the man-path, which stops bash from using the default man-path
## We can fix this by appending a trailing colon to MANPATH
## We can fix this by appending a trailing colon to MANPATH
...
...
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