-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible: use explicit tap2junit version
- Loading branch information
Showing
14 changed files
with
55 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
tap2junit_version: 0.1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ansible/roles/jenkins-worker/tasks/partials/tap2junit/aix73.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- name: install tap2junit | ||
ansible.builtin.pip: | ||
name: tap2junit | ||
name: tap2junit=={{ tap2junit_version }} | ||
state: present | ||
executable: /usr/bin/pip3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 11 additions & 4 deletions
15
ansible/roles/jenkins-worker/tasks/partials/tap2junit/smartos.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
--- | ||
|
||
# | ||
# smartos: python 2.7 | ||
# smartos | ||
# | ||
|
||
- name: install pip | ||
package: name=py27-pip state=present | ||
- name: smartos | update pip3 symlink | ||
when: os == "smartos18" | ||
file: | ||
dest: "/opt/local/bin/pip3" | ||
state: link | ||
src: "/opt/local/bin/pip3.7" | ||
|
||
- name: install tap2junit | ||
pip: name=tap2junit state=present | ||
pip: | ||
executable: /opt/local/bin/pip3 | ||
name: tap2junit=={{ tap2junit_version }} | ||
state: present |
16 changes: 13 additions & 3 deletions
16
ansible/roles/jenkins-worker/tasks/partials/tap2junit/ubuntu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
--- | ||
|
||
# | ||
# ubuntu series: python 2.7 | ||
# ubuntu series | ||
# | ||
|
||
# Install pip via `get-pip.py`. | ||
- name: download pip install script | ||
ansible.builtin.get_url: | ||
dest: "{{ home }}/{{ server_user }}/get-pip.py" | ||
url: https://bootstrap.pypa.io/get-pip.py | ||
|
||
- name: install pip | ||
package: name=python-pip state=present | ||
ansible.builtin.shell: | ||
cmd: python3 {{ home }}/{{ server_user }}/get-pip.py | ||
|
||
- name: install tap2junit | ||
pip: name=tap2junit state=present | ||
pip: | ||
name: tap2junit=={{ tap2junit_version }} | ||
state: present | ||
executable: pip3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,3 +133,5 @@ jobs_variants: { | |
arm64: '3', | ||
smartos: '2' | ||
} | ||
|
||
tap2junit_version: 0.1.6 |