mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
build/dependencies.yaml: enforce PATCH level validation for pause
As it can be seen in build/pause/CHANGELOG.md the PATCH level version for pause was introduced due to requirements from the pause image for Windows. This however invalidated our build/depedencies.yaml validation as it only accounted for the MAJOR.MINOR version of pause (e.g. 3.10, not 3.10.1). Enforce full SemVer validation for the pause image dependents.
This commit is contained in:
parent
bc2179d882
commit
1c87f399bf
1 changed files with 21 additions and 21 deletions
|
|
@ -195,50 +195,50 @@ dependencies:
|
|||
match: TAG\s*\?=
|
||||
|
||||
- name: "registry.k8s.io/pause: dependents"
|
||||
version: 3.10
|
||||
version: 3.10.2
|
||||
refPaths:
|
||||
- path: cluster/gce/config-common.sh
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: cluster/gce/gci/configure-helper.sh
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: cluster/gce/windows/smoke-test.sh
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: cmd/kubeadm/app/constants/constants.go
|
||||
match: PauseVersion\s+=
|
||||
- path: hack/testdata/pod-with-precision.json
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: staging/src/k8s.io/kubectl/testdata/set/multi-resource-yaml.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: staging/src/k8s.io/kubectl/testdata/set/namespaced-resource.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/cmd/core.sh
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/fixtures/pkg/kubectl/cmd/set/multi-resource-yaml.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/fixtures/pkg/kubectl/cmd/set/namespaced-resource.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/benchmark-controller.json
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-default.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-node-affinity.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-pod-affinity.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-pod-anti-affinity.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-preferred-pod-affinity.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-preferred-pod-anti-affinity.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-preferred-topology-spreading.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-secret-volume.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/integration/scheduler_perf/templates/pod-with-topology-spreading.yaml
|
||||
match: registry.k8s.io\/pause:\d+\.\d+
|
||||
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
|
||||
- path: test/utils/image/manifest.go
|
||||
match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+(.\d+)?"}
|
||||
match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+\.\d+"}
|
||||
- path: test/images/agnhost/fakeregistryserver/images.txt
|
||||
match: pause\s
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue