ELNBuildSync: Use different config branch on staging
Also fix missing variable reference for the main role deployment playbook. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com> rh-pre-commit.version: 2.4.0 rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
parent
63101653a1
commit
92d93d29f0
3 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
|||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- /srv/private/ansible/vars.yml
|
||||
- /srv/web/infra/ansible/vars/apps/elnbuildsync.yml
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
roles:
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ spec:
|
|||
containers:
|
||||
- name: elnbuildsync
|
||||
image: "image-registry.openshift-image-registry.svc:5000/elnbuildsync/elnbuildsync:{{ ebs_upstream_ref }}"
|
||||
args: ['--config-branch', "{{ (env == 'production') | ternary(ebs_config_branch, ebs_stg_config_branch) }}" ]
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /startup
|
||||
|
|
|
|||
|
|
@ -4,3 +4,6 @@ ebs_upstream_ref: 1.1.0
|
|||
|
||||
ebs_db_user: elnbuildsync
|
||||
ebs_db_name: elnbuildsync
|
||||
|
||||
ebs_config_branch: main
|
||||
ebs_stg_config_branch: staging
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue