forked from aws/eks-distro-prow-jobs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathamazon-eks-pod-identity-webhook-presubmits.yaml
More file actions
73 lines (72 loc) · 2.58 KB
/
amazon-eks-pod-identity-webhook-presubmits.yaml
File metadata and controls
73 lines (72 loc) · 2.58 KB
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
# 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-build-tooling:
- name: amazon-eks-pod-identity-webhook-tooling-presubmit
always_run: false
run_if_changed: "projects/aws/amazon-eks-pod-identity-webhook/.*"
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-c390691fc6524c276be9dd00e57fe3b37a353711.2
command:
- bash
- -c
- >
trap 'touch /status/done && rm -rf /home/prow/go/src/' EXIT
&&
scripts/buildkit_check.sh
&&
make build -C $PROJECT_PATH
env:
- name: PROJECT_PATH
value: "projects/aws/amazon-eks-pod-identity-webhook"
resources:
requests:
memory: "4Gi"
cpu: "1024m"
- name: buildkitd
image: moby/buildkit:v0.12.3-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