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

releng: Tidy kpromo job configs #23430

Merged
merged 1 commit into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,35 +1,5 @@
postsubmits:
kubernetes/release:
- name: post-release-push-image-kpromo
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: sig-release-releng-informing, sig-release-master-informing, sig-release-image-pushes, wg-k8s-infra-gcb
testgrid-alert-email: release-managers+alerts@kubernetes.io
testgrid-num-failures-to-alert: '1'
decorate: true
run_if_changed: '^(cmd\/kpromo\/|pkg\/(api|filepromoter|promobot)\/)'
branches:
- ^main$
# TODO(releng): Remove once repo default branch has been renamed
- ^master$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210622-762366a
command:
- /run.sh
args:
- --project=k8s-staging-artifact-promoter
- --scratch-bucket=gs://k8s-staging-artifact-promoter-gcb
- --build-dir=.
- cmd/kpromo
env:
- name: LOG_TO_STDOUT
value: "y"
rerun_auth_config:
github_team_slugs:
- org: kubernetes
slug: release-managers
- name: post-release-push-image-vulndash
cluster: k8s-infra-prow-build-trusted
annotations:
Expand Down Expand Up @@ -61,6 +31,7 @@ postsubmits:
- org: kubernetes
slug: release-managers
kubernetes-sigs/k8s-container-image-promoter:
# TODO(releng): Rename to 'kpromo' once tools are merged
- name: post-cip-push-image-cip
cluster: k8s-infra-prow-build-trusted
annotations:
Expand Down
35 changes: 0 additions & 35 deletions config/jobs/kubernetes/release/release-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,41 +370,6 @@ presubmits:
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: release-managers+alerts@kubernetes.io
testgrid-num-columns-recent: '30'
- name: pull-release-image-kpromo
cluster: k8s-infra-prow-build
decorate: true
run_if_changed: '^(cmd\/kpromo\/|pkg\/(api|filepromoter|promobot)\/)'
path_alias: k8s.io/release
spec:
serviceAccountName: gcb-builder-releng-test
containers:
- image: gcr.io/k8s-testimages/image-builder:v20210622-762366a
command:
- /run.sh
args:
- --project=k8s-staging-releng-test
- --scratch-bucket=gs://k8s-staging-releng-test
- --env-passthrough=PULL_BASE_REF,REGISTRY
- --build-dir=.
- cmd/kpromo
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-kpromo
testgrid-num-failures-to-alert: '10'
testgrid-alert-email: release-managers+alerts@kubernetes.io
testgrid-num-columns-recent: '30'
- name: pull-release-image-kubepkg
cluster: k8s-infra-prow-build
decorate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ periodics:
- /kpromo
args:
- run
- files
- --filestores=/home/prow/go/src/github.com/kubernetes/k8s.io/artifacts/filestores/
- --files=/home/prow/go/src/github.com/kubernetes/k8s.io/artifacts/manifests/
# TODO(releng): Use '--dry-run=false' (or '--confirm') once testing is complete
Expand Down