Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add last releng images builder prow jobs #21364

Merged
merged 7 commits into from
Mar 13, 2021
12 changes: 10 additions & 2 deletions config/jobs/image-pushing/releng/k8s-staging-releng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ postsubmits:
testgrid-dashboards: sig-release-releng-informing, sig-release-image-pushes
testgrid-alert-email: [email protected]
decorate: true
run_if_changed: '^(cmd\/|compile-release-tools|go.(mod|sum)|images\/releng\/k8s-ci-builder\/|pkg\/)'
branches:
- ^master$
spec:
Expand All @@ -88,11 +89,14 @@ postsubmits:
args:
- --project=k8s-staging-releng
- --scratch-bucket=gs://k8s-staging-releng-gcb
- --env-passthrough=REGISTRY
- --build-dir=.
- images/releng/k8s-ci-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 Expand Up @@ -142,12 +146,14 @@ postsubmits:
args:
- --project=k8s-staging-releng
- --scratch-bucket=gs://k8s-staging-releng-gcb
- --env-passthrough=PULL_BASE_REF
- --env-passthrough=PULL_BASE_REF,REGISTRY
- --build-dir=.
- images/releng/ci
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 All @@ -168,12 +174,14 @@ postsubmits:
args:
- --project=k8s-staging-releng
- --scratch-bucket=gs://k8s-staging-releng-gcb
- --env-passthrough=PULL_BASE_REF
- --env-passthrough=PULL_BASE_REF,REGISTRY
- --gcb-config=./cloudbuild-kubepkg.yaml
- .
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
112 changes: 105 additions & 7 deletions config/jobs/kubernetes/release/release-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ presubmits:
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-kube-cross
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/build\/cross\/'
Expand Down Expand Up @@ -125,7 +124,6 @@ presubmits:
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-go-runner
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/build\/go-runner\/'
Expand Down Expand Up @@ -161,7 +159,6 @@ presubmits:
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-debian-base
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/build\/debian-base\/'
Expand Down Expand Up @@ -197,7 +194,6 @@ presubmits:
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-debian-hyperkube-base
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/build\/debian-hyperkube-base\/'
Expand Down Expand Up @@ -233,7 +229,6 @@ presubmits:
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-debian-iptables
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/build\/debian-iptables\/'
Expand Down Expand Up @@ -269,7 +264,6 @@ presubmits:
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-setcap
optional: true
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/build\/setcap\/'
Expand Down Expand Up @@ -305,7 +299,6 @@ presubmits:
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\/'
Expand Down Expand Up @@ -340,6 +333,111 @@ presubmits:
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-k8s-ci-builder
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/releng\/k8s-ci-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=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-ci-builder
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-releng-ci
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^images\/releng\/ci\/'
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
- --env-passthrough=PULL_BASE_REF,REGISTRY
- --build-dir=.
- images/releng/ci
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-releng-ci
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: [email protected]
testgrid-num-columns-recent: '30'
- name: pull-release-image-kubepkg
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: 'cloudbuild-kubepkg.yaml|Dockerfile-kubepkg*'
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
- --env-passthrough=PULL_BASE_REF,REGISTRY
- --gcb-config=./cloudbuild-kubepkg.yaml
- .
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-kubepkg
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