Skip to content

Commit

Permalink
ci(autobump): add autobump for evolution jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Sep 9, 2022
1 parent 36768f8 commit c680695
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions config/jobs/autobump/evolution.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
periodics:
- name: ci-prow-autobump-evolution
# interval: 15m
cron: "05 15 * * 1" # Run at 15:05 PST (15:05 UTC) Mon
decorate: true
extra_refs:
# Check out the repo containing the config and deployment files for your Prow instance.
- org: falcosecurity
repo: evolution
base_ref: main
spec:
containers:
- image: 292999226676.dkr.ecr.eu-west-1.amazonaws.com/test-infra/autobump # see images/autobump
imagePullPolicy: Always
command:
- /autobump.sh
args:
- /etc/github-token/oauth
# Make the bot name and email match the user data of the provided token's user.
- "Falco Automation"
- [email protected]
- /root/gpg-signing-key/poiana.asc
- "EC9875C7B990D55F3B44D6E45F284448FF941C8F"
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- name: github
mountPath: /etc/github-token
readOnly: true
- name: gpg-signing-key
mountPath: /root/gpg-signing-key/
readOnly: true
env:
# autobump.sh args
- name: GH_PROXY
value: https://api.github.com
# GitHub org containing the repo where the Prow config and component files live.
- name: GH_ORG
value: falcosecurity
# GitHub repo where the Prow config and component deployment files live.
- name: GH_REPO
value: evolution
# bump.sh args
# Repo relative path of the ProwJob config file or directory.
# Omit this if ProwJobs are only defined in config.yaml (or are not configured at all).
- name: JOB_CONFIG_PATH
value: .prow/
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
volumes:
- name: service
secret:
secretName: gcloud-credentials
- name: github
secret:
# Secret containing a GitHub user access token with `repo` scope for creating PRs.
secretName: oauth-token
- name: gpg-signing-key
secret:
secretName: poiana-gpg-signing-key
defaultMode: 0400
nodeSelector:
Archtype: "x86"
File renamed without changes.

0 comments on commit c680695

Please sign in to comment.