chore: deploy script for all services
This commit is contained in:
@@ -73,6 +73,4 @@ jobs:
|
||||
ENV_TARGET="${{ github.ref_type == 'tag' && 'prod' || 'dev' }}"
|
||||
|
||||
# 3. Fire the playbook passing variables down
|
||||
ansible-playbook deploy-service.yml -e "changed_services_raw='$CHANGED_SVC' agebd_env='$ENV_TARGET'"
|
||||
|
||||
# Disable pipefail temporarily or add an '|| true' fallback so grep doesn't kill the script
|
||||
ansible-playbook deploy-service.yml -e "changed_services_raw='$CHANGED_SVC' agebd_env='$ENV_TARGET'"
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
# 2. Main Loop: Loop through the list of modified service names
|
||||
- name: Deploy Modified Services
|
||||
include_tasks: tasks/deploy_single_service.yml
|
||||
include_tasks: ansible/plays/service-deploy.yml
|
||||
loop: "{{ changed_services_raw.split() }}"
|
||||
loop_control:
|
||||
loop_var: service_dir_name
|
||||
Reference in New Issue
Block a user