diff --git a/prow-jobs/pingcap-qe-ci-presubmits.yaml b/prow-jobs/pingcap-qe-ci-presubmits.yaml index a1507f9668..21f8b9740f 100644 --- a/prow-jobs/pingcap-qe-ci-presubmits.yaml +++ b/prow-jobs/pingcap-qe-ci-presubmits.yaml @@ -1,7 +1,7 @@ # struct ref: https://pkg.go.dev/k8s.io/test-infra/prow/config#Presubmit presubmits: PingCAP-QE/ci: - - name: verify-jenkins-pipelines + - name: pull-verify-jenkins-pipelines decorate: true max_concurrency: 1 run_if_changed: pipelines/.*\.groovy @@ -9,13 +9,40 @@ presubmits: - main spec: containers: - - name: main - image: wbitt/network-multitool - env: - - name: JENKINS_URL - value: https://do.pingcap.net/jenkins - command: [/bin/bash, .ci/verify-jenkins-pipelines.sh] - resources: - limits: - memory: 128Mi - cpu: 200m + - name: main + image: wbitt/network-multitool + env: + - name: JENKINS_URL + value: https://do.pingcap.net/jenkins + command: [/bin/bash, .ci/verify-jenkins-pipelines.sh] + resources: + limits: + memory: 128Mi + cpu: 200m + - name: pull-verify-gitops-for-prow-jobs + decorate: true + extra_refs: + - org: PingCAP-QE + repo: ee-ops + base_ref: main + repo_link: https://github.com/PingCAP-QE/ee-ops + max_concurrency: 1 + run_if_changed: prow\-jobs/.*\.(yaml|yml)$ + branches: + - main + spec: + containers: + - name: main + image: ghcr.io/fluxcd/flux-cli:v2.0.0-rc.4 + command: [flux, -n, apps] + args: + - build + - kustomization + - prow-jobs + - --path=prow-jobs + - --kustomization-file=../ee-ops/apps/gcp/prow/pre/prow-jobs.yaml + - --dry-run + resources: + limits: + memory: 256Mi + cpu: 200m