forked from ti-community-infra/tichi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prow.yaml
44 lines (44 loc) · 1.3 KB
/
.prow.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
presubmits:
- name: pull-ti-community-prow-validate-prow-yaml
decorate: true
run_if_changed: 'configs/prow-dev/'
branches:
- ^master$
spec:
containers:
- image: gcr.io/k8s-prow/checkconfig:v20201204-d90be1ef6b
command:
- /checkconfig
args:
- --plugin-config=configs/prow-dev/config/plugins.yaml
- --config-path=configs/prow-dev/config/config.yaml
- --warnings=validate-urls
- --warnings=unknown-fields
- --warnings=duplicate-job-refs
postsubmits:
- name: post-ti-community-prow-deploy-prow
run_if_changed: 'configs/prow-dev/cluster/'
decorate: true
branches:
- ^master$
max_concurrency: 1
spec:
containers:
- image: google/cloud-sdk:319.0.0
command:
- scripts/deploy.sh
args:
- --confirm
- --config=trusted
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /creds/service-account.json
volumeMounts:
- name: creds
mountPath: /creds
volumes:
- name: creds
secret:
secretName: deployer-credentials
annotations:
description: deploys the configured version of prow by running scripts/deploy.sh