Skip to content

Commit 2ed91a1

Browse files
committed
Add a ci job to build golang tip using gimme
1 parent 41351cc commit 2ed91a1

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

config/jobs/kubernetes/sig-arch/kubernetes-code-organization.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,3 +370,45 @@ periodics:
370370
requests:
371371
cpu: 7.2
372372
memory: "43Gi"
373+
374+
- interval: 4h
375+
cluster: k8s-infra-prow-build
376+
name: ci-kubernetes-build-golang-tip
377+
annotations:
378+
testgrid-dashboards: sig-arch-code-organization
379+
testgrid-tab-name: unit-master-build-golang-tip
380+
description: Build golang tip
381+
testgrid-alert-email: [email protected]
382+
testgrid-num-columns-recent: '6'
383+
decorate: true
384+
extra_refs:
385+
- org: kubernetes
386+
repo: kubernetes
387+
base_ref: master
388+
path_alias: k8s.io/kubernetes
389+
spec:
390+
# unit tests have no business requiring root or doing privileged operations
391+
securityContext:
392+
# NOTE: these are arbitrary non-root values. They don't exist in the
393+
# image and don't need to, the unit tests should only write to TMPDIR
394+
runAsUser: 2001
395+
runAsGroup: 2010
396+
containers:
397+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250808-38ff9ff2bd-master
398+
securityContext:
399+
allowPrivilegeEscalation: false
400+
command:
401+
- runner.sh
402+
args:
403+
- bash
404+
- -c
405+
- |
406+
export GOROOT_BOOTSTRAP=$(readlink -f $(dirname $(readlink -f $(which go)))/../..)
407+
GIMME_DEBUG=true third_party/gimme/gimme master
408+
resources:
409+
limits:
410+
cpu: 4
411+
memory: "8Gi"
412+
requests:
413+
cpu: 4
414+
memory: "8Gi"

0 commit comments

Comments
 (0)