playbooks: Stop cloning bats libraries

The libraries are now provided as submodules. There's no need to clone
them separately.

https://github.com/containers/toolbox/pull/842
This commit is contained in:
Ondřej Míchal 2021-07-22 00:03:58 +02:00
parent 2594199fef
commit 0ff01977d6
1 changed files with 6 additions and 13 deletions

View File

@ -18,19 +18,12 @@
- systemd - systemd
- udisks2 - udisks2
- name: Install bats-assert library - name: Setup submodules
git: shell: |
repo: https://github.com/bats-core/bats-assert git submodule init
dest: '{{ zuul.project.src_dir }}/test/system/libs/bats-assert' git submodule update
depth: 1 args:
version: v2.0.0 chdir: '{{ zuul.project.src_dir }}'
- name: Install bats-support library
git:
repo: https://github.com/bats-core/bats-support
dest: '{{ zuul.project.src_dir }}/test/system/libs/bats-support'
depth: 1
version: v0.3.0
- name: Setup environment - name: Setup environment
become: yes become: yes