Skip to content

Commit 716edc3

Browse files
committed
Add external-dns, athens, and binfmt prow jobs
1 parent 27db3be commit 716edc3

File tree

12 files changed

+423
-10
lines changed

12 files changed

+423
-10
lines changed

jobs/aws/eks-distro-build-tooling/athens-postsubmits.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,19 @@
2020

2121
postsubmits:
2222
aws/eks-distro-build-tooling:
23-
- name: athens-tooling-postsubmit
23+
- name: athens-images-tooling-postsubmit
2424
always_run: false
25-
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|projects/gomods/athens/.*"
25+
run_if_changed: "EKS_DISTRO_TAG_FILE.yaml|projects/gomods/athens/.*"
2626
branches:
2727
- ^main$
2828
max_concurrency: 10
2929
error_on_eviction: true
3030
cluster: "prow-postsubmits-cluster"
3131
skip_report: false
32+
extra_refs:
33+
- org: eks-distro-pr-bot
34+
repo: eks-distro-build-tooling
35+
base_ref: main
3236
decoration_config:
3337
gcs_configuration:
3438
bucket: s3://prowdataclusterstack-316434458-prowbucket7c73355c-1n9f9v93wpjcm
@@ -38,7 +42,7 @@ postsubmits:
3842
image-build: "true"
3943
disk-usage: "true"
4044
spec:
41-
serviceaccountName: charts-build-account
45+
serviceaccountName: postsubmits-build-account
4246
automountServiceAccountToken: false
4347
nodeSelector:
4448
arch: AMD64
@@ -53,10 +57,18 @@ postsubmits:
5357
&&
5458
scripts/buildkit_check.sh
5559
&&
56-
make release -C $PROJECT_PATH IMAGE_TAG=$PULL_BASE_SHA
60+
source scripts/setup_public_ecr_push.sh
61+
&&
62+
make release -C $PROJECT_PATH
5763
env:
5864
- name: PROJECT_PATH
5965
value: "projects/gomods/athens"
66+
- name: IMAGE_REPO
67+
value: "public.ecr.aws/eks-distro-build-tooling"
68+
- name: ECR_PUBLIC_PUSH_ROLE_ARN
69+
value: "arn:aws:iam::832188789588:role/ECRPublicPushRole"
70+
- name: AWS_REGION
71+
value: "us-east-1"
6072
- name: buildkitd
6173
image: moby/buildkit:v0.12.3-rootless
6274
command:

