Skip to content

Commit

Permalink
ansible: add smartos test hosts and allow for smartos22
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanaslett authored and targos committed Dec 22, 2024
1 parent 8b6d1f8 commit 7dc0f92
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
17 changes: 17 additions & 0 deletions ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,23 @@ hosts:
smartos21-x64-2: {ip: 8.225.232.137}
smartos23-x64-1: {ip: 8.225.232.134}
smartos23-x64-2: {ip: 8.225.232.141}
smartos22-x64-1:
ip: 172.16.9.3
ansible_ssh_common_args: '-o ProxyCommand="ssh -i ~/.ssh/nodejs_build_test -W %h:%p [email protected]"'
ansible_user: root
smartos22-x64-2:
ip: 172.16.9.3
ansible_ssh_common_args: '-o ProxyCommand="ssh -i ~/.ssh/nodejs_build_test -W %h:%p [email protected]"'
ansible_user: root
smartos23-x64-4:
ip: 172.16.9.3
ansible_ssh_common_args: '-o ProxyCommand="ssh -i ~/.ssh/nodejs_build_test -W %h:%p [email protected]"'
ansible_user: root
smartos23-x64-5:
ip: 172.16.9.3
ansible_ssh_common_args: '-o ProxyCommand="ssh -i ~/.ssh/nodejs_build_test -W %h:%p [email protected]"'
ansible_user: root


- osuosl:
# secret for -1 was compromised, do not use -1 name
Expand Down
12 changes: 10 additions & 2 deletions ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ssh_config: /etc/ssh/sshd_config

sshd_service_map: {
'smartos21': 'ssh',
'smartos22': 'ssh',
'smartos23': 'ssh',
}

Expand Down Expand Up @@ -110,11 +111,18 @@ packages: {
'py310-pip'
],

smartos22: [
'gcc12',
'ccache',
'python311',
'py311-pip'
],

smartos23: [
'gcc13',
'ccache',
'python310',
'py310-pip'
'python312',
'py312-pip'
],

ubuntu: [
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/jenkins-worker/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ java_path: {
'macos11': 'java',
'macos11.0': 'java',
'smartos21': '/opt/local/java/openjdk11/bin/java',
'smartos22': '/opt/local/java/openjdk11/bin/java',
'smartos23': '/opt/local/java/openjdk11/bin/java',
'zos24': '/usr/lpp/java/J8.0_64/bin/java'
}
Expand Down

0 comments on commit 7dc0f92

Please sign in to comment.