-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
30 lines (30 loc) · 1.31 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: gcr.io/google.com/cloudsdktool/cloud-sdk:alpine
before_script:
- gcloud auth activate-service-account --key-file $GCLOUD_SERVICE_KEY_FILE_OPEN_SOURCE
- gcloud config set project $GCP_PROJECT_OPEN_SOURCE
stages:
- deploy
deploy-job:
stage: deploy
environment:
name: open-source
script:
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/translation
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/reporting
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/token-broker
# - gcloud builds submit .
- cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/cleanup
- gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/telemetry
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/authentication
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/detect-text
# - gcloud builds submit .
# - cd /builds/petranslate/TradEmploi-backend/translation-app-assessment/backend/pdf-to-image
# - gcloud builds submit .
only:
refs:
- master