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

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Grünewaldt authored Oct 13, 2019
1 parent 709dc39 commit 9f03e66
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# k8s-jenkins-slave-nodejs-xvfb-chrome

[![](https://codeclou.github.io/doc/badges/generated/docker-image-size-430.svg)](https://hub.docker.com/r/cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome/tags/) [![](https://codeclou.github.io/doc/badges/generated/docker-from-ubuntu-16.04.svg)](https://www.ubuntu.com/) [![](https://codeclou.github.io/doc/badges/generated/docker-run-as-non-root.svg)](https://docs.docker.com/engine/reference/builder/#/user)
[![](https://codeclou.github.io/doc/badges/generated/docker-image-size-430.svg)](https://hub.docker.com/r/cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome/tags/) [![](https://codeclou.github.io/doc/badges/generated/docker-from-ubuntu-18.04.svg)](https://www.ubuntu.com/) [![](https://codeclou.github.io/doc/badges/generated/docker-run-as-non-root.svg)](https://docs.docker.com/engine/reference/builder/#/user)

Kubernetes Docker image providing Jenkins Slave JNLP with Node.JS, xvfb and Google Chrome.

Expand All @@ -14,17 +14,16 @@ Kubernetes Docker image providing Jenkins Slave JNLP with Node.JS, xvfb and Goog

| tool | version |
|------|---------|
|kubernetes cli | apt-get |
| yarn | 1.15.2 |
| node.js | 10.15.3 |
| npm | 6.4.1 |
| google-chrome-stable | 73.0.3683.86 |
| phantomjs | apt-get |
| Xvfb | apt-get |
| git | apt-get |
| curl, wget | apt-get |
| zip, bzip2 | apt-get |
| jq | apt-get |
| yarn | 1.19.1 |
| node.js | 10.16.3 |
| npm | 6.9.0 |
| google-chrome-stable | 77.0.3865.120 |
| kubernetes cli | apt-get |
| Xvfb | apt-get |
| git | apt-get |
| curl, wget | apt-get |
| zip, bzip2 | apt-get |
| jq | apt-get |

-----
 
Expand All @@ -35,14 +34,14 @@ Use with [Kubernetes Jenkins Plugin](https://github.com/jenkinsci/kubernetes-plu

```groovy
podTemplate(
name: 'nodejs-xvfb-chrome-v31',
label: 'k8s-jenkins-slave-nodejs-xvfb-chrome-v31',
name: 'nodejs-xvfb-chrome-v32',
label: 'k8s-jenkins-slave-nodejs-xvfb-chrome-v32',
cloud: 'mycloud',
nodeSelector: 'failure-domain.beta.kubernetes.io/zone=eu-west-1a',
containers: [
containerTemplate(
name: 'jnlp',
image: 'cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome:v31',
image: 'cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome:v32',
privileged: false,
command: '/opt/docker-entrypoint.sh',
args: '',
Expand All @@ -55,7 +54,7 @@ podTemplate(
)
]
) {
node('k8s-jenkins-slave-nodejs-xvfb-chrome-v31') {
node('k8s-jenkins-slave-nodejs-xvfb-chrome-v32') {
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 9f03e66

Please sign in to comment.