Skip to content
Snippets Groups Projects
Commit 2f49cdc5 authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'GONRG-1749_pipeline' into 'master'

GONRG-1749 add manual button in pipeline for stage: deploy

See merge request !21
parents ab09bc55 19d17f8a
No related branches found
No related tags found
1 merge request!21GONRG-1749 add manual button in pipeline for stage: deploy
Pipeline #27869 passed
......@@ -71,8 +71,21 @@ osdu-gcp-deploy:
- gsutil -m rsync -x "dags/providers*" -d -R dags $OSDU_GCP_DEPL_TARGET/dags/ingestion
- gsutil -m rsync -d -R dags/providers $OSDU_GCP_DEPL_TARGET/dags/providers
- gsutil -m rsync -R plugins $OSDU_GCP_DEPL_TARGET/plugins
only:
variables:
- $OSDU_GCP == 'true'
except:
- /^release\/*/
when: manual
osdu-gcp-deploy-pre-prod:
stage: deploy
script:
- gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE
- cd src
- gsutil -m rsync -x "dags/libs*" -d -R dags $OSDU_GCP_DEPL_TARGET_PREPROD/dags/ingestion
- gsutil -m rsync -d -R dags/libs $OSDU_GCP_DEPL_TARGET_PREPROD/dags/libs
- gsutil -m rsync -x "dags/providers*" -d -R dags $OSDU_GCP_DEPL_TARGET_PREPROD/dags/ingestion
- gsutil -m rsync -d -R dags/providers $OSDU_GCP_DEPL_TARGET_PREPROD/dags/providers
- gsutil -m rsync -R plugins $OSDU_GCP_DEPL_TARGET_PREPROD/plugins
only:
- /^release\/*/
when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment