Skip to content

Commit

Permalink
Added generic-autobumper to update all prow images
Browse files Browse the repository at this point in the history
Signed-off-by: peppi-lotta <peppi-lotta.saari@est.tech>
  • Loading branch information
peppi-lotta committed Feb 6, 2024
1 parent 64aaf83 commit 61733b5
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 0 deletions.
31 changes: 31 additions & 0 deletions prow/manifests/overlays/metal3/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,37 @@ periodics:
- name: token
secret:
secretName: github-token
- name: autobump-prow-images
interval: 1d
cluster: prow
decorate: true
extra_refs:
- org: metal3-io
repo: project-infra
base_ref: main
spec:
containers:
- image: gcr.io/k8s-prow/generic-autobumper:v20240205-8f023a0da6
command:
- generic-autobumper
args:
- --config=/etc/config/config.yaml
- --labels-override=skip-review
- --skip-if-no-oncall
volumeMounts:
- name: github-token
mountPath: /etc/github
readOnly: true
- name: config
mountPath: /etc/config
readOnly: true
volumes:
- name: github-token
secret:
secretName: github-token
- name: config
configMap:
name: generic-autobumper-config

presubmits:
Nordix/metal3-clusterapi-docs:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
gitHubToken: "/etc/github/token"
skipPullRequest: false
gitHubOrg: "metal3-io"
gitHubRepo: "project-infra"
remoteName: "project-infra"
includedConfigPaths:
- "prow"
targetVersion: "latest"
prefixes:
- name: "Crier"
prefix: "gcr.io/k8s-prow/crier:"
refConfigFile: "prow/manifests/base/crier.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Deck"
prefix: "gcr.io/k8s-prow/deck:"
refConfigFile: "prow/manifests/base/deck.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Ghproxy"
prefix: "gcr.io/k8s-prow/ghproxy:"
refConfigFile: "prow/manifests/base/ghproxy.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Hook"
prefix: "gcr.io/k8s-prow/hook:"
refConfigFile: "prow/manifests/base/hook.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Horologium"
prefix: "gcr.io/k8s-prow/horologium:"
refConfigFile: "prow/manifests/base/horologium.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "ProwControllerManager"
prefix: "gcr.io/k8s-prow/prow-controller-manager:"
refConfigFile: "prow/manifests/base/prow-controller-manager.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "GenericAutobumper"
prefix: "gcr.io/k8s-prow/generic-autobumper:"
refConfigFile: "prow/manifests/base/prow-controller-manager.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Sinker"
prefix: "gcr.io/k8s-prow/sinker:"
refConfigFile: "prow/manifests/base/sinker.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "StatusReconciler"
prefix: "gcr.io/k8s-prow/status-reconciler:"
refConfigFile: "prow/manifests/base/statusreconciler.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Tide"
prefix: "gcr.io/k8s-prow/tide:"
refConfigFile: "prow/manifests/base/tide.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Clonerefs"
prefix: "gcr.io/k8s-prow/clonerefs:"
refConfigFile: "prow/manifests/overlays/metal3/config.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Entrypoint"
prefix: "gcr.io/k8s-prow/entrypoint:"
refConfigFile: "prow/manifests/overlays/metal3/config.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Initupload"
prefix: "gcr.io/k8s-prow/initupload:"
refConfigFile: "prow/manifests/overlays/metal3/config.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Sidecar"
prefix: "gcr.io/k8s-prow/sidecar:"
refConfigFile: "prow/manifests/overlays/metal3/config.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Commenter"
prefix: "gcr.io/k8s-prow/commenter:"
refConfigFile: "prow/manifests/overlays/metal3/config.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Checkconfig"
prefix: "gcr.io/k8s-prow/checkconfig:"
refConfigFile: "prow/manifests/overlays/metal3/config.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Checkconfig"
prefix: "gcr.io/k8s-prow/checkconfig:"
refConfigFile: "/Makefile"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "Cherrypicker"
prefix: "gcr.io/k8s-prow/cherrypicker:"
refConfigFile: "prow/manifests/overlays/metal3/external-plugins/cherrypicker_deployment.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "JenkinsOperator"
prefix: "gcr.io/k8s-prow/jenkins-operator:"
refConfigFile: "prow/manifests/overlays/metal3/external-plugins/jenkins-operator.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "LabelSync"
prefix: "gcr.io/k8s-prow/label_sync:"
refConfigFile: "prow/manifests/overlays/metal3/external-plugins/labels_cronjob.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
- name: "NeedsRebase"
prefix: "gcr.io/k8s-prow/needs-rebase:"
refConfigFile: "prow/manifests/overlays/metal3/external-plugins/needs-rebase_deployment.yaml"
repo: "https://github.com/metal3-io/project-infra"
summarise: true
consistentImages: true
5 changes: 5 additions & 0 deletions prow/manifests/overlays/metal3/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resources:
- external-plugins/needs-rebase_service.yaml
- external-plugins/labels_cronjob.yaml
- external-plugins/jenkins-operator.yaml
- external-plugins/generic-autobumper-deployment.yaml
- pdb.yaml
- limitrange.yaml

Expand All @@ -37,6 +38,10 @@ configMapGenerator:
- labels.yaml
name: label-config
namespace: prow
- files:
- config.yaml=external-plugins/generic-autobumper-config.yaml
name: generic-autobumper-config
namespace: prow

secretGenerator:
- files:
Expand Down

0 comments on commit 61733b5

Please sign in to comment.