monitor-gating: Specify the command to run
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
3f13b083d3
commit
15115b1a97
1 changed files with 10 additions and 1 deletions
|
@ -12,6 +12,14 @@ spec:
|
||||||
deploymentconfig: monitor-gating
|
deploymentconfig: monitor-gating
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- -c
|
||||||
|
- ssh-keyscan pkgs.stg.fedoraproject.org >> /.ssh/known_hosts
|
||||||
|
&& cd /home/packagerbot
|
||||||
|
&& USER=packagerbot python3 runner.py runner.cfg
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -28,14 +36,15 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: monitor-gating-ssh-volume
|
- name: monitor-gating-ssh-volume
|
||||||
mountPath: /home/packagerbot/.ssh/
|
mountPath: /home/packagerbot/.ssh/
|
||||||
readOnly: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: monitor-gating-secret-volume
|
- name: monitor-gating-secret-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: monitor-gating-secret
|
secretName: monitor-gating-secret
|
||||||
|
defaultMode: 365
|
||||||
- name: monitor-gating-ssh-volume
|
- name: monitor-gating-ssh-volume
|
||||||
secret:
|
secret:
|
||||||
secretName: monitor-gating-ssh
|
secretName: monitor-gating-ssh
|
||||||
|
defaultMode: 365
|
||||||
|
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue