Skip to content

Commit

Permalink
feat(prow-jobs): add jobs to verify ci's prow jobs (#2181)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Jun 19, 2023
1 parent ae527a1 commit 52328c4
Showing 1 changed file with 38 additions and 11 deletions.
49 changes: 38 additions & 11 deletions prow-jobs/pingcap-qe-ci-presubmits.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,48 @@
# 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
branches:
- 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

0 comments on commit 52328c4

Please sign in to comment.