Skip to content

Commit

Permalink
Merge pull request #21344 from cpanato/k8s-cloud-builder
Browse files Browse the repository at this point in the history
releng: add presubmit prow job to test k8s-cloud-builder image build
  • Loading branch information
k8s-ci-robot authored Mar 13, 2021
2 parents 0cc84a6 + 1cc6ed4 commit 4d0da96
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/jobs/image-pushing/releng/k8s-staging-releng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,13 @@ postsubmits:
args:
- --project=k8s-staging-releng
- --scratch-bucket=gs://k8s-staging-releng-gcb
- --env-passthrough=PULL_BASE_REF
- --env-passthrough=PULL_BASE_REF,REGISTRY
- images/k8s-cloud-builder
env:
- name: LOG_TO_STDOUT
value: "y"
- name: REGISTRY
value: "gcr.io/k8s-staging-build-image"
rerun_auth_config:
github_team_ids:
- 2241179 # release-managers
Expand Down
36 changes: 36 additions & 0 deletions config/jobs/kubernetes/release/release-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,42 @@ presubmits:
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-k8s-cloud-builder
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/k8s-cloud-builder\/'
path_alias: k8s.io/release
spec:
serviceAccountName: gcb-builder-releng-test
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210302-aa40187
command:
- /run.sh
args:
- --project=k8s-staging-releng-test
- --scratch-bucket=gs://k8s-staging-releng-test
- --build-dir=.
- --env-passthrough=PULL_BASE_REF,REGISTRY
- images/releng/k8s-ci-builder
env:
- name: LOG_TO_STDOUT
value: "y"
- name: REGISTRY
value: "gcr.io/k8s-staging-releng-test"
resources:
requests:
cpu: 1000m
memory: 1Gi
limits:
cpu: 1000m
memory: 1Gi
annotations:
testgrid-dashboards: sig-release-releng-presubmits
testgrid-tab-name: release-image-k8s-cloud-builder
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
periodics:
# package tests
- name: periodic-release-verify-packages-debs
Expand Down

0 comments on commit 4d0da96

Please sign in to comment.