From 88533c2845e4f613a0e175cee0d43b4293bb5bd3 Mon Sep 17 00:00:00 2001 From: Cameron Rozean Date: Tue, 30 Jul 2024 10:31:58 -0700 Subject: [PATCH] remove eks go postsubmits not related to the golang-debian image --- .../golang-1-21-ARM64-PROD-postsubmits.yaml | 103 ----------------- .../golang-1-21-ARM64-postsubmits.yaml | 95 ---------------- .../golang-1-21-PROD-postsubmits.yaml | 105 ------------------ .../golang-1-21-postsubmits.yaml | 93 ---------------- .../golang-1-22-ARM64-PROD-postsubmits.yaml | 103 ----------------- .../golang-1-22-ARM64-postsubmits.yaml | 95 ---------------- .../golang-1-22-PROD-postsubmits.yaml | 105 ------------------ .../golang-1-22-postsubmits.yaml | 93 ---------------- .../golang-1-X-ARM64-PROD-postsubmits.yaml | 34 ------ .../golang-1-X-ARM64-postsubmits.yaml | 24 ---- .../golang-1-X-PROD-postsubmits.yaml | 34 ------ .../golang-1-X-postsubmits.yaml | 21 ---- 12 files changed, 905 deletions(-) delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-PROD-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-21-PROD-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-21-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-22-ARM64-PROD-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-22-ARM64-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-22-PROD-postsubmits.yaml delete mode 100644 jobs/aws/eks-distro-build-tooling/golang-1-22-postsubmits.yaml delete mode 100644 templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-PROD-postsubmits.yaml delete mode 100644 templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-postsubmits.yaml delete mode 100644 templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-PROD-postsubmits.yaml delete mode 100644 templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-postsubmits.yaml diff --git a/jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-PROD-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-PROD-postsubmits.yaml deleted file mode 100644 index 37a22171b..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-PROD-postsubmits.yaml +++ /dev/null @@ -1,103 +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-build-tooling: - - name: golang-1-21-ARM64-PROD-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.21/RELEASE" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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: true - nodeSelector: - arch: ARM64 - containers: - - name: build-container - image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - projects/golang/go/scripts/prow_release.sh - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.21" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2" - - name: ARCHITECTURE - value: "ARM64" - - name: ARTIFACT_DEPLOYMENT_ROLE_ARN - value: "arn:aws:iam::379412251201:role/ArtifactDeploymentRole" - - name: AWS_REGION - value: "us-east-1" - - name: IMAGE_REPO - value: "public.ecr.aws/eks-distro-build-tooling" - - name: ECR_PUBLIC_PUSH_ROLE_ARN - value: "arn:aws:iam::832188789588:role/ECRPublicPushRole" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-21-ARM64-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-postsubmits.yaml deleted file mode 100644 index bbbc9b28d..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-21-ARM64-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-build-tooling: - - name: golang-1-21-ARM64-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.21/.*|projects/golang/go/Makefile" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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: ARM64 - containers: - - name: build-container - image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - make release -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.21" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "eks-d-postsubmit-artifacts" - - name: ARCHITECTURE - value: "ARM64" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-21-PROD-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-21-PROD-postsubmits.yaml deleted file mode 100644 index 144393176..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-21-PROD-postsubmits.yaml +++ /dev/null @@ -1,105 +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-build-tooling: - - name: golang-1-21-PROD-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.21/RELEASE" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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: true - nodeSelector: - arch: AMD64 - containers: - - name: build-container - image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - projects/golang/go/scripts/prow_release.sh - && - projects/golang/go/scripts/eks_golang_release_notification.sh - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.21" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2" - - name: ARTIFACT_DEPLOYMENT_ROLE_ARN - value: "arn:aws:iam::379412251201:role/ArtifactDeploymentRole" - - name: AWS_REGION - value: "us-east-1" - - name: IMAGE_REPO - value: "public.ecr.aws/eks-distro-build-tooling" - - name: ECR_PUBLIC_PUSH_ROLE_ARN - value: "arn:aws:iam::832188789588:role/ECRPublicPushRole" - - name: SNS_TOPIC_ARN - value: "arn:aws:sns:us-east-1:379412251201:eks-golang-updates" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-21-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-21-postsubmits.yaml deleted file mode 100644 index 4c2b9a95a..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-21-postsubmits.yaml +++ /dev/null @@ -1,93 +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-build-tooling: - - name: golang-1-21-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.21/.*|projects/golang/go/Makefile" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - make release -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.21" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "eks-d-postsubmit-artifacts" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-22-ARM64-PROD-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-22-ARM64-PROD-postsubmits.yaml deleted file mode 100644 index b16b9b587..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-22-ARM64-PROD-postsubmits.yaml +++ /dev/null @@ -1,103 +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-build-tooling: - - name: golang-1-22-ARM64-PROD-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.22/RELEASE" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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: true - nodeSelector: - arch: ARM64 - containers: - - name: build-container - image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - projects/golang/go/scripts/prow_release.sh - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.22" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2" - - name: ARCHITECTURE - value: "ARM64" - - name: ARTIFACT_DEPLOYMENT_ROLE_ARN - value: "arn:aws:iam::379412251201:role/ArtifactDeploymentRole" - - name: AWS_REGION - value: "us-east-1" - - name: IMAGE_REPO - value: "public.ecr.aws/eks-distro-build-tooling" - - name: ECR_PUBLIC_PUSH_ROLE_ARN - value: "arn:aws:iam::832188789588:role/ECRPublicPushRole" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-22-ARM64-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-22-ARM64-postsubmits.yaml deleted file mode 100644 index 6e6a4efbe..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-22-ARM64-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-build-tooling: - - name: golang-1-22-ARM64-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.22/.*|projects/golang/go/Makefile" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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: ARM64 - containers: - - name: build-container - image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - make release -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.22" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "eks-d-postsubmit-artifacts" - - name: ARCHITECTURE - value: "ARM64" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-22-PROD-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-22-PROD-postsubmits.yaml deleted file mode 100644 index 256899f8b..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-22-PROD-postsubmits.yaml +++ /dev/null @@ -1,105 +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-build-tooling: - - name: golang-1-22-PROD-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.22/RELEASE" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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: true - nodeSelector: - arch: AMD64 - containers: - - name: build-container - image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - projects/golang/go/scripts/prow_release.sh - && - projects/golang/go/scripts/eks_golang_release_notification.sh - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.22" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2" - - name: ARTIFACT_DEPLOYMENT_ROLE_ARN - value: "arn:aws:iam::379412251201:role/ArtifactDeploymentRole" - - name: AWS_REGION - value: "us-east-1" - - name: IMAGE_REPO - value: "public.ecr.aws/eks-distro-build-tooling" - - name: ECR_PUBLIC_PUSH_ROLE_ARN - value: "arn:aws:iam::832188789588:role/ECRPublicPushRole" - - name: SNS_TOPIC_ARN - value: "arn:aws:sns:us-east-1:379412251201:eks-golang-updates" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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-tooling/golang-1-22-postsubmits.yaml b/jobs/aws/eks-distro-build-tooling/golang-1-22-postsubmits.yaml deleted file mode 100644 index 96c996c53..000000000 --- a/jobs/aws/eks-distro-build-tooling/golang-1-22-postsubmits.yaml +++ /dev/null @@ -1,93 +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-build-tooling: - - name: golang-1-22-tooling-postsubmit - always_run: false - run_if_changed: "projects/golang/go/1.22/.*|projects/golang/go/Makefile" - branches: - - ^main$ - max_concurrency: 10 - error_on_eviction: true - cluster: "prow-postsubmits-cluster" - skip_report: false - decoration_config: - 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-205ba0c417cb05b1c3e2f10165edd578f7abf6bd.2 - command: - - bash - - -c - - > - trap 'touch /status/done' EXIT - && - scripts/buildkit_check.sh - && - make install-deps -C $PROJECT_PATH - && - make release -C $PROJECT_PATH - env: - - name: PROJECT_PATH - value: "projects/golang/go" - - name: GO_SOURCE_VERSION - value: "1.22" - - name: SKIP_PRIVILEGED_TESTS - value: "true" - - name: ARTIFACTS_BUCKET - value: "eks-d-postsubmit-artifacts" - resources: - requests: - memory: "16Gi" - cpu: "2560m" - limits: - memory: "16Gi" - cpu: "2560m" - - 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/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-PROD-postsubmits.yaml b/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-PROD-postsubmits.yaml deleted file mode 100644 index ec2f13ba3..000000000 --- a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-PROD-postsubmits.yaml +++ /dev/null @@ -1,34 +0,0 @@ -jobName: golang-{{ .jobGoVersion }}-ARM64-PROD-tooling-postsubmit -runIfChanged: projects/golang/go/{{ .golangVersion }}/RELEASE -architecture: ARM64 -imageBuild: true -automountServiceAccountToken: true -commands: -- make install-deps -C $PROJECT_PATH -- projects/golang/go/scripts/prow_release.sh -projectPath: projects/golang/go -resources: - limits: - cpu: 2560m - memory: 16Gi - requests: - cpu: 2560m - memory: 16Gi -envVars: - - name: GO_SOURCE_VERSION - value: "{{ .golangVersion }}" - - name: SKIP_PRIVILEGED_TESTS - value: true - - name: ARTIFACTS_BUCKET - value: artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2 - - name: ARCHITECTURE - value: ARM64 - - name: ARTIFACT_DEPLOYMENT_ROLE_ARN - value: arn:aws:iam::379412251201:role/ArtifactDeploymentRole - - name: AWS_REGION - value: us-east-1 - - name: IMAGE_REPO - value: public.ecr.aws/eks-distro-build-tooling - - name: ECR_PUBLIC_PUSH_ROLE_ARN - value: arn:aws:iam::832188789588:role/ECRPublicPushRole -serviceAccountName: release-build-account diff --git a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-postsubmits.yaml b/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-postsubmits.yaml deleted file mode 100644 index b95081548..000000000 --- a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-ARM64-postsubmits.yaml +++ /dev/null @@ -1,24 +0,0 @@ -jobName: golang-{{ .jobGoVersion }}-ARM64-tooling-postsubmit -runIfChanged: projects/golang/go/{{ .golangVersion }}/.*|projects/golang/go/Makefile -architecture: ARM64 -imageBuild: true -commands: -- make install-deps -C $PROJECT_PATH -- make release -C $PROJECT_PATH -projectPath: projects/golang/go -resources: - limits: - cpu: 2560m - memory: 16Gi - requests: - cpu: 2560m - memory: 16Gi -envVars: - - name: GO_SOURCE_VERSION - value: "{{ .golangVersion }}" - - name: SKIP_PRIVILEGED_TESTS - value: true - - name: ARTIFACTS_BUCKET - value: eks-d-postsubmit-artifacts - - name: ARCHITECTURE - value: ARM64 \ No newline at end of file diff --git a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-PROD-postsubmits.yaml b/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-PROD-postsubmits.yaml deleted file mode 100644 index 1993f9e01..000000000 --- a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-PROD-postsubmits.yaml +++ /dev/null @@ -1,34 +0,0 @@ -jobName: golang-{{ .jobGoVersion }}-PROD-tooling-postsubmit -runIfChanged: projects/golang/go/{{ .golangVersion }}/RELEASE -imageBuild: true -automountServiceAccountToken: true -commands: -- make install-deps -C $PROJECT_PATH -- projects/golang/go/scripts/prow_release.sh -- projects/golang/go/scripts/eks_golang_release_notification.sh -projectPath: projects/golang/go -resources: - limits: - cpu: 2560m - memory: 16Gi - requests: - cpu: 2560m - memory: 16Gi -envVars: - - name: GO_SOURCE_VERSION - value: "{{ .golangVersion }}" - - name: SKIP_PRIVILEGED_TESTS - value: true - - name: ARTIFACTS_BUCKET - value: artifactsstack-3794122512-artifactsbucket2aac5544-1f3dgu9wrpiz2 - - name: ARTIFACT_DEPLOYMENT_ROLE_ARN - value: arn:aws:iam::379412251201:role/ArtifactDeploymentRole - - name: AWS_REGION - value: us-east-1 - - name: IMAGE_REPO - value: public.ecr.aws/eks-distro-build-tooling - - name: ECR_PUBLIC_PUSH_ROLE_ARN - value: arn:aws:iam::832188789588:role/ECRPublicPushRole - - name: SNS_TOPIC_ARN - value: arn:aws:sns:us-east-1:379412251201:eks-golang-updates -serviceAccountName: release-build-account diff --git a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-postsubmits.yaml b/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-postsubmits.yaml deleted file mode 100644 index daa76ffe6..000000000 --- a/templater/jobs/postsubmit/eks-distro-build-tooling/golang-1-X-postsubmits.yaml +++ /dev/null @@ -1,21 +0,0 @@ -jobName: golang-{{ .jobGoVersion }}-tooling-postsubmit -runIfChanged: projects/golang/go/{{ .golangVersion }}/.*|projects/golang/go/Makefile -imageBuild: true -commands: -- make install-deps -C $PROJECT_PATH -- make release -C $PROJECT_PATH -projectPath: projects/golang/go -resources: - limits: - cpu: 2560m - memory: 16Gi - requests: - cpu: 2560m - memory: 16Gi -envVars: - - name: GO_SOURCE_VERSION - value: "{{ .golangVersion }}" - - name: SKIP_PRIVILEGED_TESTS - value: true - - name: ARTIFACTS_BUCKET - value: eks-d-postsubmit-artifacts