-
Notifications
You must be signed in to change notification settings - Fork 109
/
Copy pathupdate-dbg.yaml
41 lines (41 loc) · 1.22 KB
/
update-dbg.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
periodics:
- name: update-dbg
cron: "0 8 * * *"
decorate: true
extra_refs:
# Check out the falcosecurity/test-infra repo
# This will be the working directory
- org: falcosecurity
repo: test-infra
base_ref: master
workdir: true
spec:
containers:
# See images/update-dbg
- image: 292999226676.dkr.ecr.eu-west-1.amazonaws.com/test-infra/update-dbg
imagePullPolicy: Always
command:
- /entrypoint.sh
args:
- /etc/github-token/oauth
env:
- name: GH_PROXY
value: https://api.github.com # fixme > Can't reach http://ghproxy at the moment
volumeMounts:
- name: github
mountPath: /etc/github-token
readOnly: true
- name: gpg-signing-key
mountPath: /root/gpg-signing-key/
readOnly: true
volumes:
- 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"