diff options
author | Markos Chandras <mchandras@suse.de> | 2017-12-22 20:37:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-22 20:37:33 +0000 |
commit | b6907b858e215f358a16216a5095c9c6ed3520c4 (patch) | |
tree | 302a8a1aa53a8f007f3746cc7caba87076e9ca43 /xci | |
parent | 262a6af98433ff795d7cfa6833828f61e7876387 (diff) | |
parent | 15160ea0417f8929add1273092033030c8c1a842 (diff) |
Merge "xci: playbooks: Copy local changes to scenarios"
Diffstat (limited to 'xci')
-rw-r--r-- | xci/playbooks/get-opnfv-scenario-requirements.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xci/playbooks/get-opnfv-scenario-requirements.yml b/xci/playbooks/get-opnfv-scenario-requirements.yml index 7f10a465..ec2f0d0e 100644 --- a/xci/playbooks/get-opnfv-scenario-requirements.yml +++ b/xci/playbooks/get-opnfv-scenario-requirements.yml @@ -74,6 +74,18 @@ loop_control: label: "{{ item.item.scenario }}" + - name: Synchronize local changes to scenarios' master branch + synchronize: + src: "{{ XCI_PATH }}/{{ item.item.role }}/" + dest: "{{ role_path_default }}/{{ item.item.scenario }}" + failed_when: false + when: + - item.stat.exists + - item.item.version == 'master' + with_items: "{{ scenarios_list_exists.results }}" + loop_control: + label: "{{ item.item.scenario }}" + - name: Plug in the scenario to XCI (fallback) shell: >- cp -a {{ XCI_PATH }}/{{ item.item.role }} |