File tree Expand file tree Collapse file tree 4 files changed +5
-13
lines changed
Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1212 yum : name=* state=latest
1313 tags : general
1414
15- - name : General | Add SLC devtoolset repo
16- command : curl -sL http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo -o /etc/yum.repos.d/slc6-devtoolset.repo
17- tags : general
18-
19- - name : General | Add SLC devtoolset repo GPG key
20- command : rpm --import http://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern
21- tags : general
22-
23- - name : General | Download SLC SCL repo config
24- command : curl http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo -o /etc/yum.repos.d/slc6-scl.repo
15+ - name : General | Add SCL repo
16+ yum : name=centos-release-scl state=latest
2517 tags : general
2618
2719 - name : General | Install required packages
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ server_user: iojs
33packages :
44 - git
55 - java-1.8.0-openjdk
6- - devtoolset-2
6+ - devtoolset-6
77 - git19
88 - libtool
99 - make
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ JENKINS_SLAVE_LOG="/home/iojs/$NAME.log"
44JENKINS_SECRET="{{ secret }}"
55JENKINS_SLAVE_ARGS="-jnlpUrl https://{{ ci_server }}/computer/{{ ansible_hostname }}/slave-agent.jnlp -secret $JENKINS_SECRET"
66JENKINS_ENV="OSTYPE=linux-gnu NODE_COMMON_PIPE=/home/iojs/test.pipe"
7- JENKINS_PATH="/opt/rh/devtoolset-2 /root/usr/bin"
7+ JENKINS_PATH="/opt/rh/devtoolset-6 /root/usr/bin"
88JENKINS_ENV="JOBS={{ ansible_processor_vcpus }} \
99 HOME=/home/{{ server_user }} \
1010 NODE_TEST_DIR=$HOME/tmp \
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33rm -f nohup.out
4- NODE_COMMON_PIPE=/home/iojs/test.pipe OSTYPE=linux-gnu nohup scl enable devtoolset-2 ' java -jar slave.jar -jnlpUrl https://ci.nodejs.org/computer/iojs-digitalocean-centos6-64-{{id}}/slave-agent.jnlp -secret {{secret}}' &
4+ NODE_COMMON_PIPE=/home/iojs/test.pipe OSTYPE=linux-gnu nohup scl enable devtoolset-6 ' java -jar slave.jar -jnlpUrl https://ci.nodejs.org/computer/iojs-digitalocean-centos6-64-{{id}}/slave-agent.jnlp -secret {{secret}}' &
55OSTYPE=linux-gnu nohup scl enable git19 ' java -jar slave.jar -jnlpUrl https://ci.nodejs.org/computer/iojs-digitalocean-centos6-64-gcc44-{{gcc44_id}}/slave-agent.jnlp -secret {{gcc44_secret}}' &
You can’t perform that action at this time.
0 commit comments