Skip to content
Snippets Groups Projects
Commit 0e13cd33 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

cleaned up build script

parent 1ae2b36e
Branches
No related tags found
No related merge requests found
Pipeline #1557 passed
...@@ -2,28 +2,16 @@ image: eicweb.phy.anl.gov:4567/whit/image_recipes/root_base:latest ...@@ -2,28 +2,16 @@ image: eicweb.phy.anl.gov:4567/whit/image_recipes/root_base:latest
#image: whit2333/root_base:latest #image: whit2333/root_base:latest
# #
singularity-build: simc_singularity:
tags: tags:
- singularity - singularity
script: script:
#- docker login eicweb.phy.anl.gov:4567 -u whit -p ${CI_IMAGE_BUILD_PAT} - cp containers/singularity/Singularity Singularity.simc
- cp containers/singularity/Singularity .
- /bin/bash .gitlabci/setup.sh - /bin/bash .gitlabci/setup.sh
- /bin/bash .gitlabci/build.sh Singularity - /bin/bash .gitlabci/build.sh Singularity.simc
- mkdir -p build
- mkdir -p build && cp *.simg build - cp Singularity.simc.simg build/.
- mkdir -p build && cp Singularity* build - cp Singularity.simc 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
# This is where you can save job artifacts # This is where you can save job artifacts
# https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html # https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html
...@@ -31,5 +19,5 @@ singularity-build: ...@@ -31,5 +19,5 @@ singularity-build:
# Don't forget to save your recipes too! # Don't forget to save your recipes too!
artifacts: artifacts:
paths: paths:
- build/Singularity.simg - build/Singularity.simc.simg
- build/Singularity - build/Singularity.simc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment