Skip to content
Snippets Groups Projects
Commit 89b1afb8 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Update .gitlab-ci.yml file

parent 471a6a13
No related branches found
No related tags found
2 merge requests!206create new experimental release,!202Update Spack version and build image/scripts
Pipeline #19699 canceled with stages
in 12 minutes and 23 seconds
......@@ -25,7 +25,8 @@ stages:
# the necessary files that define the environment that spack needs to build
- while true; do x=$(oc get pods |grep simplejob${CI_PIPELINE_ID}|awk '{ print $3}');if [ $x == "Running" ]; then break; fi; sleep 10; done
- pod=$(oc get pods |grep simplejob${CI_PIPELINE_ID}|awk '{ print $1}')
- oc rsync copy_folder $pod:/opt/app-root/src
- echo 'File transfer started...'
- oc rsync copy_folder $pod:/tmp
# when build job finishes get the logs
- while true; do sleep 300; x=$(oc get pods |grep $pod|awk '{ print $3}');if [ $x != "Running" ]; then break; fi; done
- oc logs jobs/simplejob${CI_PIPELINE_ID} | tee log.txt
......
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