mirror of https://github.com/k3s-io/k3s
Merge pull request #50418 from liggitt/target-godep
Automatic merge from submit-queue (batch tested with PRs 50418, 49830, 49206, 49061, 49912) Target godep script change verifications helps with #50319 `hack/verify-godeps.sh` takes ~15 minutes of the verify job time. We should not run it if not required, especially since the job is regularly timing out at 1 hour when this check is included. https://github.com/kubernetes/kubernetes/pull/48653 added a check to run it if *anything* under `hack` was changed. This targetes just changes to the godep scriptspull/6/head
commit
4d4dd23820
|
@ -49,7 +49,7 @@ readonly branch=${1:-${KUBE_VERIFY_GIT_BRANCH:-master}}
|
||||||
if ! [[ ${KUBE_FORCE_VERIFY_CHECKS:-} =~ ^[yY]$ ]] && \
|
if ! [[ ${KUBE_FORCE_VERIFY_CHECKS:-} =~ ^[yY]$ ]] && \
|
||||||
! kube::util::has_changes_against_upstream_branch "${branch}" 'Godeps/' && \
|
! kube::util::has_changes_against_upstream_branch "${branch}" 'Godeps/' && \
|
||||||
! kube::util::has_changes_against_upstream_branch "${branch}" 'vendor/' && \
|
! kube::util::has_changes_against_upstream_branch "${branch}" 'vendor/' && \
|
||||||
! kube::util::has_changes_against_upstream_branch "${branch}" 'hack/'; then
|
! kube::util::has_changes_against_upstream_branch "${branch}" 'hack/.*godep'; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue