Skip to content

Commit

Permalink
[dev-scripts] Capture make log
Browse files Browse the repository at this point in the history
  • Loading branch information
pablintino authored and openshift-merge-bot[bot] committed Aug 8, 2024
1 parent f935205 commit 6148ebc
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions roles/devscripts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,10 @@
}}
block:
- name: Run devscripts make all
register: _devscripts_deploy
no_log: true
community.general.make:
cifmw.general.ci_script:
chdir: "{{ cifmw_devscripts_repo_dir }}"
target: "all"
async: "{{ cifmw_devscripts_installer_timeout }}"
poll: 0

- name: Check async deploy status
no_log: true
ansible.builtin.async_status:
jid: "{{ _devscripts_deploy.ansible_job_id }}"
register: _deploy_status
until: _deploy_status.finished
retries: "{{ (cifmw_devscripts_installer_timeout / 15) | int }}"
delay: 30

output_dir: "{{ cifmw_devscripts_artifacts_dir }}"
script: "timeout {{ cifmw_devscripts_installer_timeout }} make all"
always:
- name: Gather logs
register: _deploy_logs
Expand Down

0 comments on commit 6148ebc

Please sign in to comment.