Skip to content

Commit

Permalink
add 1.29 prowjobs
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Rozean <[email protected]>
  • Loading branch information
rcrozean committed Nov 21, 2023
1 parent f893077 commit 496bd56
Show file tree
Hide file tree
Showing 45 changed files with 1,494 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ presubmits:
&&
build/lib/local_registry_check.sh
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true; fi
make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi
make build clean-go-cache clean -C $PROJECT_PATH
env:
- name: PROJECT_PATH
value: "projects/kubernetes/cloud-provider-aws"
Expand Down
Original file line number Diff line number Diff line change
@@ -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-29-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-29)"
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-6b99336e374997b019a59a87ac319f858394935f.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
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $RELEASE_PROJECT_PATH IMAGE_OUTPUT_TYPE=image IMAGE_OUTPUT=push=true; fi
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi
env:
- name: PROJECT_PATH
value: "projects/kubernetes/cloud-provider-aws"
- name: RELEASE_PROJECT_PATH
value: "projects/kubernetes/release"
- name: RELEASE_BRANCH
value: "1-29"
- name: IMAGE_REPO
value: "localhost:5000"
resources:
requests:
memory: "8Gi"
cpu: "1024m"
- name: buildkitd
image: moby/buildkit:v0.10.5-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
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ presubmits:
&&
build/lib/buildkit_check.sh
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi
make build -C $PROJECT_PATH
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts; fi
mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi
make clean-go-cache clean -C $PROJECT_PATH
env:
- name: PROJECT_PATH
value: "projects/kubernetes-sigs/aws-iam-authenticator"
Expand Down
79 changes: 79 additions & 0 deletions jobs/aws/eks-distro/aws-iam-authenticator-1-29-presubmits.yaml
Original file line number Diff line number Diff line change
@@ -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-29-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-29)"
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-6b99336e374997b019a59a87ac319f858394935f.2
command:
- bash
- -c
- >
trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT
&&
build/lib/buildkit_check.sh
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build -C $PROJECT_PATH; fi
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then mv ./projects/kubernetes-sigs/aws-iam-authenticator/_output/tar/* /logs/artifacts; fi
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make clean-go-cache clean -C $PROJECT_PATH; fi
env:
- name: PROJECT_PATH
value: "projects/kubernetes-sigs/aws-iam-authenticator"
- name: RELEASE_BRANCH
value: "1-29"
resources:
requests:
memory: "4Gi"
cpu: "1024m"
- name: buildkitd
image: moby/buildkit:v0.10.5-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
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/build-1-24-postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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|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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/build-1-25-postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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|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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/build-1-26-postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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|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
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/build-1-27-postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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|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
Expand Down
6 changes: 3 additions & 3 deletions jobs/aws/eks-distro/build-1-28-postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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|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
Expand Down Expand Up @@ -54,9 +54,9 @@ postsubmits:
&&
build/lib/buildkit_check.sh
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro; fi
cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make -j2 postsubmit-conformance; fi
make -j2 postsubmit-conformance
env:
- name: PROJECT_PATH
value: "projects/kubernetes/kubernetes"
Expand Down
101 changes: 101 additions & 0 deletions jobs/aws/eks-distro/build-1-29-postsubmits.yaml
Original file line number Diff line number Diff line change
@@ -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-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"
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-6b99336e374997b019a59a87ac319f858394935f.2
command:
- bash
- -c
- >
trap 'touch /status/done' EXIT
&&
build/lib/buildkit_check.sh
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro; fi
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make -j2 postsubmit-conformance; fi
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-29"
- 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.10.5-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
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-28-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ presubmits:
- >
trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make build clean-go-cache clean -C $PROJECT_PATH; fi
make build clean-go-cache clean -C $PROJECT_PATH
env:
- name: PROJECT_PATH
value: "projects/containernetworking/plugins"
Expand Down
2 changes: 1 addition & 1 deletion jobs/aws/eks-distro/cni-1-28-test-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ presubmits:
- >
trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT
&&
if make check-for-supported-release-branch -C $PROJECT_PATH; then make test -C $PROJECT_PATH; fi
make test -C $PROJECT_PATH
env:
- name: PROJECT_PATH
value: "projects/containernetworking/plugins"
Expand Down
Loading

0 comments on commit 496bd56

Please sign in to comment.