Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simc-file-input
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
Burcu Duran
simc-file-input
Commits
0e13cd33
You need to sign in or sign up before continuing.
Commit
0e13cd33
authored
6 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
cleaned up build script
parent
1ae2b36e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-20
8 additions, 20 deletions
.gitlab-ci.yml
with
8 additions
and
20 deletions
.gitlab-ci.yml
+
8
−
20
View file @
0e13cd33
...
...
@@ -2,28 +2,16 @@ image: eicweb.phy.anl.gov:4567/whit/image_recipes/root_base:latest
#image: whit2333/root_base:latest
#
singularity
-build
:
simc_
singularity
:
tags
:
-
singularity
script
:
#- docker login eicweb.phy.anl.gov:4567 -u whit -p ${CI_IMAGE_BUILD_PAT}
-
cp containers/singularity/Singularity .
-
cp containers/singularity/Singularity Singularity.simc
-
/bin/bash .gitlabci/setup.sh
-
/bin/bash .gitlabci/build.sh Singularity
-
mkdir -p build && cp *.simg build
-
mkdir -p build && cp Singularity* build
# Step 2. Take a look at "artifacts" below and add the paths you want added
# You can also add the entire build folder. You can also upload to storage
# clients defined by sregistry, here are some examples
# https://singularityhub.github.io/sregistry-cli/clients
# Environment variables must be defined in CI encrypted secrets/settings
# https://code.stanford.edu/help/ci/variables/README#variables).
#- /bin/bash build.sh --uri collection/container --cli google-storage Singularity
#- /bin/bash build.sh --uri collection/container --cli google-drive Singularity
#- /bin/bash build.sh --uri collection/container --cli globus Singularity
#- /bin/bash build.sh --uri collection/container --cli registry Singularity
-
/bin/bash .gitlabci/build.sh Singularity.simc
-
mkdir -p build
-
cp Singularity.simc.simg build/.
-
cp Singularity.simc build/.
# This is where you can save job artifacts
# https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html
...
...
@@ -31,5 +19,5 @@ singularity-build:
# Don't forget to save your recipes too!
artifacts
:
paths
:
-
build/Singularity.simg
-
build/Singularity
-
build/Singularity.
simc.
simg
-
build/Singularity
.simc
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