Skip to content

Commit 27cd3a2

Browse files
authored
fix .prow.yaml format
1 parent 65f9254 commit 27cd3a2

File tree

1 file changed

+158
-158
lines changed

1 file changed

+158
-158
lines changed

.prow.yaml

Lines changed: 158 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -1,185 +1,185 @@
11
presubmits:
2-
- name: test-core-and-ingestion
3-
decorate: true
4-
spec:
5-
containers:
6-
- image: maven:3.6-jdk-11
2+
- name: test-core-and-ingestion
3+
decorate: true
4+
spec:
5+
containers:
6+
- image: maven:3.6-jdk-11
7+
command: ["infra/scripts/test-core-ingestion.sh"]
8+
resources:
9+
requests:
10+
cpu: "2000m"
11+
memory: "1536Mi"
12+
skip_branches:
13+
- ^v0\.(3|4)-branch$
14+
15+
- name: test-core-and-ingestion-java-8
16+
decorate: true
17+
always_run: true
18+
spec:
19+
containers:
20+
- image: maven:3.6-jdk-8
721
command: ["infra/scripts/test-core-ingestion.sh"]
822
resources:
923
requests:
1024
cpu: "2000m"
1125
memory: "1536Mi"
12-
skip_branches:
13-
- ^v0\.(3|4)-branch$
26+
branches:
27+
- ^v0\.(3|4)-branch$
1428

15-
- name: test-core-and-ingestion-java-8
16-
decorate: true
17-
always_run: true
18-
spec:
19-
containers:
20-
- image: maven:3.6-jdk-8
21-
command: ["infra/scripts/test-core-ingestion.sh"]
22-
resources:
23-
requests:
24-
cpu: "2000m"
25-
memory: "1536Mi"
26-
branches:
27-
- ^v0\.(3|4)-branch$
29+
- name: test-serving
30+
decorate: true
31+
spec:
32+
containers:
33+
- image: maven:3.6-jdk-11
34+
command: ["infra/scripts/test-serving.sh"]
35+
skip_branches:
36+
- ^v0\.(3|4)-branch$
2837

29-
- name: test-serving
30-
decorate: true
31-
spec:
32-
containers:
33-
- image: maven:3.6-jdk-11
38+
- name: test-serving-java-8
39+
decorate: true
40+
always_run: true
41+
spec:
42+
containers:
43+
- image: maven:3.6-jdk-8
3444
command: ["infra/scripts/test-serving.sh"]
35-
skip_branches:
36-
- ^v0\.(3|4)-branch$
45+
branches:
46+
- ^v0\.(3|4)-branch$
3747

38-
- name: test-serving-java-8
39-
decorate: true
40-
always_run: true
41-
spec:
42-
containers:
43-
- image: maven:3.6-jdk-8
44-
command: ["infra/scripts/test-serving.sh"]
45-
branches:
46-
- ^v0\.(3|4)-branch$
48+
- name: test-java-sdk
49+
decorate: true
50+
spec:
51+
containers:
52+
- image: maven:3.6-jdk-11
53+
command: ["infra/scripts/test-java-sdk.sh"]
54+
skip_branches:
55+
- ^v0\.(3|4)-branch$
4756

48-
- name: test-java-sdk
49-
decorate: true
50-
spec:
51-
containers:
52-
- image: maven:3.6-jdk-11
57+
- name: test-java-sdk-java-8
58+
decorate: true
59+
always_run: true
60+
spec:
61+
containers:
62+
- image: maven:3.6-jdk-8
5363
command: ["infra/scripts/test-java-sdk.sh"]
54-
skip_branches:
55-
- ^v0\.(3|4)-branch$
56-
57-
- name: test-java-sdk-java-8
58-
decorate: true
59-
always_run: true
60-
spec:
61-
containers:
62-
- image: maven:3.6-jdk-8
63-
command: ["infra/scripts/test-java-sdk.sh"]
64-
branches:
65-
- ^v0\.(3|4)-branch$
64+
branches:
65+
- ^v0\.(3|4)-branch$
6666

67-
- name: test-python-sdk
68-
decorate: true
69-
spec:
70-
containers:
71-
- image: python:3.7
72-
command: ["infra/scripts/test-python-sdk.sh"]
67+
- name: test-python-sdk
68+
decorate: true
69+
spec:
70+
containers:
71+
- image: python:3.7
72+
command: ["infra/scripts/test-python-sdk.sh"]
7373

74-
- name: test-telemetry
75-
decorate: true
76-
run_if_changed: "sdk/python/.*"
77-
spec:
78-
containers:
79-
- image: python:3.7
80-
command: ["infra/scripts/test-telemetry.sh"]
81-
env:
82-
- name: GOOGLE_APPLICATION_CREDENTIALS
83-
value: /etc/gcloud/service-account.json
84-
volumeMounts:
85-
- mountPath: /etc/gcloud/service-account.json
86-
name: service-account
87-
readOnly: true
88-
subPath: service-account.json
89-
volumes:
90-
- name: service-account
91-
secret:
92-
secretName: feast-service-account
74+
- name: test-telemetry
75+
decorate: true
76+
run_if_changed: "sdk/python/.*"
77+
spec:
78+
containers:
79+
- image: python:3.7
80+
command: ["infra/scripts/test-telemetry.sh"]
81+
env:
82+
- name: GOOGLE_APPLICATION_CREDENTIALS
83+
value: /etc/gcloud/service-account.json
84+
volumeMounts:
85+
- mountPath: /etc/gcloud/service-account.json
86+
name: service-account
87+
readOnly: true
88+
subPath: service-account.json
89+
volumes:
90+
- name: service-account
91+
secret:
92+
secretName: feast-service-account
9393

94-
- name: test-golang-sdk
95-
decorate: true
96-
spec:
97-
containers:
98-
- image: golang:1.13
99-
command: ["infra/scripts/test-golang-sdk.sh"]
94+
- name: test-golang-sdk
95+
decorate: true
96+
spec:
97+
containers:
98+
- image: golang:1.13
99+
command: ["infra/scripts/test-golang-sdk.sh"]
100100

101101
postsubmits:
102-
- name: publish-python-sdk
103-
decorate: true
104-
spec:
105-
containers:
106-
- image: python:3
107-
command:
108-
- sh
109-
- -c
110-
- |
111-
make compile-protos-python && infra/scripts/publish-python-sdk.sh \
112-
--directory-path sdk/python --repository pypi
113-
volumeMounts:
114-
- name: pypirc
115-
mountPath: /root/.pypirc
116-
subPath: .pypirc
117-
readOnly: true
118-
volumes:
102+
- name: publish-python-sdk
103+
decorate: true
104+
spec:
105+
containers:
106+
- image: python:3
107+
command:
108+
- sh
109+
- -c
110+
- |
111+
make compile-protos-python && infra/scripts/publish-python-sdk.sh \
112+
--directory-path sdk/python --repository pypi
113+
volumeMounts:
119114
- name: pypirc
120-
secret:
121-
secretName: pypirc
122-
branches:
123-
# Filter on tags with semantic versioning, prefixed with "v"
124-
# https://github.com/semver/semver/issues/232
125-
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
115+
mountPath: /root/.pypirc
116+
subPath: .pypirc
117+
readOnly: true
118+
volumes:
119+
- name: pypirc
120+
secret:
121+
secretName: pypirc
122+
branches:
123+
# Filter on tags with semantic versioning, prefixed with "v"
124+
# https://github.com/semver/semver/issues/232
125+
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
126126

127-
- name: publish-java-sdk
128-
decorate: true
129-
spec:
130-
containers:
131-
- image: maven:3.6-jdk-11
127+
- name: publish-java-sdk
128+
decorate: true
129+
spec:
130+
containers:
131+
- image: maven:3.6-jdk-11
132+
command:
133+
- bash
134+
- -c
135+
- infra/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
136+
volumeMounts:
137+
- name: gpg-keys
138+
mountPath: /etc/gpg
139+
readOnly: true
140+
- name: maven-settings
141+
mountPath: /root/.m2/settings.xml
142+
subPath: settings.xml
143+
readOnly: true
144+
volumes:
145+
- name: gpg-keys
146+
secret:
147+
secretName: gpg-keys
148+
- name: maven-settings
149+
secret:
150+
secretName: maven-settings
151+
skip_branches:
152+
# Skip version 0.3 and 0.4
153+
- ^v0\.(3|4)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
154+
155+
branches:
156+
# Filter on tags with semantic versioning, prefixed with "v".
157+
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
158+
159+
- name: publish-java-8-sdk
160+
decorate: true
161+
spec:
162+
containers:
163+
- image: maven:3.6-jdk-8
132164
command:
133-
- bash
134-
- -c
135-
- infra/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
165+
- bash
166+
- -c
167+
- infra/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
136168
volumeMounts:
137-
- name: gpg-keys
138-
mountPath: /etc/gpg
139-
readOnly: true
140-
- name: maven-settings
141-
mountPath: /root/.m2/settings.xml
142-
subPath: settings.xml
143-
readOnly: true
144-
volumes:
169+
- name: gpg-keys
170+
mountPath: /etc/gpg
171+
readOnly: true
172+
- name: maven-settings
173+
mountPath: /root/.m2/settings.xml
174+
subPath: settings.xml
175+
readOnly: true
176+
volumes:
145177
- name: gpg-keys
146178
secret:
147179
secretName: gpg-keys
148180
- name: maven-settings
149181
secret:
150182
secretName: maven-settings
151-
skip_branches:
152-
# Skip version 0.3 and 0.4
153-
- ^v0\.(3|4)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
154-
155-
branches:
156-
# Filter on tags with semantic versioning, prefixed with "v".
157-
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
158-
159-
- name: publish-java-8-sdk
160-
decorate: true
161-
spec:
162-
containers:
163-
- image: maven:3.6-jdk-8
164-
command:
165-
- bash
166-
- -c
167-
- infra/scripts/publish-java-sdk.sh --revision ${PULL_BASE_REF:1}
168-
volumeMounts:
169-
- name: gpg-keys
170-
mountPath: /etc/gpg
171-
readOnly: true
172-
- name: maven-settings
173-
mountPath: /root/.m2/settings.xml
174-
subPath: settings.xml
175-
readOnly: true
176-
volumes:
177-
- name: gpg-keys
178-
secret:
179-
secretName: gpg-keys
180-
- name: maven-settings
181-
secret:
182-
secretName: maven-settings
183-
branches:
184-
# Filter on tags with semantic versioning, prefixed with "v". v0.3 and v0.4 only.
185-
- ^v0\.(3|4)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$
183+
branches:
184+
# Filter on tags with semantic versioning, prefixed with "v". v0.3 and v0.4 only.
185+
- ^v0\.(3|4)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$

0 commit comments

Comments
 (0)