Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
upgrade to nodejs 9
Browse files Browse the repository at this point in the history
  • Loading branch information
clouless committed Mar 27, 2018
1 parent 87f9016 commit 4c2853e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get -qqy update \
#
# NODEJS
#
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - && \
apt-get update -qqy && apt-get -qqy install -y nodejs && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Kubernetes Docker image providing Jenkins Slave JNLP with Node.JS, xvfb and Goog

| tool | version |
|------|---------|
| yarn | 1.2.0 |
| node.js | 8.6.0 |
| npm | 5.3.0 |
| google-chrome-stable | 61 |
| yarn | 1.5.1 |
| node.js | 9.9.0 |
| npm | 5.6.0 |
| google-chrome-stable | 65 |
| phantomjs | apt-get |
| Xvfb | apt-get |
| git | apt-get |
Expand All @@ -34,14 +34,14 @@ Use with [Kubernetes Jenkins Plugin](https://github.com/jenkinsci/kubernetes-plu

```groovy
podTemplate(
name: 'nodejs-xvfb-chrome-v28',
label: 'k8s-jenkins-slave-nodejs-xvfb-chrome-v28',
name: 'nodejs-xvfb-chrome-v29',
label: 'k8s-jenkins-slave-nodejs-xvfb-chrome-v29',
cloud: 'mycloud',
nodeSelector: 'failure-domain.beta.kubernetes.io/zone=eu-west-1a',
containers: [
containerTemplate(
name: 'jnlp',
image: 'cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome:v28',
image: 'cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome:v29',
privileged: false,
command: '/opt/docker-entrypoint.sh',
args: '',
Expand All @@ -54,7 +54,7 @@ podTemplate(
)
]
) {
node('k8s-jenkins-slave-nodejs-xvfb-chrome-v28') {
node('k8s-jenkins-slave-nodejs-xvfb-chrome-v29') {
stage('build and test') {
sh 'mvn -version'
sh 'git clone https://github.com/clouless/angular-4-unit-test-dummy.git'
Expand Down

0 comments on commit 4c2853e

Please sign in to comment.