Commit 8f9d808b authored by Enrique Garcia's avatar Enrique Garcia
Browse files

updatede CI with singularity

parent 3b135765
Pipeline #147579 passed with stages
in 6 minutes and 58 seconds
...@@ -49,12 +49,13 @@ build_singularity_image: ...@@ -49,12 +49,13 @@ build_singularity_image:
- export IMAGE_NAME=$CI_PROJECT_NAME - export IMAGE_NAME=$CI_PROJECT_NAME
- singularity build $IMAGE_NAME.simg Singularity/Singularity - singularity build $IMAGE_NAME.simg Singularity/Singularity
- mkdir -p build && cp Singularity/*.simg build - mkdir -p singularity_build && cp *.simg singularity_build
- mkdir -p build && cp Singularity/Singularity* build - mkdir -p singularity_build && cp Singularity/Singularity singularity_build
- ls singularity_build
artifacts: artifacts:
paths: paths:
- build/Singularity.simg - singularity_build/Singularity.simg
- build/Singularity - singularity_build/Singularity
only: only:
- branches - branches
...@@ -98,6 +99,7 @@ deploy_zenodo: ...@@ -98,6 +99,7 @@ deploy_zenodo:
script: script:
- gitlab_prepare_upload_zenodo.sh $CI_PROJECT_NAME $CI_PROJECT_DIR zenodo_build - gitlab_prepare_upload_zenodo.sh $CI_PROJECT_NAME $CI_PROJECT_DIR zenodo_build
- cp /docker_build/* zenodo_build - cp /docker_build/* zenodo_build
- cp /singularity_build/* zenodo_build
- ls zenodo_build - ls zenodo_build
- eossr-upload-repository -t $ZENODO_TOKEN -s False -i zenodo_build -id $ZENODO_RECORD_ID - eossr-upload-repository -t $ZENODO_TOKEN -s False -i zenodo_build -id $ZENODO_RECORD_ID
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment