diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2020-04-12 23:51:42 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2020-05-07 19:54:20 +0200 |
commit | e64896a9b89034aa97076be9f2cb15118ba23d75 (patch) | |
tree | 39e7f9d5eba40239673e582c12bd3076a1b96186 /vagrant/ansible/roles/client.test.prep/tasks/main.yml | |
parent | f714eefd695981d04e7bfbcf2978927519861fe1 (diff) | |
download | samba-integration-e64896a9b89034aa97076be9f2cb15118ba23d75.tar.gz samba-integration-e64896a9b89034aa97076be9f2cb15118ba23d75.tar.xz samba-integration-e64896a9b89034aa97076be9f2cb15118ba23d75.zip |
Run tests on client
Fetch tests from the samba-integration-tests repo and run on the client.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Diffstat (limited to 'vagrant/ansible/roles/client.test.prep/tasks/main.yml')
-rw-r--r-- | vagrant/ansible/roles/client.test.prep/tasks/main.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/client.test.prep/tasks/main.yml b/vagrant/ansible/roles/client.test.prep/tasks/main.yml new file mode 100644 index 0000000..307590a --- /dev/null +++ b/vagrant/ansible/roles/client.test.prep/tasks/main.yml @@ -0,0 +1,19 @@ +--- +- name: Fetch the latest samba-integration-tests repo + git: + repo: 'https://github.com/gluster/samba-integration.git' + version: tests + dest: /root/samba-integration-tests + +- name: Create a symlink for test-info.yml file + file: + src: /root/test-info.yml + dest: /root/samba-integration-tests/test-info.yml + owner: root + group: root + state: link + +- name: Run tests + command: + chdir: /root/samba-integration-tests + cmd: make test |