-
Notifications
You must be signed in to change notification settings - Fork 30
/
build-1-20-postsubmits.yaml
92 lines (91 loc) · 3.25 KB
/
build-1-20-postsubmits.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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-20-postsubmit
always_run: false
skip_if_only_changed: "1-21|1-22|1-23|1-24|docs/.*"
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"
spec:
serviceaccountName: postsubmits-build-account
automountServiceAccountToken: false
nodeSelector:
arch: AMD64
containers:
- name: build-container
image: public.ecr.aws/eks-distro-build-tooling/builder-base:9242630ce031e03158c65753c07bbfc79985347e.2
command:
- bash
- -c
- >
trap 'touch /status/done' EXIT
&&
build/lib/buildkit_check.sh
&&
cp -r "${HOME}/.docker" /home/prow/go/src/github.com/aws/eks-distro
&&
make -j2 postsubmit-conformance
env:
- name: TEST_ROLE_ARN
value: "arn:aws:iam::125833916567:role/TestBuildRole"
- name: ARTIFACT_BUCKET
value: "eks-d-postsubmit-artifacts"
- name: RELEASE_BRANCH
value: "1-20"
- 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.1-rootless
command:
- sh
args:
- /script/entrypoint.sh
securityContext:
runAsUser: 1000
runAsGroup: 1000
resources:
requests:
memory: "2Gi"
cpu: "1024m"