18 lines
554 B
YAML
18 lines
554 B
YAML
# Run the system installed tests
|
|
- import_tasks: overlay-git.yml
|
|
when: use_git_build
|
|
# Down the line perhaps do each log file separately?
|
|
- name: Run sysinstalled tests
|
|
shell: /root/tests/installed/run.sh &> /root/installed-tests.log
|
|
register: sysinstalled_result
|
|
failed_when: False
|
|
- name: Fetch sysinstalled results
|
|
fetch:
|
|
src: /root/installed-tests.log
|
|
dest: artifacts/installed-tests.log
|
|
flat: yes
|
|
- name: Assert that sysinstalled tests succeeded
|
|
when: sysinstalled_result.rc != 0
|
|
fail:
|
|
msg: "sysinstalled tests failed"
|