Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial ansible support for aix71 (#1627)
- Loading branch information
George Adams
committed
Feb 7, 2019
1 parent
24678ec
commit 85c9a86
Showing
8 changed files
with
82 additions
and
3 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
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
30 changes: 30 additions & 0 deletions
30
ansible/roles/jenkins-worker/tasks/partials/tap2junit/aix.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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
|
||
# | ||
# aix: python2.7 is default | ||
# | ||
|
||
- name: check if pip exists | ||
stat: | ||
path: /usr/bin/pip | ||
register: pip_exists | ||
|
||
- name: download get-pip.py | ||
get_url: | ||
url: http://bootstrap.pypa.io/get-pip.py | ||
dest: /home/iojs/get-pip.py | ||
when: pip_exists.stat.exists == False | ||
|
||
- name: install pip | ||
raw: /usr/bin/python /home/iojs/get-pip.py | ||
when: pip_exists.stat.exists == False | ||
|
||
- name: create symbolic link | ||
file: | ||
src: "/opt/freeware/bin/pip" | ||
dest: "/usr/bin/pip" | ||
state: link | ||
when: pip_exists.stat.exists == False | ||
|
||
- name: install tap2junit | ||
pip: name=tap2junit state=present |
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,12 @@ | ||
#!/bin/sh | ||
export HOME={{ home }}/{{ server_user }} | ||
export NODE_TEST_DIR="$HOME/tmp" | ||
export JOBS="{{ jobs_env }}" | ||
|
||
export OSTYPE=aix | ||
export ARCH=ppc64le | ||
export DESTCPU=ppc64le | ||
|
||
{{ java_path[os] }} -Xmx{{ server_ram|default('128m') }} \ | ||
-jar {{ home }}/{{ server_user }}/slave.jar -secret {{ secret }} \ | ||
-jnlpUrl {{ jenkins_url }}/computer/{{ inventory_hostname }}/slave-agent.jnlp |
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