Skip to content

Commit

Permalink
add prowjobs
Browse files Browse the repository at this point in the history
On-behalf-of: @SAP christoph.mewes@sap.com
  • Loading branch information
xrstf committed Jan 9, 2025
1 parent 389df72 commit 0dda15e
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions .prow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
presubmits:
- name: pull-api-syncagent-verify
always_run: true
decorate: true
clone_uri: "https://github.com/kcp-dev/api-syncagent"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.23.4-3
command:
- make
- verify
resources:
requests:
memory: 1Gi
cpu: 1

- name: pull-api-syncagent-lint
always_run: true
decorate: true
clone_uri: "https://github.com/kcp-dev/api-syncagent"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.23.4-3
command:
- make
- lint
resources:
requests:
memory: 4Gi
cpu: 2

- name: pull-api-syncagent-build-image
always_run: true
decorate: true
clone_uri: "https://github.com/kcp-dev/api-syncagent"
labels:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/containers/buildah:v1.30.0
command:
- hack/ci/build-image.sh
env:
- name: DRY_RUN
value: '1'
# docker-in-docker needs privileged mode
securityContext:
privileged: true
resources:
requests:
memory: 1Gi
cpu: 1

- name: pull-api-syncagent-test
always_run: true
decorate: true
clone_uri: "https://github.com/kcp-dev/api-syncagent"
labels:
preset-goproxy: "true"
spec:
containers:
- image: ghcr.io/kcp-dev/infra/build:1.23.4-3
command:
- make
- test
env:
- name: USE_GOTESTSUM
value: '1'
resources:
requests:
memory: 4Gi
cpu: 2

0 comments on commit 0dda15e

Please sign in to comment.