-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (21 loc) · 934 Bytes
/
Makefile
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
.PHONY : package lint helmsman-plan helmsman-apply purge-worker purge-preview update-pipeline watch-jobs
lint:
helm lint charts/anya/
package:
helm package --destination dist charts/anya/
helm package --destination dist charts/deployment-template/
helm repo index dist/
gsutil cp -r dist/* gs://anya-deployment/charts/
helmsman-plan :
helmsman -f helmsman-config/setup.toml --verbose
helmsman-apply :
helmsman -f helmsman-config/setup.toml --apply
purge-worker :
kubectl delete pod,secret -n anya -l 'component in (job, build)'
purge-preview :
kubectl delete deployment,services,ingress -n preview --all
update-pipeline :
kubectl delete cm anya-brigade-pipeline -n anya
kubectl create cm anya-brigade-pipeline --from-file=charts/anya/files/brigade.js --from-file=charts/anya/files/brigade.json -n anya
watch-jobs :
watch -n 0,5 -t kubectl get pods -n anya -l component=job --field-selector=status.phase!=Succeeded