Skip to content

Commit c15d68e

Browse files
add buildkit to attribution periodic (#683)
1 parent 5a12a33 commit c15d68e

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

jobs/aws/eks-distro/eks-distro-attribution-periodics.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ periodics:
3434
path_strategy: explicit
3535
s3_credentials_secret: s3-credentials
3636
labels:
37+
image-build: "true"
3738
pr-creation: "true"
3839
disk-usage: "true"
3940
spec:
@@ -50,6 +51,8 @@ periodics:
5051
- >
5152
trap 'touch /status/done' EXIT
5253
&&
54+
build/lib/buildkit_check.sh
55+
&&
5356
git config --global gc.auto 0
5457
&&
5558
make update-attribution-files
@@ -62,6 +65,19 @@ periodics:
6265
requests:
6366
memory: "16Gi"
6467
cpu: "5"
68+
- name: buildkitd
69+
image: moby/buildkit:v0.12.3-rootless
70+
command:
71+
- sh
72+
args:
73+
- /script/entrypoint.sh
74+
securityContext:
75+
runAsUser: 1000
76+
runAsGroup: 1000
77+
resources:
78+
requests:
79+
memory: "2Gi"
80+
cpu: "1024m"
6581
- command:
6682
- sh
6783
args:

templater/jobs/periodic/eks-distro/eks-distro-attribution-periodics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
jobName: eks-distro-attribution-periodic
2+
imageBuild: true
23
cronExpression: 0 8 * * 1-5
34
prCreation: true
45
commands:

0 commit comments

Comments
 (0)