Skip to content
Snippets Groups Projects
Commit 672cc9be authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Update .gitlab-ci.yml

parent e2c732e9
No related branches found
No related tags found
No related merge requests found
......@@ -3,20 +3,20 @@ stages:
- deploy
variables:
OPENSHIFT_SERVER: https://okd-dev.hbp.eu
BUILD_ENV: int-build
deploy-artifacts:
stage: deploy
before_script:
- tar czvf binaryArtifacts.tar.gz ${CI_PROJECT_DIR}/jobs_scratch_dir/mirror/build_cache/*
- oc login "$OPENSHIFT_SERVER" --token="$OPENSHIFT_TOKEN"
script:
# create job description file
- chmod a+x create_job.sh
- ./create_job.sh $CAT_URL $CAT_ART_NAME $CAT_SRC_DIR $CAT_DEST_DIR
- ./create_job.sh $BUILD_ENV
- cat simplejob.yml
# select the project in openshift
- oc project jupyterhub-dev
- oc project jupyterhub-int
# delete the job (if exist)
- oc delete job simplejob || true
# start the deploy job
......
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