-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a Kops test for eks-distro (#542)
* first round of adding a kops test for eks-distro * add kops script presumbit * make kops-build-presubmits for each kops version * add tests for new kops-prow-nobuild make targets * update kops presubmits with new make target * image build false * remove unused env * run templater * update kops presubmits after merging upstream * update to include make build * fix template to run if changed
- Loading branch information
Showing
7 changed files
with
426 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.