Skip to content

Commit

Permalink
ci(pingcap-qe/ci): fix presubmits job
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed May 26, 2024
1 parent 2b4081a commit c3b3e3b
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions prow-jobs/pingcap-qe/ci/presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,20 @@ presubmits:
containers:
- image: ticommunityinfra/checkconfig:v20230621-df5abce
command:
- /ko-app/checkconfig
- sh
args:
- --plugin-config=../../ti-community-infra/configs/prow/config/plugins.yaml
- --config-path=../../ti-community-infra/configs/prow/config/config.yaml
- --job-config-path=prow-jobs/
- -c
- |
mkdir -p flatten-prow-jobs
for f in $(find prow-jobs -name "*.yaml" -type f | sed 's|prow-jobs/||' | grep -v kustomization.yaml | sort); do
flatten_f=$(echo $f | sed 's|/|-|g')
cp -v prow-jobs/$f flatten-prow-jobs/$flatten_f
done
/ko-app/checkconfig \
--plugin-config=../../ti-community-infra/configs/prow/config/plugins.yaml \
--config-path=../../ti-community-infra/configs/prow/config/config.yaml \
--job-config-path=flatten-prow-jobs/
- name: pull-verify-gitops-for-prow-jobs
decorate: true
extra_refs:
Expand Down

0 comments on commit c3b3e3b

Please sign in to comment.