Skip to content

Commit

Permalink
Merge pull request #23430 from justaugustus/kpromo
Browse files Browse the repository at this point in the history
releng: Tidy `kpromo` job configs
  • Loading branch information
k8s-ci-robot authored Sep 1, 2021
2 parents 5b60fe7 + 3106219 commit c37efa0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 65 deletions.
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

0 comments on commit c37efa0

Please sign in to comment.