Skip to content

Commit

Permalink
Fix for pipefail in download-requirements task hitachienergy#536
Browse files Browse the repository at this point in the history
  • Loading branch information
to-bar committed Oct 7, 2019
1 parent d887b3d commit 043e55f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
Run download-requirements script, it can take a long time
You can check progress on repository host with: journalctl -f -t download-requirements.sh
shell: >-
time /tmp/epi-download-requirements/download-requirements.sh /var/www/html/epirepo --no-logfile |&
set -o pipefail && time /tmp/epi-download-requirements/download-requirements.sh /var/www/html/epirepo --no-logfile |&
tee >(systemd-cat --identifier=download-requirements.sh)
args:
executable: /bin/bash -o pipefail
executable: /bin/bash
when: not stat_result.stat.exists

- name: Create flag file to not re-download requirements next time
Expand Down

0 comments on commit 043e55f

Please sign in to comment.