jobs/aws/eks-distro-build-tooling/athens-presubmits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ presubmits:
2222
aws/eks-distro-build-tooling:
2323
- name: athens-tooling-presubmit
2424
always_run: false
25-
run_if_changed: "EKS_DISTRO_BASE_TAG_FILE|projects/gomods/athens/.*"
25+
run_if_changed: "EKS_DISTRO_TAG_FILE.yaml|projects/gomods/athens/.*"
2626
max_concurrency: 10
2727
cluster: "prow-presubmits-cluster"
2828
skip_report: false
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
################################################################################
16+
# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`.
17+
# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on
18+
# how to add a new Prowjob or update an existing Prowjob.
19+
################################################################################
20+
21+
postsubmits:
22+
aws/eks-distro-build-tooling:
23+
- name: binfmt-misc-tooling-postsubmit
24+
always_run: false
25+
run_if_changed: "projects/tonistiigi/binfmt|scripts/setup_public_ecr_push.sh"
26+
branches:
27+
- ^main$
28+
max_concurrency: 10
29+
error_on_eviction: true
30+
cluster: "prow-postsubmits-cluster"
31+
skip_report: false
32+
extra_refs:
33+
- org: eks-distro-pr-bot
34+
repo: eks-distro-build-tooling
35+
base_ref: main
36+
decoration_config:
37+
gcs_configuration:
38+
bucket: s3://prowdataclusterstack-316434458-prowbucket7c73355c-1n9f9v93wpjcm
39+
path_strategy: explicit
40+
s3_credentials_secret: s3-credentials
41+
labels:
42+
image-build: "true"
43+
disk-usage: "true"
44+
spec:
45+
serviceaccountName: postsubmits-build-account
46+
automountServiceAccountToken: false
47+
nodeSelector:
48+
arch: AMD64
49+
containers:
50+
- name: build-container
51+
image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-5778f99ba1380b088ad6c9c53a0d72866756f08e.2
52+
command:
53+
- bash
54+
- -c
55+
- >
56+
trap 'touch /status/done' EXIT
57+
&&
58+
scripts/buildkit_check.sh
59+
&&
60+
source scripts/setup_public_ecr_push.sh
61+
&&
62+
make release -C $PROJECT_PATH
63+
env:
64+
- name: PROJECT_PATH
65+
value: "projects/tonistiigi/binfmt"
66+
- name: IMAGE_REPO
67+
value: "public.ecr.aws/eks-distro-build-tooling"
68+
- name: ECR_PUBLIC_PUSH_ROLE_ARN
69+
value: "arn:aws:iam::832188789588:role/ECRPublicPushRole"
70+
- name: AWS_REGION
71+
value: "us-east-1"
72+
resources:
73+
requests:
74+
memory: "8Gi"
75+
cpu: "2048m"
76+
- name: buildkitd
77+
image: moby/buildkit:v0.12.3-rootless
78+
command:
79+
- sh
80+
args:
81+
- /script/entrypoint.sh
82+
securityContext:
83+
runAsUser: 1000
84+
runAsGroup: 1000
85+
resources:
86+
requests:
87+
memory: "2Gi"
88+
cpu: "1024m"
89+
- command:
90+
- sh
91+
args:
92+
- /disk-usage-script/entrypoint.sh
93+
image: public.ecr.aws/amazonlinux/amazonlinux:2
94+
name: disk-monitor
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
################################################################################
16+
# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`.
17+
# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on
18+
# how to add a new Prowjob or update an existing Prowjob.
19+
################################################################################
20+
21+
presubmits:
22+
aws/eks-distro-build-tooling:
23+
- name: binfmt-misc-tooling-presubmit
24+
always_run: false
25+
run_if_changed: "projects/tonistiigi/binfmt"
26+
max_concurrency: 10
27+
cluster: "prow-presubmits-cluster"
28+
skip_report: false
29+
extra_refs:
30+
- org: eks-distro-pr-bot
31+
repo: eks-distro-build-tooling
32+
base_ref: main
33+
decoration_config:
34+
gcs_configuration:
35+
bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp
36+
path_strategy: explicit
37+
s3_credentials_secret: s3-credentials
38+
labels:
39+
image-build: "true"
40+
disk-usage: "true"
41+
spec:
42+
serviceaccountName: presubmits-build-account
43+
automountServiceAccountToken: false
44+
containers:
45+
- name: build-container
46+
image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-5778f99ba1380b088ad6c9c53a0d72866756f08e.2
47+
command:
48+
- bash
49+
- -c
50+
- >
51+
trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT
52+
&&
53+
scripts/buildkit_check.sh
54+
&&
55+
make build -C $PROJECT_PATH
56+
env:
57+
- name: PROJECT_PATH
58+
value: "projects/tonistiigi/binfmt"
59+
- name: buildkitd
60+
image: moby/buildkit:v0.12.3-rootless
61+
command:
62+
- sh
63+
args:
64+
- /script/entrypoint.sh
65+
securityContext:
66+
runAsUser: 1000
67+
runAsGroup: 1000
68+
- command:
69+
- sh
70+
args:
71+
- /disk-usage-script/entrypoint.sh
72+
image: public.ecr.aws/amazonlinux/amazonlinux:2
73+
name: disk-monitor
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
################################################################################
16+
# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`.
17+
# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on
18+
# how to add a new Prowjob or update an existing Prowjob.
19+
################################################################################
20+
21+
postsubmits:
22+
aws/eks-distro-build-tooling:
23+
- name: external-dns-images-tooling-postsubmit
24+
always_run: false
25+
run_if_changed: "projects/kubernetes-sigs/external-dns/.*"
26+
branches:
27+
- ^main$
28+
max_concurrency: 10
29+
error_on_eviction: true
30+
cluster: "prow-postsubmits-cluster"
31+
skip_report: false
32+
extra_refs:
33+
- org: eks-distro-pr-bot
34+
repo: eks-distro-build-tooling
35+
base_ref: main
36+
decoration_config:
37+
gcs_configuration:
38+
bucket: s3://prowdataclusterstack-316434458-prowbucket7c73355c-1n9f9v93wpjcm
39+
path_strategy: explicit
40+
s3_credentials_secret: s3-credentials
41+
labels:
42+
image-build: "true"
43+
disk-usage: "true"
44+
spec:
45+
serviceaccountName: postsubmits-build-account
46+
automountServiceAccountToken: false
47+
nodeSelector:
48+
arch: AMD64
49+
containers:
50+
- name: build-container
51+
image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-5778f99ba1380b088ad6c9c53a0d72866756f08e.2
52+
command:
53+
- bash
54+
- -c
55+
- >
56+
trap 'touch /status/done' EXIT
57+
&&
58+
scripts/buildkit_check.sh
59+
&&
60+
source scripts/setup_public_ecr_push.sh
61+
&&
62+
make release -C $PROJECT_PATH
63+
env:
64+
- name: PROJECT_PATH
65+
value: "projects/kubernetes-sigs/external-dns"
66+
- name: IMAGE_REPO
67+
value: "public.ecr.aws/eks-distro-build-tooling"
68+
- name: ECR_PUBLIC_PUSH_ROLE_ARN
69+
value: "arn:aws:iam::832188789588:role/ECRPublicPushRole"
70+
- name: AWS_REGION
71+
value: "us-east-1"
72+
- name: buildkitd
73+
image: moby/buildkit:v0.12.3-rootless
74+
command:
75+
- sh
76+
args:
77+
- /script/entrypoint.sh
78+
securityContext:
79+
runAsUser: 1000
80+
runAsGroup: 1000
81+
resources:
82+
requests:
83+
memory: "2Gi"
84+
cpu: "1024m"
85+
- command:
86+
- sh
87+
args:
88+
- /disk-usage-script/entrypoint.sh
89+
image: public.ecr.aws/amazonlinux/amazonlinux:2
90+
name: disk-monitor
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
################################################################################
16+
# IMPORTANT: This Prowjob was generated by running `make prowjobs -C templater`.
17+
# DO NOT EDIT THIS FILE BY HAND! Refer to docs/prowjobs.md for instructions on
18+
# how to add a new Prowjob or update an existing Prowjob.
19+
################################################################################
20+
21+
presubmits:
22+
aws/eks-distro-build-tooling:
23+
- name: external-dns-tooling-presubmit
24+
always_run: false
25+
run_if_changed: "projects/kubernetes-sigs/external-dns"
26+
max_concurrency: 10
27+
cluster: "prow-presubmits-cluster"
28+
skip_report: false
29+
extra_refs:
30+
- org: eks-distro-pr-bot
31+
repo: eks-distro-build-tooling
32+
base_ref: main
33+
decoration_config:
34+
gcs_configuration:
35+
bucket: s3://prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp
36+
path_strategy: explicit
37+
s3_credentials_secret: s3-credentials
38+
labels:
39+
image-build: "true"
40+
disk-usage: "true"
41+
spec:
42+
serviceaccountName: presubmits-build-account
43+
automountServiceAccountToken: false
44+
containers:
45+
- name: build-container
46+
image: public.ecr.aws/eks-distro-build-tooling/builder-base:standard-5778f99ba1380b088ad6c9c53a0d72866756f08e.2
47+
command:
48+
- bash
49+
- -c
50+
- >
51+
trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT
52+
&&
53+
scripts/buildkit_check.sh
54+
&&
55+
make build -C $PROJECT_PATH
56+
env:
57+
- name: PROJECT_PATH
58+
value: "projects/kubernetes-sigs/external-dns"
59+
- name: buildkitd
60+
image: moby/buildkit:v0.12.3-rootless
61+
command:
62+
- sh
63+
args:
64+
- /script/entrypoint.sh
65+
securityContext:
66+
runAsUser: 1000
67+
runAsGroup: 1000
68+
- command:
69+
- sh
70+
args:
71+
- /disk-usage-script/entrypoint.sh
72+
image: public.ecr.aws/amazonlinux/amazonlinux:2
73+
name: disk-monitor

0 commit comments

Comments
 (0)