openqa/server: load the update test templates
Forgot these were in a separate file...
This commit is contained in:
parent
5ebc776918
commit
5f15217f0a
1 changed files with 6 additions and 1 deletions
|
@ -255,11 +255,16 @@
|
|||
# a correct 'changed' for this step is too difficult. Instead we have
|
||||
# the prior and following steps; when the templates actually changed,
|
||||
# the *following* step will register as changed.
|
||||
- name: Load tests
|
||||
- name: Load main tests
|
||||
command: "/var/lib/openqa/share/tests/fedora/templates --clean"
|
||||
when: "(gittests is defined) and (gittests|changed)"
|
||||
changed_when: "1 != 1"
|
||||
|
||||
- name: Load update tests
|
||||
command: "/var/lib/openqa/share/tests/fedora/templates-updates --update"
|
||||
when: "(gittests is defined) and (gittests|changed)"
|
||||
changed_when: "1 != 1"
|
||||
|
||||
- name: Check if the tests changed in previous step
|
||||
shell: "/usr/share/openqa/script/dump_templates --json > /tmp/tmpl-new.json && json_diff /tmp/tmpl-old.json /tmp/tmpl-new.json"
|
||||
when: "(gittests is defined) and (gittests|changed)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue