zuul-jobs/roles/osc/tasks/linkpackage.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

11 lines
473 B
YAML

---
# Create the _meta template file
- name: OSC Link Packages
command: "osc linkpac {{ src_project }} {{ item }} {{ target_project }}-1.0"
args:
chdir: "{{ stx_pkg_tmpdir.path }}"
with_items: "{{ sorted_dirs }}"
#- name: Copy meta-data
#shell: ls -la {{ top_dir }}/save/{{ item }}/*.[cstp]* {{ stx_pkg_tmpdir.path }}/{{ item }} >> /tmp/list; cp {{ top_dir }}/save/{{ item }}/*.[cstp]* {{ stx_pkg_tmpdir.path }}/{{ item }}
#with_items: "{{ sorted_dirs }}"