diff --git a/.ci-operator.yaml b/.ci-operator.yaml deleted file mode 100644 index 501e55dcb..000000000 --- a/.ci-operator.yaml +++ /dev/null @@ -1,4 +0,0 @@ -build_root_image: - namespace: ci - name: kcp-dev-build-root - tag: "1.19" diff --git a/.prow.yaml b/.prow.yaml new file mode 100644 index 000000000..390577a0c --- /dev/null +++ b/.prow.yaml @@ -0,0 +1,40 @@ +presubmits: + - name: pull-code-generator-verify + always_run: true + decorate: true + clone_uri: "ssh://git@github.com/kcp-dev/code-generator.git" + labels: + preset-goproxy: "true" + spec: + containers: + - image: ghcr.io/kcp-dev/infra/build:1.19.9-1 + command: + - make + - verify-codegen + - verify-boilerplate + + - name: pull-code-generator-lint + always_run: true + decorate: true + clone_uri: "ssh://git@github.com/kcp-dev/code-generator.git" + labels: + preset-goproxy: "true" + spec: + containers: + - image: ghcr.io/kcp-dev/infra/build:1.19.9-1 + command: + - make + - lint + + - name: pull-code-generator-test + always_run: true + decorate: true + clone_uri: "ssh://git@github.com/kcp-dev/code-generator.git" + labels: + preset-goproxy: "true" + spec: + containers: + - image: ghcr.io/kcp-dev/infra/build:1.19.9-1 + command: + - make + - test