Skip to content

Commit 1b222ff

Browse files
author
Ash Cripps
authored
ansible: add 10.15 macs (#2189)
* ansible: Add newer versions of macOS * ansible: add macos10.15 release machine * ansible: fix openjdk download on mac * ansible: add 3 test machines also tidied up the nearform section and put it in order with the rest of the document * ansible: tweak macos install
1 parent 53838da commit 1b222ff

File tree

7 files changed

+58
-22
lines changed

7 files changed

+58
-22
lines changed

ansible/ansible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ ansible_connection = winrm
4848
ansible_winrm_server_cert_validation = ignore
4949

5050
[hosts:macos]
51-
home = /User
51+
home = /Users

ansible/inventory.yml

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,30 @@ hosts:
4444
smartos18-x64-2: {ip: 165.225.148.12}
4545
ubuntu1604_arm_cross-x64-1: {ip: 165.225.151.28, user: ubuntu}
4646

47-
- requireio:
48-
rvagg-debian10-armv6l_pi1p-1: {ip: 192.168.2.40, user: pi, alias: iojs-ns-pi1p-1 }
49-
andineck-debian10-armv6l_pi1p-1: {ip: 192.168.2.41, user: pi, alias: iojs-ns-pi1p-2 }
50-
osx1010-x64-1: {ip: 192.168.2.211, user: iojs}
47+
- macstadium:
48+
macos10.11-x64-1: {ip: 207.254.58.162, port: 10013, user: administrator}
49+
macos10.10-x64-1: {ip: 207.254.58.162, port: 10014, user: administrator}
50+
51+
- marist:
52+
zos13-s390x-1: {ip: 148.100.36.135, user: Unix1}
53+
54+
- nearform:
55+
macos10.15-x64-1: {ip: 83.147.191.69, user: administrator}
5156

5257
- osuosl:
5358
aix61-ppc64_be-1: {ip: 140.211.9.99}
5459
ubuntu1404-ppc64_be-1: {ip: 140.211.168.76}
5560
ubuntu1404-ppc64_le-1: {ip: 140.211.168.66}
5661
centos7-ppc64_le-1: {ip: 140.211.168.61, user: centos}
5762

63+
- packetnet:
64+
centos7-arm64-1: {ip: 147.75.104.218}
65+
66+
- requireio:
67+
rvagg-debian10-armv6l_pi1p-1: {ip: 192.168.2.40, user: pi, alias: iojs-ns-pi1p-1 }
68+
andineck-debian10-armv6l_pi1p-1: {ip: 192.168.2.41, user: pi, alias: iojs-ns-pi1p-2 }
69+
osx1010-x64-1: {ip: 192.168.2.211, user: iojs}
70+
5871
- scaleway:
5972
ubuntu1604-armv7l-1: {ip: 212.47.245.242}
6073
ubuntu1604-armv7l-2: {ip: 212.47.234.107}
@@ -63,15 +76,9 @@ hosts:
6376
centos6-x64-1: {ip: 169.62.77.228}
6477

6578

66-
- packetnet:
67-
centos7-arm64-1: {ip: 147.75.104.218}
6879

69-
- macstadium:
70-
macos10.11-x64-1: {ip: 207.254.58.162, port: 10013, user: administrator}
71-
macos10.10-x64-1: {ip: 207.254.58.162, port: 10014, user: administrator}
7280

73-
- marist:
74-
zos13-s390x-1: {ip: 148.100.36.135, user: Unix1}
81+
7582

7683
- test:
7784

@@ -151,6 +158,13 @@ hosts:
151158
win10_vs2017-arm64-1: {}
152159
win10_vs2017-arm64-2: {}
153160

161+
- nearform:
162+
macos10.15-x64-1: {ip: 83.147.191.70, user: administrator}
163+
macos10.15-x64-2: {ip: 83.147.191.71, user: administrator}
164+
macos10.15-x64-3: {ip: 83.147.191.72, user: administrator}
165+
intel-ubuntu1604-x64-1: {ip: 92.51.196.114}
166+
intel-ubuntu1604-x64-2: {ip: 92.51.196.115}
167+
154168

155169
- osuosl:
156170
# secret for -1 was compromised, do not use -1 name
@@ -258,7 +272,3 @@ hosts:
258272
# remember to update Jenkins worker IP whitelist in github-bot
259273
ubuntu1604-x64-1: {ip: 147.75.70.41, alias: jenkins-workspace-1}
260274
ubuntu1604-x64-2: {ip: 147.75.73.189, alias: jenkins-workspace-2}
261-
262-
- nearform:
263-
intel-ubuntu1604-x64-1: {ip: 92.51.196.114}
264-
intel-ubuntu1604-x64-2: {ip: 92.51.196.115}

ansible/roles/baselayout/vars/main.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,29 @@ packages: {
7575
],
7676

7777
'macos10.10': [
78-
'python@2,python,ccache'
78+
'python,ccache'
7979
],
8080

8181
'macos10.11': [
82-
'python@2,python,ccache'
82+
'python,ccache'
8383
],
8484

8585
'macos10.12': [
86-
'python@2,python,ccache'
86+
'python,ccache'
87+
],
88+
89+
'macos10.13': [
90+
'python,ccache'
91+
],
92+
93+
94+
'macos10.14': [
95+
'python,ccache'
96+
],
97+
98+
99+
'macos10.15': [
100+
'python,ccache'
87101
],
88102

89103
rhel7: [

ansible/roles/java-base/tasks/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,19 @@
9595
- java.rc > 0 and not os|startswith("macos")
9696
package: name="{{ java_package_name }}" state=present
9797

98+
- name: install java tap (macOS)
99+
become_user: administrator
100+
when: java.rc > 0 and os|startswith("macos")
101+
homebrew_tap:
102+
name: AdoptOpenJDK/openjdk
103+
state: present
104+
98105
- name: install java (macOS)
99106
become_user: administrator
100107
when: java.rc > 0 and os|startswith("macos")
101-
package: name="{{ java_package_name }}" state=present
108+
homebrew_cask:
109+
name: "{{ java_package_name }}"
110+
state: present
102111

103112
- name: check if java is installed AIX
104113
stat:

ansible/roles/java-base/vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ packages: {
1212
'debian10': 'openjdk-8-jre-headless',
1313
'fedora': 'java-1.8.0-openjdk-headless',
1414
'freebsd': 'openjdk8-jre',
15-
'macos': 'adoptopenjdk-openjdk8',
15+
'macos': 'adoptopenjdk8',
1616
'rhel7': 'java-1.8.0-openjdk',
1717
'smartos': 'openjdk8',
1818
'ubuntu': 'openjdk-8-jre-headless',

ansible/roles/jenkins-worker/tasks/partials/tap2junit/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
pip:
99
name: tap2junit
1010
state: present
11-
executable: /usr/local/bin/pip2
11+
executable: /usr/local/bin/pip3

ansible/roles/jenkins-worker/vars/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ java_path: {
8989
'macos10.10': 'java',
9090
'macos10.11': 'java',
9191
'macos10.12': 'java',
92+
'macos10.13': 'java',
93+
'macos10.14': 'java',
94+
'macos10.15': 'java',
9295
'smartos15': '/opt/local/java/openjdk8/bin/java',
9396
'smartos16': '/opt/local/java/openjdk8/bin/java',
9497
'smartos17': '/opt/local/java/openjdk8/bin/java',

0 commit comments

Comments
 (0)