Skip to content

Commit

Permalink
smartos: add new hosts and update playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jbergstroem committed Nov 12, 2015
1 parent 386c965 commit ae50010
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions setup/ansible-inventory
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ iojs-build-ubuntu1204-64-1
[iojs-build-smartos]
iojs-build-smartos-64-1
iojs-build-smartos-32-1
iojs-joyent-smartos13.3.1-release
nodejs-release-joyent-smartos153-64-1

[iojs-build-freebsd101-32]
iojs-build-freebsd101-32-1
Expand Down
6 changes: 6 additions & 0 deletions setup/smartos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Host iojs-build-smartos-64-1
Host iojs-build-smartos-32-1
HostName 165.225.138.254
User root
Host iojs-joyent-smartos13.3.1-release
HostName 72.2.114.225
Host nodejs-release-joyent-smartos153-64-1
Hostname 72.2.115.68
```

Note that these hostnames are also used in the ansible-inventory file. The IP addresses will need to be updated each time the servers are reprovisioned.
Expand Down
4 changes: 2 additions & 2 deletions setup/smartos/ansible-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ssh_users:
packages:
- openjdk7
- git
- gcc49
- gcc49-libs
- gcc48
- gcc48-libs
- gccmakedep
- gmake
- automake
Expand Down
2 changes: 2 additions & 0 deletions setup/smartos/host_vars/nodejs-release-joyent-smartos153-64-1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
server_id: nodejs-release-joyent-smartos153-64-1
server_secret: a32834c6f9bbdee4f64ceb8c52105bcb741d765cc1a3975a21c706bc0d7f7cb1
3 changes: 2 additions & 1 deletion setup/smartos/resources/jenkins_manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
<envvar name='HOME' value='/home/iojs' />
<envvar name='JOBS' value='8' />
<envvar name='DESTCPU' value='{{destcpu}}' />
<envvar name='ARCH' value='{{destcpu}}' />
<envvar name='PATH' value='/opt/local/libexec/ccache:/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin' />
</method_environment>
</method_context>

<exec_method type='method'
name='start'
exec='/opt/local/bin/java -Xmx512m -jar slave.jar -jnlpUrl https://ci.nodejs.org/computer/iojs-joyent-smartos-{{id}}/slave-agent.jnlp -secret {{secret}} >> /home/iojs/jenkins_console.log'
exec='/opt/local/bin/java -Xmx512m -jar slave.jar -jnlpUrl https://ci.nodejs.org/computer/{{id}}/slave-agent.jnlp -secret {{secret}} >> /home/iojs/jenkins_console.log'
timeout_seconds='60' />

<exec_method type="method"
Expand Down

0 comments on commit ae50010

Please sign in to comment.