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
|
||||
strategy:
|
||||
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:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -28,14 +36,15 @@ spec:
|
|||
readOnly: true
|
||||
- name: monitor-gating-ssh-volume
|
||||
mountPath: /home/packagerbot/.ssh/
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: monitor-gating-secret-volume
|
||||
secret:
|
||||
secretName: monitor-gating-secret
|
||||
defaultMode: 365
|
||||
- name: monitor-gating-ssh-volume
|
||||
secret:
|
||||
secretName: monitor-gating-ssh
|
||||
defaultMode: 365
|
||||
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue