zuul-jobs/roles/osc/tasks/detachbranch.yaml
Saul Wold b4e1802a66 Update ansible job
Since we are now storing the _service in OBS, use it instead of
constructing the file. Clean-up the unused code.

Initial testing with fault, more to come.

Story: 2006673
Task: 36943
Change-Id: Ic9cd73ee31d213550263b415670b0bcae8953236
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-10-07 15:39:59 -07:00

13 lines
288 B
YAML

---
- name: OSC Checkout
command: "osc checkout {{ item }}"
args:
chdir: "{{ stx_pkg_tmpdir.path }}"
with_items: "{{ sorted_dirs }}"
- name: Detach branch
command: "osc detachbranch"
args:
chdir: "{{ stx_pkg_tmpdir.path }}/{{ item }}"
with_items: "{{ sorted_dirs }}"