/
packit-service-reverse-dep-tests.yaml
31 lines (29 loc) · 1.29 KB
/
packit-service-reverse-dep-tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- set_fact:
reverse_dir: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/packit-service/packit-service'].src_dir }}"
- name: Install ansible
dnf:
name:
- ansible
state: present
become: true
- name: install packit-service dependencies via ansible playbooks
command: ansible-playbook -e "ansible_python_interpreter=/usr/bin/python3" -v -c local -i localhost, files/install-openshift.yaml
args:
chdir: "{{ reverse_dir }}"
- name: build packit-service image form current src dir
command: ansible-playbook -e "ansible_python_interpreter=/usr/bin/python3" -v -c local -i localhost, files/packit-service-image.yaml
args:
chdir: "{{ reverse_dir }}"
- name: deploy dev version of packit-service into zuul.
command: ansible-playbook -e "ansible_python_interpreter=/usr/bin/python3" -v -c local -i localhost, files/deployment.yaml
args:
chdir: "{{ reverse_dir }}"
- name: run packit-service tests
command: ansible-playbook -e "ansible_python_interpreter=/usr/bin/python3" -v -c local -i localhost, files/zuul-tests.yaml
args:
chdir: "{{ reverse_dir }}"
- name: run packit-service requre tests
command: ansible-playbook -e "ansible_python_interpreter=/usr/bin/python3" -v -c local -i localhost, files/zuul-tests-requre.yaml
args:
chdir: "{{ reverse_dir }}"