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..c5d720bbe --- /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-8042657cbe43028869ba34e8f4366674765ec7b3.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/kops-build-1-24-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-24-presubmits.yaml new file mode 100644 index 000000000..50a2a02ad --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-24-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-24-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-8042657cbe43028869ba34e8f4366674765ec7b3.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-24" + - 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/kops-build-1-25-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-25-presubmits.yaml new file mode 100644 index 000000000..bcb21f125 --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-25-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-25-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-8042657cbe43028869ba34e8f4366674765ec7b3.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-25" + - 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/kops-build-1-26-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-26-presubmits.yaml new file mode 100644 index 000000000..142cd1acd --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-26-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-26-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-8042657cbe43028869ba34e8f4366674765ec7b3.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-26" + - 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/kops-build-1-27-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-27-presubmits.yaml new file mode 100644 index 000000000..b9e4e16f0 --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-27-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-27-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-8042657cbe43028869ba34e8f4366674765ec7b3.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-27" + - 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/kops-build-1-28-presubmits.yaml b/jobs/aws/eks-distro/kops-build-1-28-presubmits.yaml new file mode 100644 index 000000000..026d24dec --- /dev/null +++ b/jobs/aws/eks-distro/kops-build-1-28-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-28-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-8042657cbe43028869ba34e8f4366674765ec7b3.2 + command: + - bash + - -c + - > + trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT + && + if make check-for-supported-release-branch -C $PROJECT_PATH; then make build kops; fi + env: + - name: PROJECT_PATH + value: "development/kops" + - name: ARTIFACT_BUCKET + value: "eks-d-postsubmit-artifacts" + - name: RELEASE_BRANCH + value: "1-28" + - 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/templater/jobs/presubmit/eks-distro/kops-build-1-X-presubmits.yaml b/templater/jobs/presubmit/eks-distro/kops-build-1-X-presubmits.yaml new file mode 100755 index 000000000..6e2ca9500 --- /dev/null +++ b/templater/jobs/presubmit/eks-distro/kops-build-1-X-presubmits.yaml @@ -0,0 +1,18 @@ +jobName: kops-build-{{ .releaseBranch }}-presubmits +runIfChanged: development/kops/.* +imageBuild: false +projectPath: development/kops +commands: + - make build kops +envVars: + - name: ARTIFACT_BUCKET + value: eks-d-postsubmit-artifacts + - name: RELEASE_BRANCH + value: "{{ .releaseBranch }}" + - name: IMAGE_REPO + value: public.ecr.aws/h1r8a7l5 +resources: + requests: + cpu: "2" + memory: 8Gi +timeout: 6h