From 1b90969c373fdc922a831a3e4773d79d23cedfdb Mon Sep 17 00:00:00 2001 From: Sajia Zafreen Date: Mon, 4 Dec 2023 10:57:25 -0800 Subject: [PATCH 1/2] Add all jobs --- ...ud-controller-manager-1-23-presubmits.yaml | 96 +++++++++++++++++ ...aws-iam-authenticator-1-23-presubmits.yaml | 79 ++++++++++++++ .../eks-distro/build-1-23-postsubmits.yaml | 101 ++++++++++++++++++ .../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 | 2 +- .../eks-distro/build-1-29-postsubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-23-presubmits.yaml | 63 +++++++++++ .../eks-distro/coredns-1-23-presubmits.yaml | 77 +++++++++++++ .../dev-release-1-23-postsubmits.yaml | 91 ++++++++++++++++ jobs/aws/eks-distro/etcd-1-23-presubmits.yaml | 81 ++++++++++++++ .../external-attacher-1-23-presubmits.yaml | 75 +++++++++++++ .../external-provisioner-1-23-presubmits.yaml | 75 +++++++++++++ .../external-resizer-1-23-presubmits.yaml | 75 +++++++++++++ .../external-snapshotter-1-23-presubmits.yaml | 75 +++++++++++++ .../kops-build-1-23-presubmits.yaml | 68 ++++++++++++ .../kubernetes-1-23-presubmits.yaml | 100 +++++++++++++++++ .../kubernetes-1-23-test-presubmits.yaml | 63 +++++++++++ .../kubernetes-release-1-23-presubmits.yaml | 75 +++++++++++++ .../livenessprobe-1-23-presubmits.yaml | 92 ++++++++++++++++ .../metrics-server-1-23-presubmits.yaml | 75 +++++++++++++ ...node-driver-registrar-1-23-presubmits.yaml | 92 ++++++++++++++++ .../prod-release-1-23-postsubmits.yaml | 95 ++++++++++++++++ templater/jobs/utils/utils.go | 1 + 26 files changed, 1555 insertions(+), 6 deletions(-) create mode 100644 jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/aws-iam-authenticator-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/build-1-23-postsubmits.yaml create mode 100644 jobs/aws/eks-distro/cni-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/coredns-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/dev-release-1-23-postsubmits.yaml create mode 100644 jobs/aws/eks-distro/etcd-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-attacher-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-provisioner-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-resizer-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/external-snapshotter-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/kops-build-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/kubernetes-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/kubernetes-1-23-test-presubmits.yaml create mode 100644 jobs/aws/eks-distro/kubernetes-release-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/livenessprobe-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/metrics-server-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/node-driver-registrar-1-23-presubmits.yaml create mode 100644 jobs/aws/eks-distro/prod-release-1-23-postsubmits.yaml diff --git a/jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml new file mode 100644 index 000000000..b4362954f --- /dev/null +++ b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 + && + make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes/cloud-provider-aws" + - name: RELEASE_PROJECT_PATH + value: "projects/kubernetes/release" + - name: RELEASE_BRANCH + value: "1-23" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "8Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/aws-iam-authenticator-1-23-presubmits.yaml new file mode 100644 index 000000000..c9ac7ae30 --- /dev/null +++ b/jobs/aws/eks-distro/aws-iam-authenticator-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build -C $PROJECT_PATH + && + mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts + && + make clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-sigs/aws-iam-authenticator" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-postsubmits.yaml b/jobs/aws/eks-distro/build-1-23-postsubmits.yaml new file mode 100644 index 000000000..9455f82d0 --- /dev/null +++ b/jobs/aws/eks-distro/build-1-23-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-23-postsubmit + always_run: false + skip_if_only_changed: "1-24|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 + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done' EXIT + && + build/lib/buildkit_check.sh + && + cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro + && + make -j2 postsubmit-conformance + 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-23" + - 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.12.3-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/build-1-24-postsubmits.yaml b/jobs/aws/eks-distro/build-1-24-postsubmits.yaml index 2da95ef66..02387b9a7 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|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-23|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 ff35b944e..bdd532c97 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|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-23|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 eadd00c2b..e967eb6c3 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|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-23|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 8e3057f31..b613cbc7f 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|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-23|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 65207b1cd..db45d93cf 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|1-29|docs/.*|.*.md|go.sum|go.mod|.*Help.mk|.*ATTRIBUTION.txt|LICENSE|NOTICE|OWNERS" + skip_if_only_changed: "1-23|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 diff --git a/jobs/aws/eks-distro/build-1-29-postsubmits.yaml b/jobs/aws/eks-distro/build-1-29-postsubmits.yaml index cf08178f3..30e01b9e9 100644 --- a/jobs/aws/eks-distro/build-1-29-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-29-postsubmits.yaml @@ -22,7 +22,7 @@ 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" + skip_if_only_changed: "1-23|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 diff --git a/jobs/aws/eks-distro/cni-1-23-presubmits.yaml b/jobs/aws/eks-distro/cni-1-23-presubmits.yaml new file mode 100644 index 000000000..6565ece35 --- /dev/null +++ b/jobs/aws/eks-distro/cni-1-23-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-23-presubmit + always_run: false + run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/containernetworking/plugins" + - name: RELEASE_BRANCH + value: "1-23" + 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-23-presubmits.yaml b/jobs/aws/eks-distro/coredns-1-23-presubmits.yaml new file mode 100644 index 000000000..5179444e5 --- /dev/null +++ b/jobs/aws/eks-distro/coredns-1-23-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-23-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/coredns/coredns/(build|docker|Makefile|1-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/coredns/coredns" + - name: RELEASE_BRANCH + value: "1-23" + - name: FAKE_ARM_ARTIFACTS_FOR_VALIDATION + value: "true" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-postsubmits.yaml b/jobs/aws/eks-distro/dev-release-1-23-postsubmits.yaml new file mode 100644 index 000000000..0d5ee3121 --- /dev/null +++ b/jobs/aws/eks-distro/dev-release-1-23-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-23-postsubmit + always_run: false + run_if_changed: "release/1-23/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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done' EXIT + && + build/lib/buildkit_check.sh + && + ./release/prow.sh + 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-23" + - name: IMAGE_REPO + value: "public.ecr.aws/h1r8a7l5" + resources: + requests: + memory: "16Gi" + cpu: "4" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/etcd-1-23-presubmits.yaml new file mode 100644 index 000000000..64ea249aa --- /dev/null +++ b/jobs/aws/eks-distro/etcd-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build -C $PROJECT_PATH + && + mv ./projects/etcd-io/etcd/_output/tar/* /logs/artifacts + && + make clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/etcd-io/etcd" + - name: RELEASE_BRANCH + value: "1-23" + - name: FAKE_ARM_ARTIFACTS_FOR_VALIDATION + value: "true" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-attacher-1-23-presubmits.yaml new file mode 100644 index 000000000..0094e9526 --- /dev/null +++ b/jobs/aws/eks-distro/external-attacher-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-attacher" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-provisioner-1-23-presubmits.yaml new file mode 100644 index 000000000..be53203dd --- /dev/null +++ b/jobs/aws/eks-distro/external-provisioner-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-provisioner" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-resizer-1-23-presubmits.yaml new file mode 100644 index 000000000..dfcb784b8 --- /dev/null +++ b/jobs/aws/eks-distro/external-resizer-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-resizer" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-snapshotter-1-23-presubmits.yaml new file mode 100644 index 000000000..501d012bd --- /dev/null +++ b/jobs/aws/eks-distro/external-snapshotter-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/external-snapshotter" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "8Gi" + cpu: "2048m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-23-presubmits.yaml new file mode 100644 index 000000000..9fd85fbc7 --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-23-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-23-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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + make build kops + env: + - name: PROJECT_PATH + value: "development/kops" + - name: ARTIFACT_BUCKET + value: "eks-d-postsubmit-artifacts" + - name: RELEASE_BRANCH + value: "1-23" + - 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-23-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-1-23-presubmits.yaml new file mode 100644 index 000000000..0f1019c1e --- /dev/null +++ b/jobs/aws/eks-distro/kubernetes-1-23-presubmits.yaml @@ -0,0 +1,100 @@ +# 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-1-23-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)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 + && + make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true + && + make build -C $PROJECT_PATH + && + mv ./projects/kubernetes/kubernetes/_output/${RELEASE_BRANCH}/* /logs/artifacts + && + make clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes/kubernetes" + - name: RELEASE_PROJECT_PATH + value: "projects/kubernetes/release" + - name: RELEASE_BRANCH + value: "1-23" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "32Gi" + cpu: "16" + - name: buildkitd + image: moby/buildkit:v0.12.3-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/kubernetes-1-23-test-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-1-23-test-presubmits.yaml new file mode 100644 index 000000000..113e83052 --- /dev/null +++ b/jobs/aws/eks-distro/kubernetes-1-23-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: kubernetes-1-23-test-presubmit + always_run: false + run_if_changed: "projects/kubernetes/kubernetes/1-23/(GIT_TAG|patches)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + make test -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes/kubernetes" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "32Gi" + cpu: "16" + - 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-release-1-23-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-release-1-23-presubmits.yaml new file mode 100644 index 000000000..1911f7774 --- /dev/null +++ b/jobs/aws/eks-distro/kubernetes-release-1-23-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-23-presubmit + always_run: false + run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/release/(build|docker|Makefile|1-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes/release" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "8Gi" + cpu: "2048m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/livenessprobe-1-23-presubmits.yaml new file mode 100644 index 000000000..50ca46a1d --- /dev/null +++ b/jobs/aws/eks-distro/livenessprobe-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 + && + make build clean-go-cache images clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/livenessprobe" + - name: RELEASE_BRANCH + value: "1-23" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/metrics-server-1-23-presubmits.yaml new file mode 100644 index 000000000..5c835fdfc --- /dev/null +++ b/jobs/aws/eks-distro/metrics-server-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + build/lib/buildkit_check.sh + && + make build clean-go-cache clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-sigs/metrics-server" + - name: RELEASE_BRANCH + value: "1-23" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/node-driver-registrar-1-23-presubmits.yaml new file mode 100644 index 000000000..c0a963b3d --- /dev/null +++ b/jobs/aws/eks-distro/node-driver-registrar-1-23-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-23-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-23)" + 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 + && + make build clean-go-cache images clean -C $PROJECT_PATH + env: + - name: PROJECT_PATH + value: "projects/kubernetes-csi/node-driver-registrar" + - name: RELEASE_BRANCH + value: "1-23" + - name: IMAGE_REPO + value: "localhost:5000" + resources: + requests: + memory: "4Gi" + cpu: "1024m" + - name: buildkitd + image: moby/buildkit:v0.12.3-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-23-postsubmits.yaml b/jobs/aws/eks-distro/prod-release-1-23-postsubmits.yaml new file mode 100644 index 000000000..63b1c883a --- /dev/null +++ b/jobs/aws/eks-distro/prod-release-1-23-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-23-postsubmit + always_run: false + run_if_changed: "release/1-23/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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 + command: + - bash + - -c + - > + trap 'touch /status/done' EXIT + && + build/lib/buildkit_check.sh + && + ./release/prow-release.sh + 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-23" + - name: IMAGE_REPO + value: "public.ecr.aws/eks-distro" + resources: + requests: + memory: "16Gi" + cpu: "4" + - name: buildkitd + image: moby/buildkit:v0.12.3-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 2505e2c58..0e85520b1 100644 --- a/templater/jobs/utils/utils.go +++ b/templater/jobs/utils/utils.go @@ -14,6 +14,7 @@ import ( ) var releaseBranches = []string{ + "1-23", "1-24", "1-25", "1-26", From 2e5fe52ab0518171f2664bb6d8171671b3effba7 Mon Sep 17 00:00:00 2001 From: Sajia Zafreen Date: Mon, 4 Dec 2023 10:58:27 -0800 Subject: [PATCH 2/2] Add only 1.23 presubmits --- ...ud-controller-manager-1-23-presubmits.yaml | 96 ----------------- ...aws-iam-authenticator-1-23-presubmits.yaml | 79 -------------- .../eks-distro/build-1-23-postsubmits.yaml | 101 ------------------ .../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 | 2 +- .../eks-distro/build-1-29-postsubmits.yaml | 2 +- jobs/aws/eks-distro/cni-1-23-presubmits.yaml | 63 ----------- .../eks-distro/coredns-1-23-presubmits.yaml | 77 ------------- .../dev-release-1-23-postsubmits.yaml | 91 ---------------- jobs/aws/eks-distro/etcd-1-23-presubmits.yaml | 81 -------------- .../external-attacher-1-23-presubmits.yaml | 75 ------------- .../external-provisioner-1-23-presubmits.yaml | 75 ------------- .../external-resizer-1-23-presubmits.yaml | 75 ------------- .../external-snapshotter-1-23-presubmits.yaml | 75 ------------- .../kops-build-1-23-presubmits.yaml | 68 ------------ .../kubernetes-release-1-23-presubmits.yaml | 75 ------------- .../livenessprobe-1-23-presubmits.yaml | 92 ---------------- .../metrics-server-1-23-presubmits.yaml | 75 ------------- ...node-driver-registrar-1-23-presubmits.yaml | 92 ---------------- .../prod-release-1-23-postsubmits.yaml | 95 ---------------- templater/jobs/utils/utils.go | 1 - 24 files changed, 6 insertions(+), 1392 deletions(-) delete mode 100644 jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/aws-iam-authenticator-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/build-1-23-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro/cni-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/coredns-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/dev-release-1-23-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro/etcd-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/external-attacher-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/external-provisioner-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/external-resizer-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/external-snapshotter-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/kops-build-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/kubernetes-release-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/livenessprobe-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/metrics-server-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/node-driver-registrar-1-23-presubmits.yaml delete mode 100644 jobs/aws/eks-distro/prod-release-1-23-postsubmits.yaml diff --git a/jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml b/jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml deleted file mode 100644 index b4362954f..000000000 --- a/jobs/aws/eks-distro/aws-cloud-controller-manager-1-23-presubmits.yaml +++ /dev/null @@ -1,96 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 - && - make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes/cloud-provider-aws" - - name: RELEASE_PROJECT_PATH - value: "projects/kubernetes/release" - - name: RELEASE_BRANCH - value: "1-23" - - name: IMAGE_REPO - value: "localhost:5000" - resources: - requests: - memory: "8Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/aws-iam-authenticator-1-23-presubmits.yaml deleted file mode 100644 index c9ac7ae30..000000000 --- a/jobs/aws/eks-distro/aws-iam-authenticator-1-23-presubmits.yaml +++ /dev/null @@ -1,79 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build -C $PROJECT_PATH - && - mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts - && - make clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-sigs/aws-iam-authenticator" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-postsubmits.yaml b/jobs/aws/eks-distro/build-1-23-postsubmits.yaml deleted file mode 100644 index 9455f82d0..000000000 --- a/jobs/aws/eks-distro/build-1-23-postsubmits.yaml +++ /dev/null @@ -1,101 +0,0 @@ -# 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-23-postsubmit - always_run: false - skip_if_only_changed: "1-24|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 - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - build/lib/buildkit_check.sh - && - cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro - && - make -j2 postsubmit-conformance - 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-23" - - 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.12.3-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/build-1-24-postsubmits.yaml b/jobs/aws/eks-distro/build-1-24-postsubmits.yaml index 02387b9a7..2da95ef66 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-23|1-25|1-26|1-27|1-28|1-29|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 bdd532c97..ff35b944e 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-23|1-24|1-26|1-27|1-28|1-29|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 e967eb6c3..eadd00c2b 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-23|1-24|1-25|1-27|1-28|1-29|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 b613cbc7f..8e3057f31 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-23|1-24|1-25|1-26|1-28|1-29|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 db45d93cf..65207b1cd 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-23|1-24|1-25|1-26|1-27|1-29|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 diff --git a/jobs/aws/eks-distro/build-1-29-postsubmits.yaml b/jobs/aws/eks-distro/build-1-29-postsubmits.yaml index 30e01b9e9..cf08178f3 100644 --- a/jobs/aws/eks-distro/build-1-29-postsubmits.yaml +++ b/jobs/aws/eks-distro/build-1-29-postsubmits.yaml @@ -22,7 +22,7 @@ postsubmits: aws/eks-distro: - name: build-1-29-postsubmit always_run: false - skip_if_only_changed: "1-23|1-24|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-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 diff --git a/jobs/aws/eks-distro/cni-1-23-presubmits.yaml b/jobs/aws/eks-distro/cni-1-23-presubmits.yaml deleted file mode 100644 index 6565ece35..000000000 --- a/jobs/aws/eks-distro/cni-1-23-presubmits.yaml +++ /dev/null @@ -1,63 +0,0 @@ -# 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-23-presubmit - always_run: false - run_if_changed: "^build/lib/.*|Common.mk|projects/containernetworking/plugins/(build|Makefile|1-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/containernetworking/plugins" - - name: RELEASE_BRANCH - value: "1-23" - 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-23-presubmits.yaml b/jobs/aws/eks-distro/coredns-1-23-presubmits.yaml deleted file mode 100644 index 5179444e5..000000000 --- a/jobs/aws/eks-distro/coredns-1-23-presubmits.yaml +++ /dev/null @@ -1,77 +0,0 @@ -# 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-23-presubmit - always_run: false - run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/coredns/coredns/(build|docker|Makefile|1-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/coredns/coredns" - - name: RELEASE_BRANCH - value: "1-23" - - name: FAKE_ARM_ARTIFACTS_FOR_VALIDATION - value: "true" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-postsubmits.yaml b/jobs/aws/eks-distro/dev-release-1-23-postsubmits.yaml deleted file mode 100644 index 0d5ee3121..000000000 --- a/jobs/aws/eks-distro/dev-release-1-23-postsubmits.yaml +++ /dev/null @@ -1,91 +0,0 @@ -# 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-23-postsubmit - always_run: false - run_if_changed: "release/1-23/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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - build/lib/buildkit_check.sh - && - ./release/prow.sh - 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-23" - - name: IMAGE_REPO - value: "public.ecr.aws/h1r8a7l5" - resources: - requests: - memory: "16Gi" - cpu: "4" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/etcd-1-23-presubmits.yaml deleted file mode 100644 index 64ea249aa..000000000 --- a/jobs/aws/eks-distro/etcd-1-23-presubmits.yaml +++ /dev/null @@ -1,81 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build -C $PROJECT_PATH - && - mv ./projects/etcd-io/etcd/_output/tar/* /logs/artifacts - && - make clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/etcd-io/etcd" - - name: RELEASE_BRANCH - value: "1-23" - - name: FAKE_ARM_ARTIFACTS_FOR_VALIDATION - value: "true" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-attacher-1-23-presubmits.yaml deleted file mode 100644 index 0094e9526..000000000 --- a/jobs/aws/eks-distro/external-attacher-1-23-presubmits.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-csi/external-attacher" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-provisioner-1-23-presubmits.yaml deleted file mode 100644 index be53203dd..000000000 --- a/jobs/aws/eks-distro/external-provisioner-1-23-presubmits.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-csi/external-provisioner" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-resizer-1-23-presubmits.yaml deleted file mode 100644 index dfcb784b8..000000000 --- a/jobs/aws/eks-distro/external-resizer-1-23-presubmits.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-csi/external-resizer" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/external-snapshotter-1-23-presubmits.yaml deleted file mode 100644 index 501d012bd..000000000 --- a/jobs/aws/eks-distro/external-snapshotter-1-23-presubmits.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-csi/external-snapshotter" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "8Gi" - cpu: "2048m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-23-presubmits.yaml deleted file mode 100644 index 9fd85fbc7..000000000 --- a/jobs/aws/eks-distro/kops-build-1-23-presubmits.yaml +++ /dev/null @@ -1,68 +0,0 @@ -# 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-23-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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - make build kops - env: - - name: PROJECT_PATH - value: "development/kops" - - name: ARTIFACT_BUCKET - value: "eks-d-postsubmit-artifacts" - - name: RELEASE_BRANCH - value: "1-23" - - 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-release-1-23-presubmits.yaml b/jobs/aws/eks-distro/kubernetes-release-1-23-presubmits.yaml deleted file mode 100644 index 1911f7774..000000000 --- a/jobs/aws/eks-distro/kubernetes-release-1-23-presubmits.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# 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-23-presubmit - always_run: false - run_if_changed: "EKS_DISTRO_MINIMAL_BASE_TAG_FILE|^build/lib/.*|Common.mk|projects/kubernetes/release/(build|docker|Makefile|1-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes/release" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "8Gi" - cpu: "2048m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/livenessprobe-1-23-presubmits.yaml deleted file mode 100644 index 50ca46a1d..000000000 --- a/jobs/aws/eks-distro/livenessprobe-1-23-presubmits.yaml +++ /dev/null @@ -1,92 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 - && - make build clean-go-cache images clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-csi/livenessprobe" - - name: RELEASE_BRANCH - value: "1-23" - - name: IMAGE_REPO - value: "localhost:5000" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/metrics-server-1-23-presubmits.yaml deleted file mode 100644 index 5c835fdfc..000000000 --- a/jobs/aws/eks-distro/metrics-server-1-23-presubmits.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT - && - build/lib/buildkit_check.sh - && - make build clean-go-cache clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-sigs/metrics-server" - - name: RELEASE_BRANCH - value: "1-23" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-presubmits.yaml b/jobs/aws/eks-distro/node-driver-registrar-1-23-presubmits.yaml deleted file mode 100644 index c0a963b3d..000000000 --- a/jobs/aws/eks-distro/node-driver-registrar-1-23-presubmits.yaml +++ /dev/null @@ -1,92 +0,0 @@ -# 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-23-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-23)" - 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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.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 - && - make build clean-go-cache images clean -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/kubernetes-csi/node-driver-registrar" - - name: RELEASE_BRANCH - value: "1-23" - - name: IMAGE_REPO - value: "localhost:5000" - resources: - requests: - memory: "4Gi" - cpu: "1024m" - - name: buildkitd - image: moby/buildkit:v0.12.3-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-23-postsubmits.yaml b/jobs/aws/eks-distro/prod-release-1-23-postsubmits.yaml deleted file mode 100644 index 63b1c883a..000000000 --- a/jobs/aws/eks-distro/prod-release-1-23-postsubmits.yaml +++ /dev/null @@ -1,95 +0,0 @@ -# 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-23-postsubmit - always_run: false - run_if_changed: "release/1-23/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-d7e2e97ffdb76507c54160927bfe5f711f3e2642.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - build/lib/buildkit_check.sh - && - ./release/prow-release.sh - 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-23" - - name: IMAGE_REPO - value: "public.ecr.aws/eks-distro" - resources: - requests: - memory: "16Gi" - cpu: "4" - - name: buildkitd - image: moby/buildkit:v0.12.3-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 0e85520b1..2505e2c58 100644 --- a/templater/jobs/utils/utils.go +++ b/templater/jobs/utils/utils.go @@ -14,7 +14,6 @@ import ( ) var releaseBranches = []string{ - "1-23", "1-24", "1-25", "1-26",