-
Notifications
You must be signed in to change notification settings - Fork 14
/
milano.staging.yml
32 lines (25 loc) · 1.1 KB
/
milano.staging.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
dependencies:
override: []
machine:
directory: playbook-website/
environment:
CLUSTER: app-beta-hq
deploy: &deploy
max_commits: # Automatically deploy all commits, no matter how many.
pre:
- ./bin/deployer bash -lc "cluster=${CLUSTER} environment=${ENVIRONMENT} tag=${REVISION} namespace=${GITHUB_REPO_NAME}-${ENVIRONMENT} deploy_url=${DEPLOY_URL} bin/pre_deploy"
override:
- ./bin/deployer bash -lc "cluster=${CLUSTER} environment=${ENVIRONMENT} tag=${REVISION} namespace=${GITHUB_REPO_NAME}-${ENVIRONMENT} 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-beta-*%22&earliest=-15m&latest=now"
metrics: "https://metrics.powerapp.cloud/d/s9c8D_K7k/pod-resource-usage?orgId=1&refresh=10s&var-datasource=prometheus-app-beta-hq&var-namespace=$ENVIRONMENT&var-filter=.%2B&var-pod=All"
ci:
require:
- powerhome/image
- continuous-integration/jenkins/branch
review:
checklist: []
status:
context: powerhome/deploy/staging