-
Notifications
You must be signed in to change notification settings - Fork 246
/
nightly.yaml
52 lines (47 loc) · 1.47 KB
/
nightly.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Skaffold build for the nightly and prod deployments
apiVersion: skaffold/v2beta10
kind: Config
## Common YAML anchors
## The yaml anchors are used to make it easier to compose skaffold profiles.
## You should not need to edit this section
profiles:
# Deploy the apps (AM, IDM, etc.). Depends on the secrets and ds
# Before deploying ensure that ds is up and the service account passwords have been changed:
# kubectl get directoryservice/ds-idrepo -o yaml | grep serviceAccountPasswordsUpdatedTime
# skaffold -n prod -f nightly.yaml -p apps run
# Note: as of April 2021, these images are being built by cloudbuild. This is for reference only
- name: apps
build:
artifacts:
- image: us-docker.pkg.dev/forgeops-public/images/am
context: docker/am
kaniko: {}
- image: us-docker.pkg.dev/forgeops-public/images/idm
context: docker/idm
kaniko: {}
cluster: &cluster
namespace: kaniko
pullSecretName: kaniko-secret
pullSecretMountPath: /secrets/kaniko-secret
tagPolicy:
sha256: {}
deploy:
kustomize:
paths:
- kustomize/overlay/apps
# Run amster to import configuration
# This can be re-run at anaytime to import new dynamic configuration
# skaffold -n prod -f nightly.yaml -p amster run
- name: amster
build:
artifacts:
- image: amster
context: docker/amster
kaniko: {}
cluster: *cluster
tagPolicy:
sha256: {}
deploy:
kustomize:
paths:
- kustomize/base/amster