forked from powerhome/playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
milano.production.yml
30 lines (23 loc) · 1.07 KB
/
milano.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
dependencies:
override: []
machine:
directory: playbook-website/
deploy: &deploy
max_commits: # Automatically deploy all commits, no matter how many.
override:
- ./bin/deployer bash -lc "cluster=app-prod-hq environment=${ENVIRONMENT} tag=${REVISION} deploy_url=${DEPLOY_URL} bin/deploy"
rollback:
<<: *deploy
links:
logs: "https://splunk.powerapp.cloud/en-US/app/search/search?q=search%20k8s.namespace.name%3D%22$GITHUB_REPO_NAME-$ENVIRONMENT%22%20index%3D%22app-prod-*%22&earliest=-15m&latest=now"
metrics_hq: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&refresh=1m&var-datasource=prometheus-app-prod-hq&var-namespace=playbook-production&var-filter=.*&var-pod=All"
metrics_gotham: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&var-datasource=prometheus-app-prod-gm&var-namespace=playbook-production&var-filter=.*&var-pod=All&refresh=1m"
ci:
require:
- powerhome/image
- continuous-integration/jenkins/branch
- powerhome/deploy/staging
review:
checklist: []
status:
context: powerhome/deploy/production