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

Commit

Permalink
v31 upate tools. add ffmpeg for videorecording of testcafe e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
clouless committed Mar 29, 2019
1 parent 93cde4b commit 638d98d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ FROM cloutainer/k8s-jenkins-slave-base:v21
#
# BASE PACKAGES
#
RUN apt-get -qqy update \
RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* && \
apt-get -qqy update \
&& apt-get -qqy --no-install-recommends install \
xvfb \
pulseaudio \
ffmpeg \
g++ \
build-essential \
dbus \
phantomjs \
dbus-x11 && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
dbus-x11

#
# NODEJS
Expand Down
14 changes: 7 additions & 7 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.13.0 |
| node.js | 10.15.0 |
| yarn | 1.15.2 |
| node.js | 10.15.3 |
| npm | 6.4.1 |
| google-chrome-stable | 71 |
| google-chrome-stable | 73.0.3683.86 |
| 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-v29',
label: 'k8s-jenkins-slave-nodejs-xvfb-chrome-v29',
name: 'nodejs-xvfb-chrome-v31',
label: 'k8s-jenkins-slave-nodejs-xvfb-chrome-v31',
cloud: 'mycloud',
nodeSelector: 'failure-domain.beta.kubernetes.io/zone=eu-west-1a',
containers: [
containerTemplate(
name: 'jnlp',
image: 'cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome:v29',
image: 'cloutainer/k8s-jenkins-slave-nodejs-xvfb-chrome:v31',
privileged: false,
command: '/opt/docker-entrypoint.sh',
args: '',
Expand All @@ -54,7 +54,7 @@ podTemplate(
)
]
) {
node('k8s-jenkins-slave-nodejs-xvfb-chrome-v29') {
node('k8s-jenkins-slave-nodejs-xvfb-chrome-v31') {
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 638d98d

Please sign in to comment.