Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Kostromin committed Nov 17, 2018
1 parent b9373d8 commit 6fc4f9e
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 10 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
notifications:
email: false
git:
depth: false
service:
- docker
env:
global:
- VERSION=v1
- VERSION=v2
- DOCKER_IMAGE="daggerok/e2e:${TRAVIS_BRANCH}"
- IMAGE="${TRAVIS_BRANCH}-${TRAVIS_BUILD_NUMBER}"
- TERM=dumb
- secure: KLDnrnXgD6pbAa9CwwiEvcbO1umX2FrbFc/b2uYYVbSrHRI64V5iwYnYDLE4Ldx8CL1/5pzpSbBciHYXOcUZGu9jVm4GuCQd0RAZYwymG8rJBxcfdyuGRooZHjGB5A3BtYtDvViMI3oLe2J1Su5dycsASfc6Va51QVx6L/Jm69yYG9/MmVsCh3jWHpA3rrGhd5vKmfJeb6EUjckIf2iT1flifHr5C6dv3rLtVisiLSUq4YEEqzNWOoI2qjTUgXidXA3XTvrXvm0GgRc/eKfZECPmPsG+Oo0jiNRLJeOnlOmKPDbDgHbLC1yQ8l5C27LZ9XUNRPDZ8Hh5vnywhvs5Jw1+sVdyv0NYwKY0eclQlL7Zu7y0fUODv6g7EpE6XW1q6SYQsoChe5NGG6RD9A+NI51UNmSYK2ziwu9bddN5Mr++x13BZhicaWqELwJ9EXSD8WFbtminFASnZwRuEVDsSHGiJBuhapAqaLFroC3PiYpXYta8Fdw+9uXJpQ35BtPQGAjZdO9fUn1vwJ/7G7IjQH58+FGUZqfLdv1lB8n5m4hj2L9bblDA6et7ubhks9EvTYI/SiIqeeYuQEAov0RZEaVxneRXdeClFWWEdYOFrzwBDqL4hRAz2vyzdySv0iRmfbWwVcOM7qsWDN2CbFit6UTU5XnoZiUZ+DkBd2zdxmI=
addons:
apt:
update: true
packages:
- bash
- docker-ce
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM daggerok/e2e:trusty-xvfb-jdk8-base-v1
FROM daggerok/e2e:trusty-xvfb-jdk8-base-v2
LABEL MAINTAINER='Maksim Kostromin <daggerok@gmail.com> https://github.com/daggerok'
ENV DISPLAY=':99' \
CHROME_DRV_VER='2.41'
CHROME_DRV_VER='2.43'
# chrome
RUN sudo apt-get update -y \
RUN sudo apt-get update -y || echo 'oops...' \
&& sudo apt-get clean -y \
&& sudo apt-get install --fix-missing -y \
fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 \
Expand Down
31 changes: 26 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# E2E chrome image [![Build Status](https://travis-ci.org/daggerok/e2e.svg?branch=trusty-xvfb-jdk8-chrome)](https://travis-ci.org/daggerok/e2e)
automated build for docker hub

stack:
versions:

- Docker Ubuntu `Bionic 18.04`
- Docker Ubuntu `Xenial 16.04`
- Docker Ubuntu `Trusty 14.04`
- Docker Ubuntu `Precise 12.04`
- Oracle Java Development Kit 8
- Chrome with chrome driver version: `2.41`
- Firefox with gecko driver version: `0.21.0`
- Chrome with chrome driver version: `2.43`
- Firefox with gecko driver version: `0.23.0`
- Установка X Virtual Frame Buffer (xvfb)

available images:
Expand All @@ -18,16 +21,34 @@ available images:

tags:

- [latest (bionic-xvfb-jdk8-firefox)](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-firefox-v2)
- [bionic-xvfb-jdk8](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-v2)
- [bionic-xvfb-jdk8-chrome](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-chrome-v2)
- [bionic-xvfb-jdk8-firefox](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-firefox-v2)
- [bionic-xvfb-jdk8-base](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-base-v2)

- [ubuntu-xvfb-jdk8](https://github.com/daggerok/e2e/tree/ubuntu-xvfb-jdk8-v1)
- [ubuntu-xvfb-jdk8-chrome](https://github.com/daggerok/e2e/tree/ubuntu-xvfb-jdk8-chrome-v1)
- [ubuntu-xvfb-jdk8-firefox](https://github.com/daggerok/e2e/tree/ubuntu-xvfb-jdk8-firefox-v1)
- [ubuntu-xvfb-jdk8-base](https://github.com/daggerok/e2e/tree/ubuntu-xvfb-jdk8-base-v1)

- [bionic-xvfb-jdk8](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-v1)
- [bionic-xvfb-jdk8-chrome](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-chrome-v1)
- [bionic-xvfb-jdk8-firefox](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-firefox-v1)
- [bionic-xvfb-jdk8-base](https://github.com/daggerok/e2e/tree/bionic-xvfb-jdk8-base-v1)

- [xenial-xvfb-jdk8](https://github.com/daggerok/e2e/tree/xenial-xvfb-jdk8-v1)
- [xenial-xvfb-jdk8-chrome](https://github.com/daggerok/e2e/tree/xenial-xvfb-jdk8-chrome-v1)
- [xenial-xvfb-jdk8-firefox](https://github.com/daggerok/e2e/tree/xenial-xvfb-jdk8-firefox-v1)
- [xenial-xvfb-jdk8-base](https://github.com/daggerok/e2e/tree/xenial-xvfb-jdk8-base-v1)

- [trusty-xvfb-jdk8](https://github.com/daggerok/e2e/tree/trusty-xvfb-jdk8-v1)
- [trusty-xvfb-jdk8-chrome](https://github.com/daggerok/e2e/tree/trusty-xvfb-jdk8-chrome-v1)
- [trusty-xvfb-jdk8-firefox](https://github.com/daggerok/e2e/tree/trusty-xvfb-jdk8-firefox-v1)
- [trusty-xvfb-jdk8-base](https://github.com/daggerok/e2e/tree/trusty-xvfb-jdk8-base-v1)

- [precise-xvfb-jdk8](https://github.com/daggerok/e2e/tree/precise-xvfb-jdk8-v1)

## Usage

### just create your test Dockerfile
Expand All @@ -53,7 +74,7 @@ COPY . .

```dockerfile

FROM daggerok/e2e:ubuntu-xvfb-jdk8-firefox-v1
FROM daggerok/e2e:ubuntu-xvfb-jdk8-firefox-v2
WORKDIR 'project-directory/'
ENTRYPOINT start-xvfb && ./gradlew test firefox
COPY . .
Expand Down Expand Up @@ -118,6 +139,6 @@ git push origin $tagName # push tag
git add .
git commit -am ...
git push origin trusty-xvfb-jdk8-chrome
git tag trusty-xvfb-jdk8-chrome-v1
git tag trusty-xvfb-jdk8-chrome-v2
git push origin --tags
```

0 comments on commit 6fc4f9e

Please sign in to comment.