-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(autobump): add autobump for evolution jobs
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.