From 6ba53d35067308c6cde534b4e728ce4a1ef7cefc Mon Sep 17 00:00:00 2001 From: Cameron Rozean Date: Tue, 21 Nov 2023 10:56:34 -0800 Subject: [PATCH] add 1.29 prowjobs (#570) Signed-off-by: Cameron Rozean --- ...ud-controller-manager-1-28-presubmits.yaml | 4 +- ...ud-controller-manager-1-29-presubmits.yaml | 96 +++++++++++++++++ ...aws-iam-authenticator-1-28-presubmits.yaml | 6 +- ...aws-iam-authenticator-1-29-presubmits.yaml | 79 ++++++++++++++ .../eks-distro/build-1-24-postsubmits.yaml | 2 +- .../eks-distro/build-1-25-postsubmits.yaml | 2 +- .../eks-distro/build-1-26-postsubmits.yaml | 2 +- .../eks-distro/build-1-27-postsubmits.yaml | 2 +- .../eks-distro/build-1-28-postsubmits.yaml | 6 +- .../eks-distro/build-1-29-postsubmits.yaml | 101 ++++++++++++++++++ jobs/aws/eks-distro/cni-1-28-presubmits.yaml | 2 +- .../eks-distro/cni-1-28-test-presubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-29-presubmits.yaml | 63 +++++++++++ .../eks-distro/cni-1-29-test-presubmits.yaml | 63 +++++++++++ .../eks-distro/coredns-1-28-presubmits.yaml | 2 +- .../eks-distro/coredns-1-29-presubmits.yaml | 77 +++++++++++++ .../dev-release-1-28-postsubmits.yaml | 2 +- .../dev-release-1-29-postsubmits.yaml | 91 ++++++++++++++++ jobs/aws/eks-distro/etcd-1-28-presubmits.yaml | 6 +- jobs/aws/eks-distro/etcd-1-29-presubmits.yaml | 81 ++++++++++++++ .../external-attacher-1-28-presubmits.yaml | 2 +- .../external-attacher-1-29-presubmits.yaml | 75 +++++++++++++ .../external-provisioner-1-28-presubmits.yaml | 2 +- .../external-provisioner-1-29-presubmits.yaml | 75 +++++++++++++ .../external-resizer-1-28-presubmits.yaml | 2 +- .../external-resizer-1-29-presubmits.yaml | 75 +++++++++++++ .../external-snapshotter-1-28-presubmits.yaml | 2 +- .../external-snapshotter-1-29-presubmits.yaml | 75 +++++++++++++ .../kops-build-1-28-presubmits.yaml | 2 +- .../kops-build-1-29-presubmits.yaml | 68 ++++++++++++ .../kubernetes-1-28-presubmits.yaml | 8 +- .../kubernetes-1-28-test-presubmits.yaml | 2 +- ...s.yaml => kubernetes-1-29-presubmits.yaml} | 14 +-- ...l => kubernetes-1-29-test-presubmits.yaml} | 8 +- .../kubernetes-release-1-28-presubmits.yaml | 2 +- .../kubernetes-release-1-29-presubmits.yaml | 75 +++++++++++++ .../livenessprobe-1-28-presubmits.yaml | 2 +- .../livenessprobe-1-29-presubmits.yaml | 92 ++++++++++++++++ .../metrics-server-1-28-presubmits.yaml | 2 +- .../metrics-server-1-29-presubmits.yaml | 75 +++++++++++++ ...node-driver-registrar-1-28-presubmits.yaml | 2 +- ...node-driver-registrar-1-29-presubmits.yaml | 92 ++++++++++++++++ .../prod-release-1-28-postsubmits.yaml | 2 +- .../prod-release-1-29-postsubmits.yaml | 95 ++++++++++++++++ templater/jobs/utils/utils.go | 2 +- 45 files changed, 1494 insertions(+), 46 deletions(-) create mode 100644 jobs/aws/eks-distro/aws-cloud-controller-manager-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/aws-iam-authenticator-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/build-1-29-postsubmits.yaml create mode 100644 jobs/aws/eks-distro/cni-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/cni-1-29-test-presubmits.yaml create mode 100644 jobs/aws/eks-distro/coredns-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/dev-release-1-29-postsubmits.yaml create mode 100644 jobs/aws/eks-distro/etcd-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-attacher-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-provisioner-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-resizer-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-snapshotter-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/kops-build-1-29-presubmits.yaml rename jobs/aws/eks-distro/{kubernetes-1-23-presubmits.yaml => kubernetes-1-29-presubmits.yaml} (82%) rename jobs/aws/eks-distro/{kubernetes-1-23-test-presubmits.yaml => kubernetes-1-29-test-presubmits.yaml} (90%) create mode 100644 jobs/aws/eks-distro/kubernetes-release-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/livenessprobe-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/metrics-server-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/node-driver-registrar-1-29-presubmits.yaml create mode 100644 jobs/aws/eks-distro/prod-release-1-29-postsubmits.yaml diff --git a/jobs/aws/eks-distro/aws-cloud-controller-manager-1-28-presubmits.yaml b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-28-presubmits.yaml index d4813b1f0..7a23b83f2 100644 --- a/jobs/aws/eks-distro/aws-cloud-controller-manager-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-28-presubmits.yaml @@ -51,9 +51,9 @@ presubmits: && build/lib/local_registry_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true; fi + make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes/cloud-provider-aws" diff --git a/jobs/aws/eks-distro/aws-cloud-controller-manager-1-29-presubmits.yaml b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-29-presubmits.yaml new file mode 100644 index 000000000..0739174f4 --- /dev/null +++ b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-29-presubmits.yaml @@ -0,0 +1,96 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: aws-cloud-controller-manager-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/cloud-provider-aws/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + local-registry: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + build/lib/local_registry_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true; fi + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes/cloud-provider-aws" + - name: RELEASE_PROJECT_PATH + value: "projects/kubernetes/release" + - name: RELEASE_BRANCH + value: "1-29" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "8Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - name: registry + image: public.ecr.aws/docker/library/registry:2 + command: + - sh + args: + - /registry-script/entrypoint.sh + readinessProbe: + httpGet: + path: / + port: 5000 + initialDelaySeconds: 5 + periodSeconds: 3 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/aws-iam-authenticator-1-28-presubmits.yaml b/jobs/aws/eks-distro/aws-iam-authenticator-1-28-presubmits.yaml index f0135def9..2c7f4b8b5 100644 --- a/jobs/aws/eks-distro/aws-iam-authenticator-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/aws-iam-authenticator-1-28-presubmits.yaml @@ -48,11 +48,11 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi + make build -C $PROJECT_PATH && - if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts; fi + mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi + make clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-sigs/aws-iam-authenticator" diff --git a/jobs/aws/eks-distro/aws-iam-authenticator-1-29-presubmits.yaml b/jobs/aws/eks-distro/aws-iam-authenticator-1-29-presubmits.yaml new file mode 100644 index 000000000..6eba051c1 --- /dev/null +++ b/jobs/aws/eks-distro/aws-iam-authenticator-1-29-presubmits.yaml @@ -0,0 +1,79 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: aws-iam-authenticator-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes-sigs/aws-iam-authenticator/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts; fi + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-sigs/aws-iam-authenticator" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/build-1-24-postsubmits.yaml b/jobs/aws/eks-distro/build-1-24-postsubmits.yaml index 47c61f500..2b32b20ff 100644 --- a/jobs/aws/eks-distro/build-1-24-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-24-postsubmits.yaml @@ -22,7 +22,7 @@ postsubmits: aws/eks-distro: - name: build-1-24-postsubmit always_run: false - skip_if_only_changed: "1-25|1-26|1-27|1-28|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-25|1-26|1-27|1-28|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" branches: - ^main$ max_concurrency: 10 diff --git a/jobs/aws/eks-distro/build-1-25-postsubmits.yaml b/jobs/aws/eks-distro/build-1-25-postsubmits.yaml index e8ad3768b..ed152f871 100644 --- a/jobs/aws/eks-distro/build-1-25-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-25-postsubmits.yaml @@ -22,7 +22,7 @@ postsubmits: aws/eks-distro: - name: build-1-25-postsubmit always_run: false - skip_if_only_changed: "1-24|1-26|1-27|1-28|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-24|1-26|1-27|1-28|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" branches: - ^main$ max_concurrency: 10 diff --git a/jobs/aws/eks-distro/build-1-26-postsubmits.yaml b/jobs/aws/eks-distro/build-1-26-postsubmits.yaml index aa7480a8d..97d3208bb 100644 --- a/jobs/aws/eks-distro/build-1-26-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-26-postsubmits.yaml @@ -22,7 +22,7 @@ postsubmits: aws/eks-distro: - name: build-1-26-postsubmit always_run: false - skip_if_only_changed: "1-24|1-25|1-27|1-28|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-24|1-25|1-27|1-28|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" branches: - ^main$ max_concurrency: 10 diff --git a/jobs/aws/eks-distro/build-1-27-postsubmits.yaml b/jobs/aws/eks-distro/build-1-27-postsubmits.yaml index fe329d553..db79c9fd0 100644 --- a/jobs/aws/eks-distro/build-1-27-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-27-postsubmits.yaml @@ -22,7 +22,7 @@ postsubmits: aws/eks-distro: - name: build-1-27-postsubmit always_run: false - skip_if_only_changed: "1-24|1-25|1-26|1-28|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-24|1-25|1-26|1-28|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" branches: - ^main$ max_concurrency: 10 diff --git a/jobs/aws/eks-distro/build-1-28-postsubmits.yaml b/jobs/aws/eks-distro/build-1-28-postsubmits.yaml index 0fec71c86..d5c714148 100644 --- a/jobs/aws/eks-distro/build-1-28-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-28-postsubmits.yaml @@ -22,7 +22,7 @@ postsubmits: aws/eks-distro: - name: build-1-28-postsubmit always_run: false - skip_if_only_changed: "1-24|1-25|1-26|1-27|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-24|1-25|1-26|1-27|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" branches: - ^main$ max_concurrency: 10 @@ -54,9 +54,9 @@ postsubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro; fi + cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make -j2 postsubmit-conformance; fi + make -j2 postsubmit-conformance env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" diff --git a/jobs/aws/eks-distro/build-1-29-postsubmits.yaml b/jobs/aws/eks-distro/build-1-29-postsubmits.yaml new file mode 100644 index 000000000..2a20e88e7 --- /dev/null +++ b/jobs/aws/eks-distro/build-1-29-postsubmits.yaml @@ -0,0 +1,101 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +postsubmits: + aws/eks-distro: + - name: build-1-29-postsubmit + always_run: false + skip_if_only_changed: "1-24|1-25|1-26|1-27|1-28|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + branches: + - ^main$ + max_concurrency: 10 + error_on_eviction: true + cluster: "prow-postsubmits-cluster" + skip_report: false + decoration_config: + timeout: 6h + gcs_configuration: + bucket: s3://prowdataclusterstack-316434458-prowbucket7c73355c-1n9f9v93wpjcm + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: postsubmits-build-account + automountServiceAccountToken: false + nodeSelector: + arch: AMD64 + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro; fi + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make -j2 postsubmit-conformance; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes/kubernetes" + - name: TEST_ROLE_ARN + value: "arn:aws:iam::125833916567:role/TestBuildRole" + - name: ARTIFACT_BUCKET + value: "eks-d-postsubmit-artifacts" + - name: RELEASE_BRANCH + value: "1-29" + - name: CONTROL_PLANE_INSTANCE_PROFILE + value: "arn:aws:iam::125833916567:instance-profile/KopsControlPlaneBuildRole" + - name: NODE_INSTANCE_PROFILE + value: "arn:aws:iam::125833916567:instance-profile/KopsNodesBuildRole" + - name: KOPS_STATE_STORE + value: "s3://testbuildstack-125833916-kopsbuildstatestorebucke-d4esen60nfrk" + - name: IMAGE_REPO + value: "public.ecr.aws/h1r8a7l5" + - name: DOCKER_CONFIG + value: "/home/prow/go/src/github.com/aws/eks-distro/.docker" + resources: + requests: + memory: "8Gi" + cpu: "2" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + resources: + requests: + memory: "2Gi" + cpu: "1024m" + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/cni-1-28-presubmits.yaml b/jobs/aws/eks-distro/cni-1-28-presubmits.yaml index 8b5c13037..efd95d3a4 100644 --- a/jobs/aws/eks-distro/cni-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-28-presubmits.yaml @@ -45,7 +45,7 @@ presubmits: - > trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/containernetworking/plugins" diff --git a/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml index cd8aad3e3..23ed9828d 100644 --- a/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml +++ b/jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml @@ -45,7 +45,7 @@ presubmits: - > trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make test -C $PROJECT_PATH; fi + make test -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/containernetworking/plugins" diff --git a/jobs/aws/eks-distro/cni-1-29-presubmits.yaml b/jobs/aws/eks-distro/cni-1-29-presubmits.yaml new file mode 100644 index 000000000..ec77c5ead --- /dev/null +++ b/jobs/aws/eks-distro/cni-1-29-presubmits.yaml @@ -0,0 +1,63 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: cni-plugins-1-29-presubmit + always_run: false + run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/containernetworking/plugins" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "2Gi" + cpu: "1024m" + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/cni-1-29-test-presubmits.yaml b/jobs/aws/eks-distro/cni-1-29-test-presubmits.yaml new file mode 100644 index 000000000..295fe9f73 --- /dev/null +++ b/jobs/aws/eks-distro/cni-1-29-test-presubmits.yaml @@ -0,0 +1,63 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: cni-plugins-1-29-test-presubmit + always_run: false + run_if_changed: "projects/containernetworking/plugins/1-29/(GIT_TAG|patches|GOLANG_VERSION)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make test -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/containernetworking/plugins" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "2Gi" + cpu: "1024m" + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/coredns-1-28-presubmits.yaml b/jobs/aws/eks-distro/coredns-1-28-presubmits.yaml index d6e9282d0..552fb65e1 100644 --- a/jobs/aws/eks-distro/coredns-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/coredns-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/coredns/coredns" diff --git a/jobs/aws/eks-distro/coredns-1-29-presubmits.yaml b/jobs/aws/eks-distro/coredns-1-29-presubmits.yaml new file mode 100644 index 000000000..fd4da6d1c --- /dev/null +++ b/jobs/aws/eks-distro/coredns-1-29-presubmits.yaml @@ -0,0 +1,77 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: coredns-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/coredns/coredns/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/coredns/coredns" + - name: RELEASE_BRANCH + value: "1-29" + - name: FAKE_ARM_ARTIFACTS_FOR_VALIDATION + value: "true" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/dev-release-1-28-postsubmits.yaml b/jobs/aws/eks-distro/dev-release-1-28-postsubmits.yaml index 0949bd6f5..706d83a4a 100644 --- a/jobs/aws/eks-distro/dev-release-1-28-postsubmits.yaml +++ b/jobs/aws/eks-distro/dev-release-1-28-postsubmits.yaml @@ -54,7 +54,7 @@ postsubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then ./release/prow.sh; fi + ./release/prow.sh env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" diff --git a/jobs/aws/eks-distro/dev-release-1-29-postsubmits.yaml b/jobs/aws/eks-distro/dev-release-1-29-postsubmits.yaml new file mode 100644 index 000000000..26b89f24e --- /dev/null +++ b/jobs/aws/eks-distro/dev-release-1-29-postsubmits.yaml @@ -0,0 +1,91 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +postsubmits: + aws/eks-distro: + - name: dev-release-1-29-postsubmit + always_run: false + run_if_changed: "release/1-29/development/RELEASE" + branches: + - ^main$ + max_concurrency: 1 + error_on_eviction: true + cluster: "prow-postsubmits-cluster" + skip_report: false + decoration_config: + timeout: 4h + gcs_configuration: + bucket: s3://prowdataclusterstack-316434458-prowbucket7c73355c-1n9f9v93wpjcm + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: postsubmits-build-account + automountServiceAccountToken: false + nodeSelector: + arch: AMD64 + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then ./release/prow.sh; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes/kubernetes" + - name: AWS_REGION + value: "us-east-1" + - name: ARTIFACT_BUCKET + value: "eks-d-postsubmit-artifacts" + - name: RELEASE_BRANCH + value: "1-29" + - name: IMAGE_REPO + value: "public.ecr.aws/h1r8a7l5" + resources: + requests: + memory: "16Gi" + cpu: "4" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + resources: + requests: + memory: "2Gi" + cpu: "1024m" + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/etcd-1-28-presubmits.yaml b/jobs/aws/eks-distro/etcd-1-28-presubmits.yaml index fe646f89c..bcab66f9f 100644 --- a/jobs/aws/eks-distro/etcd-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/etcd-1-28-presubmits.yaml @@ -48,11 +48,11 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi + make build -C $PROJECT_PATH && - if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/etcd-io/etcd/_output/tar/* /logs/artifacts; fi + mv ./projects/etcd-io/etcd/_output/tar/* /logs/artifacts && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi + make clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/etcd-io/etcd" diff --git a/jobs/aws/eks-distro/etcd-1-29-presubmits.yaml b/jobs/aws/eks-distro/etcd-1-29-presubmits.yaml new file mode 100644 index 000000000..ad4f1c486 --- /dev/null +++ b/jobs/aws/eks-distro/etcd-1-29-presubmits.yaml @@ -0,0 +1,81 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: etcd-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/etcd-io/etcd/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/etcd-io/etcd/_output/tar/* /logs/artifacts; fi + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/etcd-io/etcd" + - name: RELEASE_BRANCH + value: "1-29" + - name: FAKE_ARM_ARTIFACTS_FOR_VALIDATION + value: "true" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/external-attacher-1-28-presubmits.yaml b/jobs/aws/eks-distro/external-attacher-1-28-presubmits.yaml index 1400cff4c..077f7ea93 100644 --- a/jobs/aws/eks-distro/external-attacher-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/external-attacher-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-csi/external-attacher" diff --git a/jobs/aws/eks-distro/external-attacher-1-29-presubmits.yaml b/jobs/aws/eks-distro/external-attacher-1-29-presubmits.yaml new file mode 100644 index 000000000..b63e98cb5 --- /dev/null +++ b/jobs/aws/eks-distro/external-attacher-1-29-presubmits.yaml @@ -0,0 +1,75 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: external-attacher-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes-csi/external-attacher/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-attacher" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/external-provisioner-1-28-presubmits.yaml b/jobs/aws/eks-distro/external-provisioner-1-28-presubmits.yaml index 49d84406d..73f12629f 100644 --- a/jobs/aws/eks-distro/external-provisioner-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/external-provisioner-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-csi/external-provisioner" diff --git a/jobs/aws/eks-distro/external-provisioner-1-29-presubmits.yaml b/jobs/aws/eks-distro/external-provisioner-1-29-presubmits.yaml new file mode 100644 index 000000000..f4def6056 --- /dev/null +++ b/jobs/aws/eks-distro/external-provisioner-1-29-presubmits.yaml @@ -0,0 +1,75 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: external-provisioner-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes-csi/external-provisioner/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-provisioner" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/external-resizer-1-28-presubmits.yaml b/jobs/aws/eks-distro/external-resizer-1-28-presubmits.yaml index 6df63b256..422072418 100644 --- a/jobs/aws/eks-distro/external-resizer-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/external-resizer-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-csi/external-resizer" diff --git a/jobs/aws/eks-distro/external-resizer-1-29-presubmits.yaml b/jobs/aws/eks-distro/external-resizer-1-29-presubmits.yaml new file mode 100644 index 000000000..be9626ab9 --- /dev/null +++ b/jobs/aws/eks-distro/external-resizer-1-29-presubmits.yaml @@ -0,0 +1,75 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: external-resizer-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes-csi/external-resizer/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-resizer" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/external-snapshotter-1-28-presubmits.yaml b/jobs/aws/eks-distro/external-snapshotter-1-28-presubmits.yaml index ac4716eb9..edb5b6a97 100644 --- a/jobs/aws/eks-distro/external-snapshotter-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/external-snapshotter-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-csi/external-snapshotter" diff --git a/jobs/aws/eks-distro/external-snapshotter-1-29-presubmits.yaml b/jobs/aws/eks-distro/external-snapshotter-1-29-presubmits.yaml new file mode 100644 index 000000000..22472a8eb --- /dev/null +++ b/jobs/aws/eks-distro/external-snapshotter-1-29-presubmits.yaml @@ -0,0 +1,75 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: external-snapshotter-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes-csi/external-snapshotter/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-snapshotter" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "8Gi" + cpu: "2048m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/kops-build-1-28-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-28-presubmits.yaml index a7de1fddb..aa39db58c 100644 --- a/jobs/aws/eks-distro/kops-build-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/kops-build-1-28-presubmits.yaml @@ -46,7 +46,7 @@ presubmits: - > trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build kops; fi + make build kops env: - name: PROJECT_PATH value: "development/kops" diff --git a/jobs/aws/eks-distro/kops-build-1-29-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-29-presubmits.yaml new file mode 100644 index 000000000..ca4af759b --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-29-presubmits.yaml @@ -0,0 +1,68 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: kops-build-1-29-presubmits + always_run: false + run_if_changed: "development/kops/.*" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + timeout: 6h + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build kops; fi + env: + - name: PROJECT_PATH + value: "development/kops" + - name: ARTIFACT_BUCKET + value: "eks-d-postsubmit-artifacts" + - name: RELEASE_BRANCH + value: "1-29" + - name: IMAGE_REPO + value: "public.ecr.aws/h1r8a7l5" + resources: + requests: + memory: "8Gi" + cpu: "2" + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/kubernetes-1-28-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-1-28-presubmits.yaml index 05d6e25ed..565962203 100644 --- a/jobs/aws/eks-distro/kubernetes-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/kubernetes-1-28-presubmits.yaml @@ -51,13 +51,13 @@ presubmits: && build/lib/local_registry_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true; fi + make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi + make build -C $PROJECT_PATH && - if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/kubernetes/kubernetes/_output/${RELEASE_BRANCH}/* /logs/artifacts; fi + mv ./projects/kubernetes/kubernetes/_output/${RELEASE_BRANCH}/* /logs/artifacts && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi + make clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" diff --git a/jobs/aws/eks-distro/kubernetes-1-28-test-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-1-28-test-presubmits.yaml index 57ad4ec72..8cfa402e4 100644 --- a/jobs/aws/eks-distro/kubernetes-1-28-test-presubmits.yaml +++ b/jobs/aws/eks-distro/kubernetes-1-28-test-presubmits.yaml @@ -45,7 +45,7 @@ presubmits: - > trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make test -C $PROJECT_PATH; fi + make test -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" diff --git a/jobs/aws/eks-distro/kubernetes-1-23-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-1-29-presubmits.yaml similarity index 82% rename from jobs/aws/eks-distro/kubernetes-1-23-presubmits.yaml rename to jobs/aws/eks-distro/kubernetes-1-29-presubmits.yaml index b00c322ec..819a79abe 100644 --- a/jobs/aws/eks-distro/kubernetes-1-23-presubmits.yaml +++ b/jobs/aws/eks-distro/kubernetes-1-29-presubmits.yaml @@ -20,9 +20,9 @@ presubmits: aws/eks-distro: - - name: kubernetes-1-23-presubmit + - name: kubernetes-1-29-presubmit always_run: false - run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_IPTABLES_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/kubernetes/(build|docker|Makefile|1-23)" + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|EKS_DISTRO_MINIMAL_BASE_IPTABLES_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/kubernetes/(build|docker|Makefile|1-29)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false @@ -51,20 +51,20 @@ presubmits: && build/lib/local_registry_check.sh && - make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true; fi && - make build -C $PROJECT_PATH + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi && - mv ./projects/kubernetes/kubernetes/_output/${RELEASE_BRANCH}/* /logs/artifacts + if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/kubernetes/kubernetes/_output/${RELEASE_BRANCH}/* /logs/artifacts; fi && - make clean-go-cache clean -C $PROJECT_PATH + if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" - name: RELEASE_PROJECT_PATH value: "projects/kubernetes/release" - name: RELEASE_BRANCH - value: "1-23" + value: "1-29" - name: IMAGE_REPO value: "localhost:5000" resources: diff --git a/jobs/aws/eks-distro/kubernetes-1-23-test-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-1-29-test-presubmits.yaml similarity index 90% rename from jobs/aws/eks-distro/kubernetes-1-23-test-presubmits.yaml rename to jobs/aws/eks-distro/kubernetes-1-29-test-presubmits.yaml index 1677ac410..8ce916b42 100644 --- a/jobs/aws/eks-distro/kubernetes-1-23-test-presubmits.yaml +++ b/jobs/aws/eks-distro/kubernetes-1-29-test-presubmits.yaml @@ -20,9 +20,9 @@ presubmits: aws/eks-distro: - - name: kubernetes-1-23-test-presubmit + - name: kubernetes-1-29-test-presubmit always_run: false - run_if_changed: "projects/kubernetes/kubernetes/1-23/(GIT_TAG|patches)" + run_if_changed: "projects/kubernetes/kubernetes/1-29/(GIT_TAG|patches)" max_concurrency: 10 cluster: "prow-presubmits-cluster" skip_report: false @@ -45,12 +45,12 @@ presubmits: - > trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT && - make test -C $PROJECT_PATH + if make check-for-supported-release-branch -C $PROJECT_PATH; then make test -C $PROJECT_PATH; fi env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" - name: RELEASE_BRANCH - value: "1-23" + value: "1-29" resources: requests: memory: "32Gi" diff --git a/jobs/aws/eks-distro/kubernetes-release-1-28-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-release-1-28-presubmits.yaml index b51315a71..cf7249d7d 100644 --- a/jobs/aws/eks-distro/kubernetes-release-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/kubernetes-release-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes/release" diff --git a/jobs/aws/eks-distro/kubernetes-release-1-29-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-release-1-29-presubmits.yaml new file mode 100644 index 000000000..482fe75c5 --- /dev/null +++ b/jobs/aws/eks-distro/kubernetes-release-1-29-presubmits.yaml @@ -0,0 +1,75 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: kubernetes-release-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/release/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes/release" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "8Gi" + cpu: "2048m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/livenessprobe-1-28-presubmits.yaml b/jobs/aws/eks-distro/livenessprobe-1-28-presubmits.yaml index d04a76b00..bf3e1984a 100644 --- a/jobs/aws/eks-distro/livenessprobe-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/livenessprobe-1-28-presubmits.yaml @@ -51,7 +51,7 @@ presubmits: && build/lib/local_registry_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache images clean -C $PROJECT_PATH; fi + make build clean-go-cache images clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-csi/livenessprobe" diff --git a/jobs/aws/eks-distro/livenessprobe-1-29-presubmits.yaml b/jobs/aws/eks-distro/livenessprobe-1-29-presubmits.yaml new file mode 100644 index 000000000..2a5c9e6fb --- /dev/null +++ b/jobs/aws/eks-distro/livenessprobe-1-29-presubmits.yaml @@ -0,0 +1,92 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: livenessprobe-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|EKS_DISTRO_WINDOWS_BASE_.*_FILE|^build/lib/.*|Common.mk|projects/kubernetes-csi/livenessprobe/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + local-registry: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + build/lib/local_registry_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache images clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/livenessprobe" + - name: RELEASE_BRANCH + value: "1-29" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - name: registry + image: public.ecr.aws/docker/library/registry:2 + command: + - sh + args: + - /registry-script/entrypoint.sh + readinessProbe: + httpGet: + path: / + port: 5000 + initialDelaySeconds: 5 + periodSeconds: 3 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/metrics-server-1-28-presubmits.yaml b/jobs/aws/eks-distro/metrics-server-1-28-presubmits.yaml index 0137985ef..71498d8b3 100644 --- a/jobs/aws/eks-distro/metrics-server-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/metrics-server-1-28-presubmits.yaml @@ -48,7 +48,7 @@ presubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + make build clean-go-cache clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-sigs/metrics-server" diff --git a/jobs/aws/eks-distro/metrics-server-1-29-presubmits.yaml b/jobs/aws/eks-distro/metrics-server-1-29-presubmits.yaml new file mode 100644 index 000000000..7de154bbb --- /dev/null +++ b/jobs/aws/eks-distro/metrics-server-1-29-presubmits.yaml @@ -0,0 +1,75 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: metrics-server-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes-sigs/metrics-server/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-sigs/metrics-server" + - name: RELEASE_BRANCH + value: "1-29" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/node-driver-registrar-1-28-presubmits.yaml b/jobs/aws/eks-distro/node-driver-registrar-1-28-presubmits.yaml index e037b8cd1..d87a0ca3b 100644 --- a/jobs/aws/eks-distro/node-driver-registrar-1-28-presubmits.yaml +++ b/jobs/aws/eks-distro/node-driver-registrar-1-28-presubmits.yaml @@ -51,7 +51,7 @@ presubmits: && build/lib/local_registry_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache images clean -C $PROJECT_PATH; fi + make build clean-go-cache images clean -C $PROJECT_PATH env: - name: PROJECT_PATH value: "projects/kubernetes-csi/node-driver-registrar" diff --git a/jobs/aws/eks-distro/node-driver-registrar-1-29-presubmits.yaml b/jobs/aws/eks-distro/node-driver-registrar-1-29-presubmits.yaml new file mode 100644 index 000000000..f413e1a42 --- /dev/null +++ b/jobs/aws/eks-distro/node-driver-registrar-1-29-presubmits.yaml @@ -0,0 +1,92 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +presubmits: + aws/eks-distro: + - name: node-driver-registrar-1-29-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|EKS_DISTRO_WINDOWS_BASE_.*_FILE|^build/lib/.*|Common.mk|projects/kubernetes-csi/node-driver-registrar/(build|docker|Makefile|1-29)" + max_concurrency: 10 + cluster: "prow-presubmits-cluster" + skip_report: false + decoration_config: + gcs_configuration: + bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + local-registry: "true" + disk-usage: "true" + spec: + serviceaccountName: presubmits-build-account + automountServiceAccountToken: false + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + build/lib/local_registry_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache images clean -C $PROJECT_PATH; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/node-driver-registrar" + - name: RELEASE_BRANCH + value: "1-29" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + - name: registry + image: public.ecr.aws/docker/library/registry:2 + command: + - sh + args: + - /registry-script/entrypoint.sh + readinessProbe: + httpGet: + path: / + port: 5000 + initialDelaySeconds: 5 + periodSeconds: 3 + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/jobs/aws/eks-distro/prod-release-1-28-postsubmits.yaml b/jobs/aws/eks-distro/prod-release-1-28-postsubmits.yaml index 29720e026..87493e8d1 100644 --- a/jobs/aws/eks-distro/prod-release-1-28-postsubmits.yaml +++ b/jobs/aws/eks-distro/prod-release-1-28-postsubmits.yaml @@ -54,7 +54,7 @@ postsubmits: && build/lib/buildkit_check.sh && - if make check-for-supported-release-branch -C $PROJECT_PATH; then ./release/prow-release.sh; fi + ./release/prow-release.sh env: - name: PROJECT_PATH value: "projects/kubernetes/kubernetes" diff --git a/jobs/aws/eks-distro/prod-release-1-29-postsubmits.yaml b/jobs/aws/eks-distro/prod-release-1-29-postsubmits.yaml new file mode 100644 index 000000000..2beadab66 --- /dev/null +++ b/jobs/aws/eks-distro/prod-release-1-29-postsubmits.yaml @@ -0,0 +1,95 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ +# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`. +# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on +# how to add a new Prowjob or update an existing Prowjob. +################################################################################ + +postsubmits: + aws/eks-distro: + - name: prod-release-1-29-postsubmit + always_run: false + run_if_changed: "release/1-29/production/RELEASE" + branches: + - ^main$ + max_concurrency: 1 + error_on_eviction: true + cluster: "prow-postsubmits-cluster" + skip_report: false + decoration_config: + timeout: 4h + gcs_configuration: + bucket: s3://prowdataclusterstack-316434458-prowbucket7c73355c-1n9f9v93wpjcm + path_strategy: explicit + s3_credentials_secret: s3-credentials + labels: + image-build: "true" + disk-usage: "true" + spec: + serviceaccountName: release-build-account + automountServiceAccountToken: false + nodeSelector: + arch: AMD64 + containers: + - name: build-container + image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-6b99336e374997b019a59a87ac319f858394935f.2 + command: + - bash + - -c + - > + trap 'touch /status/done' EXIT + && + build/lib/buildkit_check.sh + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then ./release/prow-release.sh; fi + env: + - name: PROJECT_PATH + value: "projects/kubernetes/kubernetes" + - name: ARTIFACT_DEPLOYMENT_ROLE_ARN + value: "arn:aws:iam::379412251201:role/ArtifactDeploymentRole" + - name: AWS_REGION + value: "us-east-1" + - name: RELEASE_ENVIRONMENT + value: "production" + - name: ARTIFACT_BUCKET + value: "artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2" + - name: RELEASE_BRANCH + value: "1-29" + - name: IMAGE_REPO + value: "public.ecr.aws/eks-distro" + resources: + requests: + memory: "16Gi" + cpu: "4" + - name: buildkitd + image: moby/buildkit:v0.10.5-rootless + command: + - sh + args: + - /script/entrypoint.sh + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + resources: + requests: + memory: "2Gi" + cpu: "1024m" + - command: + - sh + args: + - /disk-usage-script/entrypoint.sh + image: public.ecr.aws/amazonlinux/amazonlinux:2 + name: disk-monitor diff --git a/templater/jobs/utils/utils.go b/templater/jobs/utils/utils.go index 28c887f7a..2505e2c58 100644 --- a/templater/jobs/utils/utils.go +++ b/templater/jobs/utils/utils.go @@ -19,6 +19,7 @@ var releaseBranches = []string{ "1-26", "1-27", "1-28", + "1-29", } var golangVersions = []string{ @@ -166,7 +167,6 @@ func RunMappers(jobsToData map[string]map[string]interface{}, mappers []func(str } func UnmarshalJobs(jobDir string) (map[string]types.JobConfig, error) { - files, err := ioutil.ReadDir(jobDir) if err != nil { return nil, fmt.Errorf("error reading job directory %s: %v", jobDir, err)