Skip to content

Commit 0dda15e

Browse files
committed
add prowjobs
On-behalf-of: @SAP [email protected]
1 parent 389df72 commit 0dda15e

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

.prow.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
presubmits:
2+
- name: pull-api-syncagent-verify
3+
always_run: true
4+
decorate: true
5+
clone_uri: "https://github.com/kcp-dev/api-syncagent"
6+
labels:
7+
preset-goproxy: "true"
8+
spec:
9+
containers:
10+
- image: ghcr.io/kcp-dev/infra/build:1.23.4-3
11+
command:
12+
- make
13+
- verify
14+
resources:
15+
requests:
16+
memory: 1Gi
17+
cpu: 1
18+
19+
- name: pull-api-syncagent-lint
20+
always_run: true
21+
decorate: true
22+
clone_uri: "https://github.com/kcp-dev/api-syncagent"
23+
labels:
24+
preset-goproxy: "true"
25+
spec:
26+
containers:
27+
- image: ghcr.io/kcp-dev/infra/build:1.23.4-3
28+
command:
29+
- make
30+
- lint
31+
resources:
32+
requests:
33+
memory: 4Gi
34+
cpu: 2
35+
36+
- name: pull-api-syncagent-build-image
37+
always_run: true
38+
decorate: true
39+
clone_uri: "https://github.com/kcp-dev/api-syncagent"
40+
labels:
41+
preset-goproxy: "true"
42+
spec:
43+
containers:
44+
- image: quay.io/containers/buildah:v1.30.0
45+
command:
46+
- hack/ci/build-image.sh
47+
env:
48+
- name: DRY_RUN
49+
value: '1'
50+
# docker-in-docker needs privileged mode
51+
securityContext:
52+
privileged: true
53+
resources:
54+
requests:
55+
memory: 1Gi
56+
cpu: 1
57+
58+
- name: pull-api-syncagent-test
59+
always_run: true
60+
decorate: true
61+
clone_uri: "https://github.com/kcp-dev/api-syncagent"
62+
labels:
63+
preset-goproxy: "true"
64+
spec:
65+
containers:
66+
- image: ghcr.io/kcp-dev/infra/build:1.23.4-3
67+
command:
68+
- make
69+
- test
70+
env:
71+
- name: USE_GOTESTSUM
72+
value: '1'
73+
resources:
74+
requests:
75+
memory: 4Gi
76+
cpu: 2

0 commit comments

Comments
 (0)