forked from gadiener/ci-templates
-
Notifications
You must be signed in to change notification settings - Fork 5
/
cloudrun-production.yml
35 lines (30 loc) · 1.03 KB
/
cloudrun-production.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
31
32
33
34
35
---
include:
- remote: "https://raw.githubusercontent.com/jobtome-labs/ci-templates/v3.37.2/docker.yml"
- remote: "https://raw.githubusercontent.com/jobtome-labs/ci-templates/v3.37.2/templates/cloudrun.yml"
deploy:production:
extends: .cloudrun:deploy
variables:
ENVIRONMENT: production
DOMAIN: ${DOMAIN_PRODUCTION}
GOOGLE_PROJECT: ${GOOGLE_PROJECT_PRODUCTION}
REGION: ${REGION_PRODUCTION}
GOOGLE_KEY: ${GOOGLE_KEY_PRODUCTION}
SERVICE_NAME: ${SERVICE_NAME_PRODUCTION}
PLATFORM: ${PLATFORM_PRODUCTION}
GAR_IMAGE: ${GAR_IMAGE_PRODUCTION}
IMAGE_TAG: ${CI_COMMIT_TAG}
SERVICE_ACCOUNT: ${SERVICE_ACCOUNT_PRODUCTION}
CONNECTIVITY: ${CONNECTIVITY_PRODUCTION}
TIMEOUT: ${TIMEOUT_PRODUCTION}
CONCURRENCY: ${CONCURRENCY_PRODUCTION}
CPU: ${CPU_PRODUCTION}
MEMORY: ${MEMORY_PRODUCTION}
MAX_INSTANCES: ${MAX_INSTANCES_PRODUCTION}
ENV_FILE_PATH: ${ENV_FILE_PATH_PRODUCTION}
SECRETS: ${SECRETS_PRODUCTION}
INGRESS: ${INGRESS_PRODUCTION}
only:
- /^v.+$/i
except:
- branches