Skip to content

Commit

Permalink
new(config): integrate pigeon.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed May 6, 2024
1 parent 98211be commit 4fe6e86
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
27 changes: 27 additions & 0 deletions config/jobs/update-secrets/update-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
postsubmits:
falcosecurity/test-infra:
- name: update-secrets-post-submit
branches:
- ^master$
decorate: true
max_concurrency: 1
run_if_changed: '^config/secrets.yaml$'
spec:
containers:
- image: ghcr.io/falcosecurity/pigeon:v0.3.0
command:
- pigeon
args:
- --conf=config/secrets.yaml
- --gh-token=/etc/github/oauth
- --verbose
volumeMounts:
- name: github
mountPath: /etc/github
readOnly: true
volumes:
- name: github
secret:
secretName: oauth-token
nodeSelector:
Archtype: "x86"
20 changes: 20 additions & 0 deletions config/secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
orgs:
falcosecurity:
actions:
secrets:
- DOCKERHUB_SECRET
- DOCKERHUB_USER
repos:
falco:
actions:
secrets:
- GPG_KEY
libs:
actions:
secrets:
- FEDEDP_GIST_SECRET
- PPC64LE_HOST
- PPC64LE_KEY
- PPC64LE_PORT
- PPC64LE_USERNAME

0 comments on commit 4fe6e86

Please sign in to comment.