1
0
Fork 0
forked from infra/ansible

add app-actions to elnbuildsync (#3506)

Signed-off-by: Vít Smolík <me@smoliicek.cz>
Reviewed-on: infra/ansible#3506
This commit is contained in:
Vít Smolík 2026-07-09 19:51:44 +00:00
commit cc1925ec64

View file

@ -10,6 +10,8 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
- /srv/web/infra/ansible/roles/openshift-apps/elnbuildsync/vars/main.yml
- /srv/web/infra/ansible/roles/openshift-apps/elnbuildsync/vars/{{ env }}.yml
vars:
OCP_BUILD_WAIT: true
tasks:
- name: ELNBuildSync DB user
@ -133,16 +135,6 @@
tags:
- build
- role: openshift/start-build
start_build_app: elnbuildsync
start_build_buildname: elnbuildsync-build
start_build_objectname: elnbuildsync-build
vars:
OCP_BUILD_WAIT: true
tags:
- never
- build
- role: openshift/route
route_app: elnbuildsync
route_name: elnbuildsync
@ -157,7 +149,13 @@
object_template: deployment.yml.j2
object_objectname: deployment.yml
vars:
object_always_apply: "{{ 'true' if ('build' in ansible_run_tags or 'redeploy' in ansible_run_tags) else 'false' }}"
object_always_apply: "{{ 'true' if 'build' in ansible_run_tags else 'false' }}"
tags:
- build
- redeploy
- role: openshift/app-actions
app_actions_app: elnbuildsync
app_actions_builds:
- elnbuildsync-build
app_actions_deployments:
- elnbuildsync