From 809fcb7ea7f757a5b5e758845254a58d8c173771 Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Tue, 24 Apr 2018 23:55:50 +0200 Subject: [PATCH 1/8] set version to 0.9.1-SNAPSHOT --- CHANGELOG.md | 33 +++++++++++++++++++ docker/RELEASE/README.md | 6 ++-- docker/RELEASE/alpine_tomcat-7/Dockerfile | 10 +++--- docker/RELEASE/alpine_tomcat-8.5/Dockerfile | 10 +++--- .../RELEASE/ubuntu-14.04_tomcat-7/Dockerfile | 10 +++--- .../RELEASE/ubuntu-16.04_tomcat-7/Dockerfile | 10 +++--- .../distrib/alpine_tomcat-7/Dockerfile | 2 +- .../distrib/alpine_tomcat-8.5/Dockerfile | 2 +- .../distrib/alpine_tomcat-9/Dockerfile | 2 +- .../distrib/debian-9_tomcat-8.5/Dockerfile | 2 +- .../distrib/debian_tomcat-9_jre9/Dockerfile | 2 +- .../distrib/ubuntu-14.04_tomcat-7/Dockerfile | 2 +- .../distrib/ubuntu-16.04_tomcat-7/Dockerfile | 2 +- .../ubuntu-16.04_tomcat-8.0/Dockerfile | 2 +- .../ubuntu-18.04_tomcat-8.5/Dockerfile | 2 +- .../01.no.config.file/Dockerfile | 2 +- .../10.default.algo/Dockerfile | 2 +- .../test_config-file/20.debug.env/Dockerfile | 2 +- .../test_config-file/30.piwik/Dockerfile | 2 +- .../40.searchEngineIndex/Dockerfile | 2 +- .../README.txt | 2 +- .../Ubuntu_14.04_tomcat7_full/Dockerfile | 4 +-- .../Ubuntu_16.04_tomcat7_full/Dockerfile | 4 +-- .../Ubuntu_16.04_tomcat8_full/Dockerfile | 4 +-- .../Ubuntu_18.04_tomcat8_full/Dockerfile | 4 +-- .../Ubuntu_14.04_tomcat7_full/Dockerfile | 4 +-- .../Ubuntu_16.04_tomcat7_full/Dockerfile | 4 +-- .../Ubuntu_16.04_tomcat8_full/Dockerfile | 4 +-- .../Ubuntu_18.04_tomcat8_full/Dockerfile | 4 +-- .../pre-requisites_Alpine_tomcat-7/Dockerfile | 2 +- .../Dockerfile | 2 +- .../pre-requisites_Alpine_tomcat-9/Dockerfile | 2 +- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../en/10_Install_doc/webapp_Installation.md | 2 +- documentation/pom.xml | 4 +-- engine/api/pom.xml | 4 +-- engine/hsv/pom.xml | 4 +-- engine/impl/pom.xml | 4 +-- engine/pom.xml | 4 +-- engine/utils/pom.xml | 4 +-- pom.xml | 2 +- webapp/pom.xml | 4 +-- .../WEB-INF/template/template_variables.jspf | 2 +- 48 files changed, 113 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d19c14f..901e1e32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # CHANGELOG +Contrast-Finder 0.9.1, 2018-05-xx +--------------------------------- + +Upgrade-o-meter: just replace the .war file and restart Tomcat + +### New Feature +none + +### Security +none + +### Outdated dependencies +none + +### Bug +none + +### Improvement +none + +### Refactoring +none + +### Configuration +none + +### Documentation +none + +### Task +none + + Contrast-Finder 0.9.0, 2018-04-24 --------------------------------- diff --git a/docker/RELEASE/README.md b/docker/RELEASE/README.md index 6796aaad..6adcd10f 100644 --- a/docker/RELEASE/README.md +++ b/docker/RELEASE/README.md @@ -13,9 +13,9 @@ Supported tags and respective `Dockerfile` links : * [pre-requisites_Alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile) ### Releases -* [latest, v0.9.0, ubuntu-16.04](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile) -* [alpine, v0.9.0_alpine, alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/alpine_tomcat-8.5/Dockerfile) -* [v0.8.6](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.6/docker/RELEASE/Dockerfile), [v0.8.5](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.5/docker/RELEASE/Dockerfile), [v0.8.4](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.4/docker/RELEASE/Dockerfile), [v0.8.3](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.3/docker/RELEASE/Dockerfile), [v0.8.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.2/docker/RELEASE/Dockerfile), [v0.8.1](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.1/docker/RELEASE/Dockerfile), [v0.8.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.0/docker/RELEASE/Dockerfile) +* [latest, v0.9.1-SNAPSHOT, ubuntu-16.04](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile) +* [alpine, v0.9.1-SNAPSHOT_alpine, alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/alpine_tomcat-8.5/Dockerfile) +* [v0.9.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.9.0/docker/RELEASE/Dockerfile), [v0.8.6](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.6/docker/RELEASE/Dockerfile), [v0.8.5](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.5/docker/RELEASE/Dockerfile), [v0.8.4](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.4/docker/RELEASE/Dockerfile), [v0.8.3](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.3/docker/RELEASE/Dockerfile), [v0.8.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.2/docker/RELEASE/Dockerfile), [v0.8.1](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.1/docker/RELEASE/Dockerfile), [v0.8.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.0/docker/RELEASE/Dockerfile) * [v0.7.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.7.0/docker/RELEASE/Dockerfile), [v0.6.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.6.0/docker/RELEASE/Dockerfile), [v0.5.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.5.2/docker/RELEASE/Dockerfile) ## How to use this image diff --git a/docker/RELEASE/alpine_tomcat-7/Dockerfile b/docker/RELEASE/alpine_tomcat-7/Dockerfile index 5b89ac67..8246f5c4 100644 --- a/docker/RELEASE/alpine_tomcat-7/Dockerfile +++ b/docker/RELEASE/alpine_tomcat-7/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-7 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (tomcat7 < jdk7 < alpine 3.7)" \ - org.label-schema.version = "0.9.0" \ + org.label-schema.version = "0.9.1-SNAPSHOT" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder:alpine" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.0 . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/contrast-finder-webapp_0.9.0.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -39,7 +39,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.0" +ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/alpine_tomcat-8.5/Dockerfile b/docker/RELEASE/alpine_tomcat-8.5/Dockerfile index 92948a19..0c00a52f 100644 --- a/docker/RELEASE/alpine_tomcat-8.5/Dockerfile +++ b/docker/RELEASE/alpine_tomcat-8.5/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-8.5 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (tomcat 8.5 < jdk 8 < alpine 3.7)" \ - org.label-schema.version = "0.9.0" \ + org.label-schema.version = "0.9.1-SNAPSHOT" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder:alpine" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.0 . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/contrast-finder-webapp_0.9.0.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -39,7 +39,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.0" +ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile b/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile index 5432cad9..20e1a24c 100644 --- a/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile +++ b/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (Ubuntu 14.04 - Tomcat 7)" \ - org.label-schema.version = "0.9.0" \ + org.label-schema.version = "0.9.1-SNAPSHOT" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.0 . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/contrast-finder-webapp_0.9.0.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -37,7 +37,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.0" +ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile b/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile index 4ec27beb..02a823fa 100644 --- a/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile +++ b/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (Ubuntu 16.04 - Tomcat 7)" \ - org.label-schema.version = "0.9.0" \ + org.label-schema.version = "0.9.1-SNAPSHOT" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.0 . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/contrast-finder-webapp_0.9.0.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -37,7 +37,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.0" +ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile b/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile index 0044394f..f7be6242 100644 --- a/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile @@ -21,7 +21,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile b/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile index 6a1fa0ac..bf5a6ee9 100644 --- a/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile @@ -22,7 +22,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-8.5 # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile b/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile index 2fcb6f10..8c08ed97 100644 --- a/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile @@ -22,7 +22,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-9 # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile b/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile index fa91237d..68782a69 100644 --- a/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Debian-9_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile b/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile index c41b9dc2..56e3a2b1 100644 --- a/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile @@ -22,7 +22,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Debian_tomcat-9_jre9 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ENV CONF_ENV="debug" # Add contrast-finder .war diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile index d60fa6fb..884cef18 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile index 16574099..b57e0c71 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile index cc65c285..6971c951 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-8.0 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile index 605d0fcc..8e96d126 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile @@ -20,7 +20,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile b/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile index b9fbd351..6ff9242c 100644 --- a/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile b/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile index 650d2b56..b3bed579 100644 --- a/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ENV CONF_DEFAULT_ALGO="Rgb" # ENV CONF_DEFAULT_ALGO="Rgb" # ENV CONF_DEFAULT_ALGO="HSV" diff --git a/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile b/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile index 9de5781c..fe3dd4fa 100644 --- a/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ENV CONF_ENV="debug" # Add contrast-finder .war diff --git a/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile b/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile index 951048e8..1e1e3970 100644 --- a/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ENV PIWIK_KEY="9" ENV PIWIK_URL="http://localhost/piwik/" diff --git a/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile b/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile index 7d323701..c7746943 100644 --- a/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" ENV SEARCH_ENGINGE="yes" # Add contrast-finder .war diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt index 9ec1ba0c..f5f97ff7 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt @@ -2,7 +2,7 @@ ----- with libspring-instrument-java --------------------------------------- - commit 527be04da1385e05940051de27e2c356d9cedc5d + commit 527be04da1385e0.9.1-SNAPSHOT051de27e2c356d9cedc5d OK /distrib/debian-8_tomcat-7_legacy-debian OK /test_tomcat-7-8/Ubuntu_14.04_tomcat7_full diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile index c295dbba..e4e6060e 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 14.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -79,7 +79,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile index 7167391f..e9200d29 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -79,7 +79,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile index e06d3fc3..0af71355 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 8)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -79,7 +79,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile index ebaad7ca..ca9657f4 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -79,7 +79,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile index a6e70744..07f97ec8 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 14.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -76,7 +76,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile index 177d1927..f5e14bf3 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -76,7 +76,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile index 523841b5..5b8aba49 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 8)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -76,7 +76,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile index 0f7a40c9..035021d6 100644 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile +++ b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### @@ -76,7 +76,7 @@ HEALTHCHECK --timeout=3s \ ###################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.0" +ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile b/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile index c97328ba..90b0f472 100644 --- a/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat7 < jdk7 < alpine 3.7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile index cc3b05f8..5f78c5bf 100644 --- a/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat 8.5 < jdk 8 < alpine 3.7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile b/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile index 34ce1c57..e63dfef6 100644 --- a/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile @@ -4,7 +4,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat 9 < jdk 8 < alpine 3.7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile index bc3cca13..d7cdc348 100644 --- a/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Debian 9 - Tomcat 8.5)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile b/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile index 898a7155..51afa785 100644 --- a/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat 9 < jdk 9 < debian SID)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile index 416a0795..2aff029d 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 14.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile index 92582d03..e16d6046 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile index c9ff0f93..ccf70169 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 8.0)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile index 66313b36..bbb0ecf1 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8.5)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.0" + org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/documentation/en/10_Install_doc/webapp_Installation.md b/documentation/en/10_Install_doc/webapp_Installation.md index 451ddefc..e1a580ee 100644 --- a/documentation/en/10_Install_doc/webapp_Installation.md +++ b/documentation/en/10_Install_doc/webapp_Installation.md @@ -14,7 +14,7 @@ You just need to replace `tomcat7` with `tomcat8` in the following command lines ```bash cd /tmp -wget https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.0/contrast-finder-webapp_0.9.0.tar.gz +wget https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz tar -xzvf contrast-finder-webapp_*.tar.gz cd contrast-finder-webapp_*/ mv -v install/contrast-finder-webapp_*.war contrast-finder.war diff --git a/documentation/pom.xml b/documentation/pom.xml index 2942c4b1..e261982b 100644 --- a/documentation/pom.xml +++ b/documentation/pom.xml @@ -4,11 +4,11 @@ org.asqatasun contrast-finder - 0.9.0 + 0.9.1-SNAPSHOT documentation pom - 0.9.0 + 0.9.1-SNAPSHOT contrast-finder-documentation diff --git a/engine/api/pom.xml b/engine/api/pom.xml index 95343fc9..1059b43e 100644 --- a/engine/api/pom.xml +++ b/engine/api/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.0 + 0.9.1-SNAPSHOT contrast-finder-api - 0.9.0 + 0.9.1-SNAPSHOT jar api diff --git a/engine/hsv/pom.xml b/engine/hsv/pom.xml index d77112ed..e1deefa5 100644 --- a/engine/hsv/pom.xml +++ b/engine/hsv/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.0 + 0.9.1-SNAPSHOT contrast-finder-hsv - 0.9.0 + 0.9.1-SNAPSHOT jar hsv diff --git a/engine/impl/pom.xml b/engine/impl/pom.xml index 9eda934c..d56f4b2d 100644 --- a/engine/impl/pom.xml +++ b/engine/impl/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.0 + 0.9.1-SNAPSHOT contrast-finder-impl - 0.9.0 + 0.9.1-SNAPSHOT jar impl diff --git a/engine/pom.xml b/engine/pom.xml index 4e49ebd5..6196dc9c 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -4,10 +4,10 @@ org.asqatasun contrast-finder - 0.9.0 + 0.9.1-SNAPSHOT engine - 0.9.0 + 0.9.1-SNAPSHOT pom contrast-finder-engine diff --git a/engine/utils/pom.xml b/engine/utils/pom.xml index 91b504dd..22696633 100644 --- a/engine/utils/pom.xml +++ b/engine/utils/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.0 + 0.9.1-SNAPSHOT contrast-finder-utils - 0.9.0 + 0.9.1-SNAPSHOT jar utils diff --git a/pom.xml b/pom.xml index 93d92750..38b2e3fb 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ org.asqatasun contrast-finder pom - 0.9.0 + 0.9.1-SNAPSHOT Contrast-Finder diff --git a/webapp/pom.xml b/webapp/pom.xml index 3d7b123c..21f81e8d 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -4,10 +4,10 @@ org.asqatasun contrast-finder - 0.9.0 + 0.9.1-SNAPSHOT webapp - 0.9.0 + 0.9.1-SNAPSHOT war contrast-finder-webapp diff --git a/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf b/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf index 19e72107..61644f31 100644 --- a/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf +++ b/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf @@ -2,7 +2,7 @@ <%@ page pageEncoding="UTF-8" %> <%-- APP version --%> - + <%-- APP Name --%> From d834cf9b8d50ed57c74ec051f3fe98c6e1c55c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Jim=C3=A9nez?= Date: Wed, 25 Apr 2018 16:44:24 +0200 Subject: [PATCH 2/8] Update Spanish i18n file and title attribute in language menu --- .../i18n/contrast-finder_utf8_es.properties | 48 ++++++++++--------- .../main/webapp/WEB-INF/template/header.jspf | 2 +- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/webapp/src/main/resources/i18n/contrast-finder_utf8_es.properties b/webapp/src/main/resources/i18n/contrast-finder_utf8_es.properties index 3e3cb929..dc83c806 100644 --- a/webapp/src/main/resources/i18n/contrast-finder_utf8_es.properties +++ b/webapp/src/main/resources/i18n/contrast-finder_utf8_es.properties @@ -3,13 +3,13 @@ NOT_A_VALID_COLOR=El color debe estar comprendido entre #000000 y #FFFFFF NOT_A_VALID_RATIO.colorModel.ratio=Ratio inválido home.titleTag=Contrast Finder, encuentra los contrastes adecuados de color para crear webs accesibles (WCAG) ###### 330 characters max for "home.metaDescription" -home.metaDescription=Contrast-Finder encuentra los contrastes adecuados de color para crear webs accesibles (WCAG). \ - Esta herramienta ayuda a validar los tests de accesibilidad web (a11y) sobre contrastes de color. \ - Contrast-Finder está diseñada para ser utilizada por diseñadores web, desarrolladores web \ - o profesionales de la accesibilidad web para mejorar la facilidad de lectura de páginas HTML sitios web. +home.metaDescription=Contrast-Finder ofrece los contrastes adecuados para crear webs accesibles (WCAG). \ + Utilidad para validar tests de accesibilidad web (a11y) sobre contrastes de color. \ + Contrast-Finder está diseñada para diseñadores web, desarrolladores web \ + y otros profesionales para mejorar la facilidad de lectura de páginas HTML. logo.link.title=Volver a página inicial nav.language=español -#nav.language-switching=Switch to Español @@@TODO i18n +nav.language-switching=Cambiar a español nav.language-switching.aria-label=Idiomas result.title.colors=colores result.title.foregroundColor=texto @@ -18,7 +18,7 @@ result.title.minRation=ratio mínimo form.fillInFields=Por favor, rellena los siguientes campos: form.description=Contrast-Finder encuentra los contrastes adecuados de color para crear webs accesibles form.help=Color en hexadecimal, RGB o palabras clave de color CSS.
\ - Example: #FFFFFF, rgb(255,255,255) o white + Por ejemplo: #FFFFFF, rgb(255,255,255) o white form.foregroundColor=Color del texto form.backgroundColor=Color del fondo form.component=Color a editar @@ -52,7 +52,7 @@ form.sc-info=Contrast-Finder?
Prueba Asqatasun, la
herramienta de código abierto para análisis de accesibilidad form.contrastSolutionDistance=Distancia form.contrastSolutionDistanceEx=Distancia desde el color inicial @@ -81,11 +81,11 @@ info.about=

\ Cuando el contraste no es aceptable, el objetivo principal es sugerir alternativas de contraste de color válidas. \

\

Contrast-Finder está diseñada para ser utilizada por diseñadores web, desarrolladores web \ - o profesionales de la accesibilidad web para mejorar la facilidad de lectura de páginas HTML sitios web. \ + o profesionales de la accesibilidad web para mejorar la facilidad de lectura de páginas HTML en sitios web. \

info.feedback.title=Comentarios del usuario info.feedback=

\ - Si tienes problemas o presguntas sobre Contrast-Finder, por favor, contacta con nosotros: \ + Si tienes problemas o preguntas sobre Contrast-Finder, por favor, contacta con nosotros: \

\ info.contribute.title=Contribuye a Contrast-Finder info.contribute=

\ - Todas las contribuciones son bienvenidas ! \ - Traducciones, correciones, informes de errores, nuevas características…
\ + ¡Todas las contribuciones son bienvenidas! \ + Traducciones, correcciones, informes de errores, nuevas características…
\ Siéntete libre de jugar con el \ código fuente, \ o de opinar en el foro. \ @@ -107,7 +107,7 @@ help.head=

La interfaz de Contrast-Finder es un fo

  • Color del fondo
  • \
  • Ratio mínimo
  • \
  • Color a editar
  • \ -
  • Dámelo
  • \ +
  • Dame
  • \ help.txt-color.title=Color del texto / Primer plano help.txt-color=

    \ @@ -122,12 +122,12 @@ help.txt-color=

    \ palabras clave de color CSS \ (desde CSS nivel 1 a CSS nivel 4). \

    \ -

    Color con valores hexadecimal

    \ +

    Color con valores hexadecimales

    \

    Por ejemplo: #AABBCC. \ Los valores con formato #ABC también funcionan, \ el sistema completará el campo automáticamente con el valor #AABBCC. \ Este campo puede ser usado sin el carácter #, \ - de modo que FFF o FFFFFF funcionan sin problemas. \ + de modo que FFF o FFFFFF funcionarán sin problema. \

    \

    Colores con valores RGB

    \

    Por ejemplo: rgb(255,255,255).
    \ @@ -143,16 +143,16 @@ help.color-to-edit.title=Color a editar help.color-to-edit=

    Puede referirse tanto al color del texto como al color del fondo. Por defecto ese refiere al color del texto.

    \

    El color seleccionado será modificado hasta encontrar un color válido. \ El otro color no cambiará.

    -help.algo.title=Dámelo / Los algoritmos -help.algo=

    “Colores va´lidos y muy cercanos al color inicial”

    \ +help.algo.title=Dame / Los algoritmos +help.algo=

    “Colores válidos y muy cercanos al color inicial”

    \

    \ Este es el algoritmo por defecto. \ Ofrece opciones de colores muy cercanas al color inicial. \ (La distancia de color es evaluada de forma matemática, que puede variar del punto de vista de un diseñador.) \

    \

    \ - Para algunas combinaciones de colores, el algoritmo no ofrece ningún resutado ; \ - en este caso, se recomienda usar el otro algoritmo.\ + Para algunas combinaciones de colores, el algoritmo no ofrece ningún resultado. \ + En este caso, se recomienda usar el otro algoritmo.\

    \

    “Un rango de colores válidos”

    \

    \ @@ -173,7 +173,7 @@ help.ratio=

    Hay tres posibles valores: 3, 4.5 ¿El texto está en negrita? \ \

    Nivel AA

    \ -

    Dos elementos (tamaño y negrita) nos dan cuatro combianciones:

    \ +

    Dos elementos (tamaño y negrita) nos dan cuatro combinaciones:

    \
      \
    • Texto sin negrita + tamaño de texto < 24px: ratio = 4.5
    • \
    • Texto sin negrita + tamaño de texto > 24px: ratio = 3
    • \ @@ -197,10 +197,12 @@ help.ratio=

      Hay tres posibles valores: 3, 4.5definición de texto de gran tamaño de la WCAG.

      \

      Todos los detalles sobre el ratio de contraste

      \ ######### unused i18n entries ############################################## # form.results=Results diff --git a/webapp/src/main/webapp/WEB-INF/template/header.jspf b/webapp/src/main/webapp/WEB-INF/template/header.jspf index f6db1646..d627c464 100644 --- a/webapp/src/main/webapp/WEB-INF/template/header.jspf +++ b/webapp/src/main/webapp/WEB-INF/template/header.jspf @@ -74,7 +74,7 @@
    • español
    • -
    • español
    • +
    • español
    • From 5598c3f8cfb4e89a540621d7a62a9e5f716b96fc Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Thu, 26 Apr 2018 00:53:50 +0200 Subject: [PATCH 3/8] Delete old DockerFiles --- CHANGELOG.md | 7 +- .../README.txt | 74 ------------ .../Ubuntu_14.04_tomcat7_full/Dockerfile | 110 ------------------ .../Ubuntu_16.04_tomcat7_full/Dockerfile | 110 ------------------ .../Ubuntu_16.04_tomcat8_full/Dockerfile | 110 ------------------ .../Ubuntu_18.04_tomcat8_full/Dockerfile | 110 ------------------ .../SNAPSHOT-local/test_tomcat-7-8/README.txt | 90 -------------- .../test_tomcat-7-8/README_v1.txt | 48 -------- .../Ubuntu_14.04_tomcat7_full/Dockerfile | 107 ----------------- .../Ubuntu_16.04_tomcat7_full/Dockerfile | 107 ----------------- .../Ubuntu_16.04_tomcat8_full/Dockerfile | 107 ----------------- .../Ubuntu_18.04_tomcat8_full/Dockerfile | 107 ----------------- 12 files changed, 5 insertions(+), 1082 deletions(-) delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/README.txt delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/README_v1.txt delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile delete mode 100644 docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile diff --git a/CHANGELOG.md b/CHANGELOG.md index 901e1e32..379154f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ Contrast-Finder 0.9.1, 2018-05-xx Upgrade-o-meter: just replace the .war file and restart Tomcat +Thanks to: +- @davidjr82 - PR #158 + ### New Feature none @@ -18,7 +21,7 @@ none none ### Improvement -none +- [#158 - Update Spanish i18n file and title attribute in language menu](https://github.com/Asqatasun/Contrast-Finder/issues/158) ### Refactoring none @@ -30,7 +33,7 @@ none none ### Task -none +- Delete old DockerFiles Contrast-Finder 0.9.0, 2018-04-24 diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt deleted file mode 100644 index f5f97ff7..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/README.txt +++ /dev/null @@ -1,74 +0,0 @@ - - ------ with libspring-instrument-java --------------------------------------- - - commit 527be04da1385e0.9.1-SNAPSHOT051de27e2c356d9cedc5d - -OK /distrib/debian-8_tomcat-7_legacy-debian -OK /test_tomcat-7-8/Ubuntu_14.04_tomcat7_full -OK /test_tomcat-7-8/Ubuntu_16.04_tomcat7_full -OK /test_tomcat-7-8/Ubuntu_16.04_tomcat8_full -FAIL /test_tomcat-7-8/Ubuntu_18.04_tomcat8_full - ---------------------------------------------------------------------- - -UBUNTU 18.04 Tomcat 8.5 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/ --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-18.04_tomcat-8_withSpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument.jar - ls -l /usr/share/tomcat8/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/MANIFEST.MF - - ---------------------------------------------------------------------------------- - 18.04 vs 16.04 for libspring-instrument-java - https://packages.ubuntu.com/bionic/all/libspring-instrument-java/filelist - vs https://packages.ubuntu.com/xenial/all/libspring-instrument-java/filelist - ---------------------------------------------------------------------------------- - -UBUNTU 16.04 Tomcat 8.0 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/ --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-16.04_tomcat-8_withSpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/share/tomcat8/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/MANIFEST.MF - -UBUNTU 16.04 Tomcat 7 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/ --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-16.04_tomcat-7_withSpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/share/tomcat7/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/MANIFEST.MF - -UBUNTU 14.04 Tomcat 7 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-14.04_withSpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/share/tomcat7/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/MANIFEST.MF - -DEBIAN 8 Tomcat 7 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/distrib/debian-8_tomcat-7_legacy-debian --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_DEBIAN-8_withSpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - cat /usr/local/tomcat/webapps/contrast-finder/META-INF/context.xml - cat /usr/local/tomcat/webapps/contrast-finder/META-INF/MANIFEST.MF - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/local/tomcat/lib/spring3-instrument-tomcat.jar diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile deleted file mode 100644 index e4e6060e..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_14.04_tomcat7_full/Dockerfile +++ /dev/null @@ -1,110 +0,0 @@ -FROM ubuntu:14.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 14.04 - Tomcat 7)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:14.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/trusty/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat7/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat7 \ - libspring-instrument-java && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat7:tomcat7 ${LOG_DIR} && \ - chown -R tomcat7:tomcat7 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat7/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} && \ - ln -s /usr/share/java/spring3-instrument-tomcat.jar \ - /usr/share/tomcat7/lib/spring3-instrument-tomcat.jar - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat7 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile deleted file mode 100644 index e9200d29..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat7_full/Dockerfile +++ /dev/null @@ -1,110 +0,0 @@ -FROM ubuntu:16.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 7)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat7/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat7 \ - libspring-instrument-java && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat7:tomcat7 ${LOG_DIR} && \ - chown -R tomcat7:tomcat7 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat7/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} && \ - ln -s /usr/share/java/spring3-instrument-tomcat.jar \ - /usr/share/tomcat7/lib/spring3-instrument-tomcat.jar - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat7 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile deleted file mode 100644 index 0af71355..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_16.04_tomcat8_full/Dockerfile +++ /dev/null @@ -1,110 +0,0 @@ -FROM ubuntu:16.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 8)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat8/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat8 \ - libspring-instrument-java && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat8:tomcat8 ${LOG_DIR} && \ - chown -R tomcat8:tomcat8 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat8/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} && \ - ln -s /usr/share/java/spring3-instrument-tomcat.jar \ - /usr/share/tomcat8/lib/spring3-instrument-tomcat.jar - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat8/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat8 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile deleted file mode 100644 index ca9657f4..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Archive_with_libspring-instrument-java/Ubuntu_18.04_tomcat8_full/Dockerfile +++ /dev/null @@ -1,110 +0,0 @@ -FROM ubuntu:18.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat8/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat8 \ - libspring-instrument-java && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat8:tomcat8 ${LOG_DIR} && \ - chown -R tomcat8:tomcat8 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat8/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} && \ - ln -s /usr/share/java/spring3-instrument.jar \ - /usr/share/tomcat8/lib/spring3-instrument-tomcat.jar - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat8/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat8 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/README.txt b/docker/SNAPSHOT-local/test_tomcat-7-8/README.txt deleted file mode 100644 index 58a480d5..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/README.txt +++ /dev/null @@ -1,90 +0,0 @@ - ------ build with jdk7 or jdk8 - - ### JDK 7 - docker pull asqatasun/asqa.mvn:contrast.finder_jdk7 - docker run -it --rm -v "$PWD":/usr/src/ -w /usr/src/ asqatasun/asqa.mvn:contrast.finder_jdk7 mvn clean install - docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/ --log-build - docker run -it --rm -v "$PWD":/usr/src/ -w /usr/src/ asqatasun/asqa.mvn:contrast.finder_jdk7 mvn clean - docker exec -ti contrast.finder /bin/bash - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/MANIFEST.MF - - ### JDK 8 - docker pull asqatasun/asqa.mvn:contrast.finder_jdk8 - docker run -it --rm -v "$PWD":/usr/src/ -w /usr/src/ asqatasun/asqa.mvn:contrast.finder_jdk8 mvn clean install - docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/ --log-build - docker run -it --rm -v "$PWD":/usr/src/ -w /usr/src/ asqatasun/asqa.mvn:contrast.finder_jdk8 mvn clean - docker exec -ti contrast.finder /bin/bash - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/MANIFEST.MF - - ------ without libspring-instrument-java --------------------------------------- - -OK /distrib/debian-8_tomcat-7_legacy-debian -OK /test_tomcat-7-8/Ubuntu_14.04_tomcat7_full -OK /test_tomcat-7-8/Ubuntu_16.04_tomcat7_full -OK /test_tomcat-7-8/Ubuntu_16.04_tomcat8_full -OK /test_tomcat-7-8/Ubuntu_18.04_tomcat8_full - ---------------------------------------------------------------------- - -UBUNTU 18.04 Tomcat 8.5 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/ --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-18.04_tomcat-8_without_SpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument.jar - ls -l /usr/share/tomcat8/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/MANIFEST.MF - - ---------------------------------------------------------------------------------- - 18.04 vs 16.04 for libspring-instrument-java - https://packages.ubuntu.com/bionic/all/libspring-instrument-java/filelist - vs https://packages.ubuntu.com/xenial/all/libspring-instrument-java/filelist - ---------------------------------------------------------------------------------- - -UBUNTU 16.04 Tomcat 8.0 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/ --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-16.04_tomcat-8_without_SpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/share/tomcat8/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat8/webapps/contrast-finder/META-INF/MANIFEST.MF - -UBUNTU 16.04 Tomcat 7 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/ --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-16.04_tomcat-7_without_SpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/share/tomcat7/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/MANIFEST.MF - -UBUNTU 14.04 Tomcat 7 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_UBUNTU-14.04_without_SpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/share/tomcat7/lib/spring3-instrument-tomcat.jar - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/context.xml - cat /var/lib/tomcat7/webapps/contrast-finder/META-INF/MANIFEST.MF - -DEBIAN 8 Tomcat 7 ------------------------------ -docker/build_and_run-with-docker.sh -l --source-dir ${PWD} --docker-dir docker/SNAPSHOT-local/distrib/debian-8_tomcat-7_legacy-debian --log-build -docker exec -ti contrast.finder /bin/cat /softwares-version.txt -docker logs --since 24h contrast.finder &> log_DEBIAN-8_without_SpringInstrumentClassLoader.log -docker exec -ti contrast.finder /bin/bash - cat /usr/local/tomcat/webapps/contrast-finder/META-INF/context.xml - cat /usr/local/tomcat/webapps/contrast-finder/META-INF/MANIFEST.MF - ls -l /usr/share/java/spring3-instrument-tomcat.jar - ls -l /usr/local/tomcat/lib/spring3-instrument-tomcat.jar \ No newline at end of file diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/README_v1.txt b/docker/SNAPSHOT-local/test_tomcat-7-8/README_v1.txt deleted file mode 100644 index 4b8945c7..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/README_v1.txt +++ /dev/null @@ -1,48 +0,0 @@ ----- avant suppression libspring-instrument-java --------------------------------- - - v0.8.3 150 MB - v0.8.2 146 MB -pre-requisites_Alpine_tomcat-7 80 MB ---> 76 MB -pre-requisites_Ubuntu-16.04 115 MB ---> 107 MB -pre-requisites_Ubuntu-14.04 141 MB ---> 138 MB -pre-requisites_from-Ubuntu 141 MB ---> 138 MB -------------------------------------- - - - - - - - test: - - Build-Jdk: 1.8 @@@ IN PROGRESSS - - Build-Jdk: 1.7 @@@ TODO - check log @@@ TODO - - -Build-Jdk: 1.8.0_151 ----------------------------------------------- - -Docker ubuntu:14.04 Tomcat 7 - ----> libspring-instrument-java not needed - -Docker ubuntu:16.04 Tomcat 7 - ----> libspring-instrument-java not needed - -Docker ubuntu:18.04 Tomcat 8.5 (next Ubuntu LTS) - ----> libspring-instrument-java not needed - - -Build-Jdk: 1.7.0_151 ----------------------------------------------- - -Docker ubuntu:14.04 Tomcat 7 - ----> libspring-instrument-java not needed - -Docker ubuntu:16.04 Tomcat 7 - ----> libspring-instrument-java not needed - -Docker ubuntu:16.04 Tomcat 8.0 - -v2---> libspring-instrument-java declared in context.xml - -Docker ubuntu:18.04 Tomcat 8.5 (next Ubuntu LTS) - ----> libspring-instrument-java not needed diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile deleted file mode 100644 index 07f97ec8..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_14.04_tomcat7_full/Dockerfile +++ /dev/null @@ -1,107 +0,0 @@ -FROM ubuntu:14.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 14.04 - Tomcat 7)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:14.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/trusty/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat7/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat7 && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat7:tomcat7 ${LOG_DIR} && \ - chown -R tomcat7:tomcat7 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat7/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat7 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile deleted file mode 100644 index f5e14bf3..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat7_full/Dockerfile +++ /dev/null @@ -1,107 +0,0 @@ -FROM ubuntu:16.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 7)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat7/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat7 && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat7:tomcat7 ${LOG_DIR} && \ - chown -R tomcat7:tomcat7 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat7/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat7 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile deleted file mode 100644 index 5b8aba49..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_16.04_tomcat8_full/Dockerfile +++ /dev/null @@ -1,107 +0,0 @@ -FROM ubuntu:16.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 8)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat8/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat8 && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat8:tomcat8 ${LOG_DIR} && \ - chown -R tomcat8:tomcat8 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat8/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat8/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat8 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - diff --git a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile b/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile deleted file mode 100644 index 035021d6..00000000 --- a/docker/SNAPSHOT-local/test_tomcat-7-8/Ubuntu_18.04_tomcat8_full/Dockerfile +++ /dev/null @@ -1,107 +0,0 @@ -FROM ubuntu:18.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" - # ----> documentation http://label-schema.org/ - -# #### usage ###################################################### -# -# --- Building this docker image -# docker build -t contrast-finder . -# -# #### FROM ###################################################### -# ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile -################################################################### - -# build variables -ARG LOG_DIR="/var/log/contrast-finder/" -ARG CONF_DIR="/etc/contrast-finder/" - -# environment variables -ENV TOMCAT_LOG="/var/log/tomcat8/catalina.out" \ - LOG_FILE="${LOG_DIR}contrast-finder.log" \ - CONF_FILE="${CONF_DIR}contrast-finder.conf" \ - INFO_FILE="/softwares-version.txt" \ - WWWPORT="8080" -EXPOSE $WWWPORT - -# build -RUN apt-get update && \ - apt-get -y --no-install-recommends \ - install wget \ - curl \ - ca-certificates \ - tomcat8 && \ - apt-get clean && \ - apt-get autoremove && \ - rm -rf /var/lib/apt/lists/* && \ - rm -rvf /usr/share/man/* && \ - rm -rvf /usr/share/doc/* && \ - mkdir -p ${LOG_DIR} && \ - mkdir -p ${CONF_DIR} && \ - touch ${LOG_FILE} && \ - touch ${CONF_FILE} && \ - chown -R tomcat8:tomcat8 ${LOG_DIR} && \ - chown -R tomcat8:tomcat8 ${CONF_DIR} && \ - echo "\n--- OS -------------" >> ${INFO_FILE} && \ - cat /etc/os-release >> ${INFO_FILE} && \ - echo "\n--- Java -----------" >> ${INFO_FILE} && \ - java -version 2>> ${INFO_FILE} && \ - echo "\n--- Tomcat ---------" >> ${INFO_FILE} && \ - /usr/share/tomcat8/bin/version.sh >> ${INFO_FILE} && \ - echo "\n--- Contrast-Finder ---" >> ${INFO_FILE} - - ####################################################################################### - # The command line "java -version" returns the output data - # at the STDERR stream (2 : error messages) rather than STDOUT (1). - # -----> java -version 2> tmp.txt - # - # https://stackoverflow.com/questions/21453774/redirect-java-version-to-file-or-variable - # https://stackoverflow.com/questions/39619087/how-to-write-output-of-java-version-to-a-text-file - ####################################################################################### - - - -# Health Check of the Docker Container -HEALTHCHECK --timeout=3s \ - CMD curl --fail http://localhost:8080/contrast-finder/ || exit 1 - ###################################################################### - # doc: https://docs.docker.com/engine/reference/builder/#healthcheck - # options: --interval=DURATION (default: 30s) - # --timeout=DURATION (default: 30s) - # --retries=N (default: 3) - # can be overridden at the command line 'docker run --health-cmd (...)' - ###################################################################### - -# environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" - -# Add contrast-finder .war -ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root - -# Install contrast-finder -RUN cd /root/contrast-*/install/ && \ - mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat8/webapps && \ - rm -rf /root/contrast-* && \ - echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ - echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ - cat ${CONF_FILE} >> ${INFO_FILE} && \ - echo "\n--- Logs -----------" >> ${INFO_FILE} && \ - echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ - echo "${LOG_FILE}" >> ${INFO_FILE} && \ - echo "--------------------" >> ${INFO_FILE} && \ - cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" - - -# Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_* - -CMD service tomcat8 start ; \ - tail -f -n 600 ${TOMCAT_LOG} \ - ${LOG_FILE} - - - From d559b35c071635929966bd4c73b9e4443bc098c4 Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Sun, 13 May 2018 20:23:24 +0200 Subject: [PATCH 4/8] typo --- .editorconfig | 3 +- CODE_OF_CONDUCT.md | 13 +++---- documentation/badge.md | 8 ++++- .../en/30_Contributor_doc/QA-tools.md | 16 ++++----- documentation/en/30_Contributor_doc/README.md | 14 +++++++- .../bookmarks-for-potential-features.md | 15 ++++++-- .../main/webapp/WEB-INF/template/head.jspf | 35 ++++++++++--------- 7 files changed, 67 insertions(+), 37 deletions(-) diff --git a/.editorconfig b/.editorconfig index 2b36f501..c6994f77 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,9 +12,8 @@ root = true # + 4 space indentation ############################################## [*] +insert_final_newline = true end_of_line = lf indent_style = space indent_size = 4 charset = utf-8 - - diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6137977b..9e52b4b4 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -68,14 +68,15 @@ members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at [http://contributor-covenant.org/version/1/4][version] +available at [https://contributor-covenant.org/version/1/4][version] -[homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/ +[homepage]: https://contributor-covenant.org +[version]: https://contributor-covenant.org/version/1/4/ ## Translations -* [Español](http://contributor-covenant.org/version/1/4/es/) -* [Français](http://contributor-covenant.org/version/1/4/fr/) +* [Español](https://contributor-covenant.org/version/1/4/es/) +* [Français](https://contributor-covenant.org/version/1/4/fr/) + +[All available translations](https://contributor-covenant.org/i18n/) -[All available translations](http://contributor-covenant.org/i18n/) \ No newline at end of file diff --git a/documentation/badge.md b/documentation/badge.md index 4f59ca0b..82d36483 100644 --- a/documentation/badge.md +++ b/documentation/badge.md @@ -20,6 +20,9 @@ [![GitHub issues](https://img.shields.io/github/issues/asqatasun/contrast-finder.svg?style=flat-square)](https://github.com/Asqatasun/Contrast-Finder/issues) [![GitHub closed issues](https://img.shields.io/github/issues-closed/asqatasun/contrast-finder.svg?style=flat-square)](https://github.com/Asqatasun/Contrast-Finder/issues?q=is%3Aissue+is%3Aclosed) +## Commits +[![Commits](https://img.shields.io/github/commit-activity/y/asqatasun/contrast-finder.svg)](https://github.com/Asqatasun/Contrast-Finder/commits/develop) + ## Average time to resolve an issue / PR [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/asqatasun/contrast-finder.svg)](http://isitmaintained.com/project/asqatasun/contrast-finder "Average time to resolve an issue") @@ -52,5 +55,8 @@ Some issues are ignored based on their labels (example of ignored labels: "enhan ## Code of Conduct [![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/Asqatasun/Contrast-Finder/blob/develop/CODE_OF_CONDUCT.md) +## GitHub contributors +[![GitHub contributors](https://img.shields.io/github/contributors/asqatasun/contrast-finder.svg)](https://github.com/Asqatasun/Contrast-Finder/graphs/contributors) + --- -http://shields.io/ \ No newline at end of file +http://shields.io/ diff --git a/documentation/en/30_Contributor_doc/QA-tools.md b/documentation/en/30_Contributor_doc/QA-tools.md index 13455f90..5798c7dd 100644 --- a/documentation/en/30_Contributor_doc/QA-tools.md +++ b/documentation/en/30_Contributor_doc/QA-tools.md @@ -72,6 +72,14 @@ ## Audit history +### 0.9.0 +* Web perf + * https://www.webpagetest.org/result/180513_JQ_6968f5fe020e3ae88c8078c4fc620995/ + * https://yellowlab.tools/result/f1066yvsyi +* Global tools (webperf, accessibility, security, ...) + * https://www.dareboost.com/fr/report/5af8684be96790618ff331da + * https://sonarwhal.com/scanner/8f0ca246-a8ac-420e-8737-6405d3ba8d59 + ### 0.8.6 * Web perf * https://www.webpagetest.org/result/180416_FA_7dffb8d4b1e9b1b8c5db99750de7248f/ @@ -103,11 +111,3 @@ * Global tools (webperf, accessibility, security, ...) * https://www.dareboost.com/en/report/5a67f2c60cf2b528a73f6dde * https://sonarwhal.com/scanner/6699688c-0363-4d0b-a636-add8a2f9d909 - - - - - - - - \ No newline at end of file diff --git a/documentation/en/30_Contributor_doc/README.md b/documentation/en/30_Contributor_doc/README.md index 3ac9701d..f5138d5a 100644 --- a/documentation/en/30_Contributor_doc/README.md +++ b/documentation/en/30_Contributor_doc/README.md @@ -6,6 +6,7 @@ ----- * Checking for new dependency / plugin updates * OWASP Dependency-Check +* SonarQube report * Code coverage * Checkstyle * JavaDoc @@ -59,6 +60,18 @@ mvn dependency-check:help -Ddetail=true -Dgoal=aggregate * http://jeremylong.github.io/DependencyCheck/ * http://jeremylong.github.io/DependencyCheck/dependency-check-maven/ +## SonarQube report + +```bash +sudo docker run -d --name sonarqube -p 9004:9000 -p 9092:9092 sonarqube +git clone https://github.com/Asqatasun/Contrast-Finder +cd Contrast-finder +mvn sonar:sonar -Dsonar.host.url=http://localhost:9004 +``` + +SonarQube report is available on the following URL: `http://localhost:9004` + + ## Code coverage no aggregate report (if you know how to do it…) @@ -159,4 +172,3 @@ target/site/testapidocs * [Apache Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) * [Generate Javadocs](https://maven.apache.org/plugins/maven-javadoc-plugin/usage.html) * [Javadoc Plugin Documentation](https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html) - diff --git a/documentation/en/30_Contributor_doc/bookmarks-for-potential-features.md b/documentation/en/30_Contributor_doc/bookmarks-for-potential-features.md index 81313f34..bb52024b 100644 --- a/documentation/en/30_Contributor_doc/bookmarks-for-potential-features.md +++ b/documentation/en/30_Contributor_doc/bookmarks-for-potential-features.md @@ -41,7 +41,19 @@ - [RGB to HSL converter](https://www.rapidtables.com/convert/color/rgb-to-hsl.html) - [RGB to HSV converter](https://www.rapidtables.com/convert/color/rgb-to-hsv.html) -# tag + +# Sorts tables + +- seems to be accessible but uses Jquery + - https://assets.cms.gov/resources/framework/2.0/Pages/datatables.html + - https://dequeuniversity.com/library/aria/tables/sf-sortable-grid +- does not use Jquery but not accessible + - http://www.trucsweb.com/tutoriels/javascript/tableau-tri/ + - https://kryogenix.org/code/browser/sorttable/ + - https://github.com/tofsjonas/sortable/ + + +# tag `` - https://caniuse.com/#search=meter - some tests : https://codepen.io/anon/pen/JLRZqZ?editors=1100 ```html @@ -220,4 +232,3 @@ D E value 9.0 - min 1 - max 7 - low 7.0 - optimun 7
      ``` - diff --git a/webapp/src/main/webapp/WEB-INF/template/head.jspf b/webapp/src/main/webapp/WEB-INF/template/head.jspf index 02820ae7..9b36550b 100644 --- a/webapp/src/main/webapp/WEB-INF/template/head.jspf +++ b/webapp/src/main/webapp/WEB-INF/template/head.jspf @@ -62,24 +62,25 @@ From 41041b7b858710ae55fefde889a0009f1f7dc97a Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Sun, 13 May 2018 22:36:15 +0200 Subject: [PATCH 5/8] Fixed #159 - Changed default docker image: ubuntu-18.04_tomcat-8.5 instead of ubuntu-16.04_tomcat-7 --- CHANGELOG.md | 2 +- docker/RELEASE/Dockerfile | 2 +- docker/RELEASE/README.md | 3 +- .../ubuntu-18.04_tomcat-8.5/Dockerfile | 71 +++++++++++++++++++ .../RELEASE/ubuntu-18.04_tomcat-8.5/README.md | 1 + docker/SNAPSHOT-local/Dockerfile | 2 +- .../01.no.config.file/Dockerfile | 12 ++-- .../10.default.algo/Dockerfile | 12 ++-- .../test_config-file/20.debug.env/Dockerfile | 12 ++-- .../test_config-file/30.piwik/Dockerfile | 12 ++-- .../40.searchEngineIndex/Dockerfile | 12 ++-- .../Dockerfile | 8 +-- 12 files changed, 111 insertions(+), 38 deletions(-) create mode 100644 docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile create mode 120000 docker/RELEASE/ubuntu-18.04_tomcat-8.5/README.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 379154f5..429bc3a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,7 @@ none none ### Configuration -none +- [#159 - Changed default docker image: ubuntu-18.04_tomcat-8.5 instead of ubuntu-16.04_tomcat-7](https://github.com/Asqatasun/Contrast-Finder/issues/159) ### Documentation none diff --git a/docker/RELEASE/Dockerfile b/docker/RELEASE/Dockerfile index c59b0530..fb5a2fa9 120000 --- a/docker/RELEASE/Dockerfile +++ b/docker/RELEASE/Dockerfile @@ -1 +1 @@ -ubuntu-16.04_tomcat-7/Dockerfile \ No newline at end of file +ubuntu-18.04_tomcat-8.5/Dockerfile \ No newline at end of file diff --git a/docker/RELEASE/README.md b/docker/RELEASE/README.md index 6adcd10f..589863a3 100644 --- a/docker/RELEASE/README.md +++ b/docker/RELEASE/README.md @@ -9,11 +9,12 @@ Supported tags and respective `Dockerfile` links : ### Pre-requisites * [pre-requisites_Ubuntu-14.04_tomcat-7](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile) * [pre-requisites_Ubuntu-16.04_tomcat-7](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile) +* [pre-requisites_Ubuntu-18.04_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile) * [pre-requisites_Alpine_tomcat-7](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile) * [pre-requisites_Alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile) ### Releases -* [latest, v0.9.1-SNAPSHOT, ubuntu-16.04](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile) +* [latest, v0.9.1-SNAPSHOT, ubuntu-18.04](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile) * [alpine, v0.9.1-SNAPSHOT_alpine, alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/alpine_tomcat-8.5/Dockerfile) * [v0.9.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.9.0/docker/RELEASE/Dockerfile), [v0.8.6](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.6/docker/RELEASE/Dockerfile), [v0.8.5](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.5/docker/RELEASE/Dockerfile), [v0.8.4](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.4/docker/RELEASE/Dockerfile), [v0.8.3](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.3/docker/RELEASE/Dockerfile), [v0.8.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.2/docker/RELEASE/Dockerfile), [v0.8.1](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.1/docker/RELEASE/Dockerfile), [v0.8.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.0/docker/RELEASE/Dockerfile) * [v0.7.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.7.0/docker/RELEASE/Dockerfile), [v0.6.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.6.0/docker/RELEASE/Dockerfile), [v0.5.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.5.2/docker/RELEASE/Dockerfile) diff --git a/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile new file mode 100644 index 00000000..4620befb --- /dev/null +++ b/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile @@ -0,0 +1,71 @@ +FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 +LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ + org.label-schema.name = "Contrast-Finder - WebApp (Ubuntu 18.04 - Tomcat 8.5, Java 10)" \ + org.label-schema.version = "0.9.1-SNAPSHOT" \ + org.label-schema.url = "https://contrast-finder.org" \ + org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ + org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder" \ + org.label-schema.usage = "https://github.com/Asqatasun/Contrast-Finder/tree/develop/documentation/" \ + org.label-schema.description = "Contrast-Finder finds correct color contrasts for web accessibility." + # ----> documentation http://label-schema.org/ + +# #### usage ###################################################### +# +# --- Building this docker image +# docker build -t asqatasun/contrast-finder . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . +# +# --- Launch a container +# docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder +# +# --- Playing with this docker image +# docker exec -ti contrast.finder /bin/cat /softwares-version.txt +# docker exec -ti contrast.finder /bin/bash +# docker logs -f contrast.finder +# +# #### source code ############################################### +# https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz +# could be overridden with --build-arg CONTRAST_FINDER_RELEASE= +# could be overridden with --build-arg SRC_URL_PREFIX= +# could be overridden with --build-arg SRC_URL= +# +# #### FROM ###################################################### +# asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +# |-- ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/bionic/Dockerfile +################################################################### + +# build variables +ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" +ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" + +# Install contrast-finder +RUN cd /root/ && \ + wget ${SRC_URL} && \ + tar -xzvf contrast-*.tar.gz && \ + cd /root/contrast-*/install/ && \ + mv -v contrast-*.war contrast-finder.war && \ + mv -v contrast-*.war /var/lib/tomcat8/webapps && \ + rm -rf /root/contrast-* && \ + echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ + echo "\n--- ${CONF_FILE} ---" >> ${INFO_FILE} && \ + cat ${CONF_FILE} >> ${INFO_FILE} && \ + echo "\n--- Logs -----------" >> ${INFO_FILE} && \ + echo "${TOMCAT_LOG}" >> ${INFO_FILE} && \ + echo "${LOG_FILE}" >> ${INFO_FILE} && \ + echo "--------------------" >> ${INFO_FILE} && \ + cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" + +# environment variables +ENV CONTRAST_FINDER=${CONTRAST_FINDER_RELEASE} +ENV SRC=${SRC_URL} + +# Health Check of the Docker Container +# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 + +CMD service tomcat8 start ; \ + tail -f -n 50 ${TOMCAT_LOG} \ + ${LOG_FILE} + diff --git a/docker/RELEASE/ubuntu-18.04_tomcat-8.5/README.md b/docker/RELEASE/ubuntu-18.04_tomcat-8.5/README.md new file mode 120000 index 00000000..32d46ee8 --- /dev/null +++ b/docker/RELEASE/ubuntu-18.04_tomcat-8.5/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/docker/SNAPSHOT-local/Dockerfile b/docker/SNAPSHOT-local/Dockerfile index fb2cd11e..8544b3dc 120000 --- a/docker/SNAPSHOT-local/Dockerfile +++ b/docker/SNAPSHOT-local/Dockerfile @@ -1 +1 @@ -distrib/ubuntu-16.04_tomcat-7/Dockerfile \ No newline at end of file +distrib/ubuntu-18.04_tomcat-8.5/Dockerfile \ No newline at end of file diff --git a/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile b/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile index 6ff9242c..c58ccf2c 100644 --- a/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile @@ -1,4 +1,4 @@ -FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 +FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 # #### usage ###################################################### # @@ -14,8 +14,8 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 # docker logs -f contrast.finder # # #### FROM ###################################################### -# asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile -# |-- ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile +# asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +# |-- ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/bionic/Dockerfile ################################################################### # environment variables @@ -27,7 +27,7 @@ ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root # Install contrast-finder RUN cd /root/contrast-*/install/ && \ mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ + mv -v contrast-*.war /var/lib/tomcat8/webapps && \ rm -rf /root/contrast-* && \ rm -v ${CONF_FILE} && \ echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ @@ -41,9 +41,9 @@ echo "no file" >> ${INFO_FILE} && \ # Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 +# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 -CMD service tomcat7 start ; \ +CMD service tomcat8 start ; \ tail -f -n 50 ${TOMCAT_LOG} \ ${LOG_FILE} diff --git a/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile b/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile index b3bed579..db3f078c 100644 --- a/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile @@ -1,4 +1,4 @@ -FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 +FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 # #### usage ###################################################### # @@ -14,8 +14,8 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 # docker logs -f contrast.finder # # #### FROM ###################################################### -# asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile -# |-- ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile +# asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +# |-- ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/bionic/Dockerfile ################################################################### # environment variables @@ -31,7 +31,7 @@ ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root # Install contrast-finder RUN cd /root/contrast-*/install/ && \ mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ + mv -v contrast-*.war /var/lib/tomcat8/webapps && \ rm -rf /root/contrast-* && \ echo "default_algorithm=${CONF_DEFAULT_ALGO}" >> ${CONF_FILE} && \ echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ @@ -44,8 +44,8 @@ echo "default_algorithm=${CONF_DEFAULT_ALGO}" >> ${CONF_FILE} && \ cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" # Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 +# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 -CMD service tomcat7 start ; \ +CMD service tomcat8 start ; \ tail -f -n 50 ${TOMCAT_LOG} \ ${LOG_FILE} diff --git a/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile b/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile index fe3dd4fa..428249fb 100644 --- a/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile @@ -1,4 +1,4 @@ -FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 +FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 # #### usage ###################################################### # @@ -14,8 +14,8 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 # docker logs -f contrast.finder # # #### FROM ###################################################### -# asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile -# |-- ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile +# asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +# |-- ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/bionic/Dockerfile ################################################################### # environment variables @@ -28,7 +28,7 @@ ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root # Install contrast-finder RUN cd /root/contrast-*/install/ && \ mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ + mv -v contrast-*.war /var/lib/tomcat8/webapps && \ rm -rf /root/contrast-* && \ echo "env=${CONF_ENV}" >> ${CONF_FILE} && \ echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ @@ -41,8 +41,8 @@ echo "env=${CONF_ENV}" >> ${CONF_FILE} && \ cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" # Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 +# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 -CMD service tomcat7 start ; \ +CMD service tomcat8 start ; \ tail -f -n 50 ${TOMCAT_LOG} \ ${LOG_FILE} diff --git a/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile b/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile index 1e1e3970..e334edc5 100644 --- a/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile @@ -1,4 +1,4 @@ -FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 +FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 # #### usage ###################################################### # @@ -14,8 +14,8 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 # docker logs -f contrast.finder # # #### FROM ###################################################### -# asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile -# |-- ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile +# asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +# |-- ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/bionic/Dockerfile ################################################################### # environment variables @@ -29,7 +29,7 @@ ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root # Install contrast-finder RUN cd /root/contrast-*/install/ && \ mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ + mv -v contrast-*.war /var/lib/tomcat8/webapps && \ rm -rf /root/contrast-* && \ echo "piwik_analytics_key=${PIWIK_KEY}" >> ${CONF_FILE} && \ echo "piwik_analytics_server=${PIWIK_URL}" >> ${CONF_FILE} && \ @@ -43,9 +43,9 @@ echo "piwik_analytics_server=${PIWIK_URL}" >> ${CONF_FILE} && \ cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" # Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 +# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 -CMD service tomcat7 start ; \ +CMD service tomcat8 start ; \ tail -f -n 50 ${TOMCAT_LOG} \ ${LOG_FILE} diff --git a/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile b/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile index c7746943..26ea813a 100644 --- a/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile @@ -1,4 +1,4 @@ -FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 +FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 # #### usage ###################################################### # @@ -14,8 +14,8 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 # docker logs -f contrast.finder # # #### FROM ###################################################### -# asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile -# |-- ubuntu:16.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/xenial/Dockerfile +# asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +# |-- ubuntu:18.04 https://github.com/tianon/docker-brew-ubuntu-core/blob/dist-amd64/bionic/Dockerfile ################################################################### # environment variables @@ -28,7 +28,7 @@ ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root # Install contrast-finder RUN cd /root/contrast-*/install/ && \ mv -v contrast-*.war contrast-finder.war && \ - mv -v contrast-*.war /var/lib/tomcat7/webapps && \ + mv -v contrast-*.war /var/lib/tomcat8/webapps && \ rm -rf /root/contrast-* && \ echo "searchEngineInclude=${SEARCH_ENGINGE}" >> ${CONF_FILE} && \ echo ${CONTRAST_FINDER_RELEASE} >> ${INFO_FILE} && \ @@ -41,9 +41,9 @@ echo "searchEngineInclude=${SEARCH_ENGINGE}" >> ${CONF_FILE} && \ cat ${INFO_FILE} > ${LOG_FILE} && echo "-- Install: Ok" # Health Check of the Docker Container -# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 +# ----> see asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 -CMD service tomcat7 start ; \ +CMD service tomcat8 start ; \ tail -f -n 50 ${TOMCAT_LOG} \ ${LOG_FILE} diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile index bbb0ecf1..0207a7f8 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile @@ -1,8 +1,8 @@ FROM ubuntu:18.04 -LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ - org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8.5)" \ - org.label-schema.url = "https://contrast-finder.org" \ - org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ +LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ + org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8.5, Java 10)" \ + org.label-schema.url = "https://contrast-finder.org" \ + org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.version = "0.9.1-SNAPSHOT" # ----> documentation http://label-schema.org/ From b43d62f49208e907b688f7e3199e62494d8bbc0c Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Sun, 13 May 2018 22:38:17 +0200 Subject: [PATCH 6/8] Fixed #152 / Fixed #160 #152 - Upgraded SpringFramework (4.3.17 instead of 4.3.16) #160 - Upgraded spring--security (4.2.6 instead of 4.2.5) --- CHANGELOG.md | 20 +++----------------- webapp/pom.xml | 4 ++-- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 429bc3a4..57eabf35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -Contrast-Finder 0.9.1, 2018-05-xx +Contrast-Finder 0.9.1, 2018-05-13 --------------------------------- Upgrade-o-meter: just replace the .war file and restart Tomcat @@ -8,30 +8,16 @@ Upgrade-o-meter: just replace the .war file and restart Tomcat Thanks to: - @davidjr82 - PR #158 -### New Feature -none - ### Security -none - -### Outdated dependencies -none - -### Bug -none +- [#152 - Upgraded SpringFramework (4.3.17 instead of 4.3.16)](https://github.com/Asqatasun/Contrast-Finder/issues/152) +- [#160 - Upgraded spring--security (4.2.6 instead of 4.2.5)](https://github.com/Asqatasun/Contrast-Finder/issues/160) ### Improvement - [#158 - Update Spanish i18n file and title attribute in language menu](https://github.com/Asqatasun/Contrast-Finder/issues/158) -### Refactoring -none - ### Configuration - [#159 - Changed default docker image: ubuntu-18.04_tomcat-8.5 instead of ubuntu-16.04_tomcat-7](https://github.com/Asqatasun/Contrast-Finder/issues/159) -### Documentation -none - ### Task - Delete old DockerFiles diff --git a/webapp/pom.xml b/webapp/pom.xml index 21f81e8d..fac0103c 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -28,8 +28,8 @@ UTF-8 - 4.3.16.RELEASE - 4.2.5.RELEASE + 4.3.17.RELEASE + 4.2.6.RELEASE 1.5.2 1.2.5 8.0 From 61a95dccc1671c03376be6b3cde05b629cf87d96 Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Sun, 13 May 2018 22:58:35 +0200 Subject: [PATCH 7/8] fixed ColorName class --- documentation/en/30_Contributor_doc/README.md | 1 + .../asqatasun/utils/colornamelookup/ColorNameLookup.java | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/documentation/en/30_Contributor_doc/README.md b/documentation/en/30_Contributor_doc/README.md index f5138d5a..b6523bad 100644 --- a/documentation/en/30_Contributor_doc/README.md +++ b/documentation/en/30_Contributor_doc/README.md @@ -66,6 +66,7 @@ mvn dependency-check:help -Ddetail=true -Dgoal=aggregate sudo docker run -d --name sonarqube -p 9004:9000 -p 9092:9092 sonarqube git clone https://github.com/Asqatasun/Contrast-Finder cd Contrast-finder +mvn clean install mvn sonar:sonar -Dsonar.host.url=http://localhost:9004 ``` diff --git a/engine/utils/src/main/java/org/asqatasun/utils/colornamelookup/ColorNameLookup.java b/engine/utils/src/main/java/org/asqatasun/utils/colornamelookup/ColorNameLookup.java index ca914bb8..db3f0ec7 100644 --- a/engine/utils/src/main/java/org/asqatasun/utils/colornamelookup/ColorNameLookup.java +++ b/engine/utils/src/main/java/org/asqatasun/utils/colornamelookup/ColorNameLookup.java @@ -222,8 +222,8 @@ private ArrayList initColorList() { * SubClass of ColorNameLookup */ public class ColorName { - public int r, g, b; - public String name; + private int r, g, b; + private String name; public ColorName(String name, int r, int g, int b) { this.r = r; this.g = g; @@ -244,4 +244,4 @@ public int getBlue() { } } -} \ No newline at end of file +} From 03591c7ce018893bd0e23ab7c0a3f1e3db0efac6 Mon Sep 17 00:00:00 2001 From: Fabrice Gangler Date: Sun, 13 May 2018 23:06:16 +0200 Subject: [PATCH 8/8] set version to 0.9.1 --- docker/RELEASE/README.md | 4 ++-- docker/RELEASE/alpine_tomcat-7/Dockerfile | 10 +++++----- docker/RELEASE/alpine_tomcat-8.5/Dockerfile | 10 +++++----- docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile | 10 +++++----- docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile | 10 +++++----- docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile | 10 +++++----- .../SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile | 2 +- .../distrib/alpine_tomcat-8.5/Dockerfile | 2 +- .../SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile | 2 +- .../distrib/debian-9_tomcat-8.5/Dockerfile | 2 +- .../distrib/debian_tomcat-9_jre9/Dockerfile | 2 +- .../distrib/ubuntu-14.04_tomcat-7/Dockerfile | 2 +- .../distrib/ubuntu-16.04_tomcat-7/Dockerfile | 2 +- .../distrib/ubuntu-16.04_tomcat-8.0/Dockerfile | 2 +- .../distrib/ubuntu-18.04_tomcat-8.5/Dockerfile | 2 +- .../test_config-file/01.no.config.file/Dockerfile | 2 +- .../test_config-file/10.default.algo/Dockerfile | 2 +- .../test_config-file/20.debug.env/Dockerfile | 2 +- .../test_config-file/30.piwik/Dockerfile | 2 +- .../test_config-file/40.searchEngineIndex/Dockerfile | 2 +- .../pre-requisites_Alpine_tomcat-7/Dockerfile | 2 +- .../pre-requisites_Alpine_tomcat-8.5/Dockerfile | 2 +- .../pre-requisites_Alpine_tomcat-9/Dockerfile | 2 +- .../pre-requisites_Debian-9_tomcat-8.5/Dockerfile | 2 +- .../pre-requisites_Debian_tomcat-9_jre9/Dockerfile | 2 +- .../pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile | 2 +- .../pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile | 2 +- .../pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile | 2 +- .../pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile | 2 +- documentation/en/10_Install_doc/webapp_Installation.md | 2 +- documentation/pom.xml | 4 ++-- engine/api/pom.xml | 4 ++-- engine/hsv/pom.xml | 4 ++-- engine/impl/pom.xml | 4 ++-- engine/pom.xml | 4 ++-- engine/utils/pom.xml | 4 ++-- pom.xml | 2 +- webapp/pom.xml | 4 ++-- .../webapp/WEB-INF/template/template_variables.jspf | 2 +- 39 files changed, 67 insertions(+), 67 deletions(-) diff --git a/docker/RELEASE/README.md b/docker/RELEASE/README.md index 589863a3..d81588b0 100644 --- a/docker/RELEASE/README.md +++ b/docker/RELEASE/README.md @@ -14,8 +14,8 @@ Supported tags and respective `Dockerfile` links : * [pre-requisites_Alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile) ### Releases -* [latest, v0.9.1-SNAPSHOT, ubuntu-18.04](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile) -* [alpine, v0.9.1-SNAPSHOT_alpine, alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/alpine_tomcat-8.5/Dockerfile) +* [latest, v0.9.1, ubuntu-18.04](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile) +* [alpine, v0.9.1_alpine, alpine_tomcat-8.5](https://github.com/Asqatasun/Contrast-Finder/blob/master/docker/RELEASE/alpine_tomcat-8.5/Dockerfile) * [v0.9.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.9.0/docker/RELEASE/Dockerfile), [v0.8.6](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.6/docker/RELEASE/Dockerfile), [v0.8.5](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.5/docker/RELEASE/Dockerfile), [v0.8.4](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.4/docker/RELEASE/Dockerfile), [v0.8.3](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.3/docker/RELEASE/Dockerfile), [v0.8.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.2/docker/RELEASE/Dockerfile), [v0.8.1](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.1/docker/RELEASE/Dockerfile), [v0.8.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.8.0/docker/RELEASE/Dockerfile) * [v0.7.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.7.0/docker/RELEASE/Dockerfile), [v0.6.0](https://github.com/Asqatasun/Contrast-Finder/blob/v0.6.0/docker/RELEASE/Dockerfile), [v0.5.2](https://github.com/Asqatasun/Contrast-Finder/blob/v0.5.2/docker/RELEASE/Dockerfile) diff --git a/docker/RELEASE/alpine_tomcat-7/Dockerfile b/docker/RELEASE/alpine_tomcat-7/Dockerfile index 8246f5c4..bede10a3 100644 --- a/docker/RELEASE/alpine_tomcat-7/Dockerfile +++ b/docker/RELEASE/alpine_tomcat-7/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-7 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (tomcat7 < jdk7 < alpine 3.7)" \ - org.label-schema.version = "0.9.1-SNAPSHOT" \ + org.label-schema.version = "0.9.1" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder:alpine" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1 . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/contrast-finder-webapp_0.9.1.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -39,7 +39,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ARG CONTRAST_FINDER_RELEASE="0.9.1" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/alpine_tomcat-8.5/Dockerfile b/docker/RELEASE/alpine_tomcat-8.5/Dockerfile index 0c00a52f..453ff9d0 100644 --- a/docker/RELEASE/alpine_tomcat-8.5/Dockerfile +++ b/docker/RELEASE/alpine_tomcat-8.5/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-8.5 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (tomcat 8.5 < jdk 8 < alpine 3.7)" \ - org.label-schema.version = "0.9.1-SNAPSHOT" \ + org.label-schema.version = "0.9.1" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder:alpine" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1 . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/contrast-finder-webapp_0.9.1.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -39,7 +39,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ARG CONTRAST_FINDER_RELEASE="0.9.1" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile b/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile index 20e1a24c..6c8fa014 100644 --- a/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile +++ b/docker/RELEASE/ubuntu-14.04_tomcat-7/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (Ubuntu 14.04 - Tomcat 7)" \ - org.label-schema.version = "0.9.1-SNAPSHOT" \ + org.label-schema.version = "0.9.1" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1 . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/contrast-finder-webapp_0.9.1.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -37,7 +37,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ARG CONTRAST_FINDER_RELEASE="0.9.1" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile b/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile index 02a823fa..306e0eca 100644 --- a/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile +++ b/docker/RELEASE/ubuntu-16.04_tomcat-7/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (Ubuntu 16.04 - Tomcat 7)" \ - org.label-schema.version = "0.9.1-SNAPSHOT" \ + org.label-schema.version = "0.9.1" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1 . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/contrast-finder-webapp_0.9.1.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -37,7 +37,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ARG CONTRAST_FINDER_RELEASE="0.9.1" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile index 4620befb..744ee7f2 100644 --- a/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile +++ b/docker/RELEASE/ubuntu-18.04_tomcat-8.5/Dockerfile @@ -1,7 +1,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 LABEL org.label-schema.schema-version = "1.0.0-rc.1" \ org.label-schema.name = "Contrast-Finder - WebApp (Ubuntu 18.04 - Tomcat 8.5, Java 10)" \ - org.label-schema.version = "0.9.1-SNAPSHOT" \ + org.label-schema.version = "0.9.1" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ org.label-schema.docker.cmd = "docker run -p 8087:8080 -d asqatasun/contrast-finder" \ @@ -13,9 +13,9 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" # # --- Building this docker image # docker build -t asqatasun/contrast-finder . -# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1-SNAPSHOT . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/ . -# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz . +# docker build -t asqatasun/contrast-finder --build-arg CONTRAST_FINDER_RELEASE=0.9.1 . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL_PREFIX=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/ . +# docker build -t asqatasun/contrast-finder --build-arg SRC_URL=https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/contrast-finder-webapp_0.9.1.tar.gz . # # --- Launch a container # docker run -p 127.0.0.1:8087:8080 --name contrast.finder -d asqatasun/contrast-finder @@ -37,7 +37,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" ################################################################### # build variables -ARG CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ARG CONTRAST_FINDER_RELEASE="0.9.1" ARG SRC_URL_PREFIX="https://github.com/Asqatasun/Contrast-Finder/releases/download/v${CONTRAST_FINDER_RELEASE}" ARG SRC_URL="${SRC_URL_PREFIX}/contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz" diff --git a/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile b/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile index f7be6242..10c0644b 100644 --- a/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/alpine_tomcat-7/Dockerfile @@ -21,7 +21,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile b/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile index bf5a6ee9..574d5885 100644 --- a/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/alpine_tomcat-8.5/Dockerfile @@ -22,7 +22,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-8.5 # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile b/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile index 8c08ed97..7608e3fd 100644 --- a/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/alpine_tomcat-9/Dockerfile @@ -22,7 +22,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Alpine_tomcat-9 # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile b/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile index 68782a69..56d6000b 100644 --- a/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/debian-9_tomcat-8.5/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Debian-9_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile b/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile index 56e3a2b1..559ed96c 100644 --- a/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/debian_tomcat-9_jre9/Dockerfile @@ -22,7 +22,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Debian_tomcat-9_jre9 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" ENV CONF_ENV="debug" # Add contrast-finder .war diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile index 884cef18..5ac6da55 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-14.04_tomcat-7/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-14.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile index b57e0c71..7403de11 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-7/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-7 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile index 6971c951..41ddbd89 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-16.04_tomcat-8.0/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-16.04_tomcat-8.0 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile index 8e96d126..9b6a2ba8 100644 --- a/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile +++ b/docker/SNAPSHOT-local/distrib/ubuntu-18.04_tomcat-8.5/Dockerfile @@ -20,7 +20,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile b/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile index c58ccf2c..63bcfa91 100644 --- a/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/01.no.config.file/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" # Add contrast-finder .war ADD contrast-finder-webapp_${CONTRAST_FINDER_RELEASE}.tar.gz /root diff --git a/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile b/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile index db3f078c..3a951f7a 100644 --- a/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/10.default.algo/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" ENV CONF_DEFAULT_ALGO="Rgb" # ENV CONF_DEFAULT_ALGO="Rgb" # ENV CONF_DEFAULT_ALGO="HSV" diff --git a/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile b/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile index 428249fb..745cecc3 100644 --- a/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/20.debug.env/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" ENV CONF_ENV="debug" # Add contrast-finder .war diff --git a/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile b/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile index e334edc5..ac91c3c3 100644 --- a/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/30.piwik/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" ENV PIWIK_KEY="9" ENV PIWIK_URL="http://localhost/piwik/" diff --git a/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile b/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile index 26ea813a..fec339ae 100644 --- a/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile +++ b/docker/SNAPSHOT-local/test_config-file/40.searchEngineIndex/Dockerfile @@ -19,7 +19,7 @@ FROM asqatasun/contrast-finder:pre-requisites_Ubuntu-18.04_tomcat-8.5 ################################################################### # environment variables -ENV CONTRAST_FINDER_RELEASE="0.9.1-SNAPSHOT" +ENV CONTRAST_FINDER_RELEASE="0.9.1" ENV SEARCH_ENGINGE="yes" # Add contrast-finder .war diff --git a/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile b/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile index 90b0f472..96849801 100644 --- a/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Alpine_tomcat-7/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat7 < jdk7 < alpine 3.7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile index 5f78c5bf..09766e60 100644 --- a/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Alpine_tomcat-8.5/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat 8.5 < jdk 8 < alpine 3.7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile b/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile index e63dfef6..f59412b6 100644 --- a/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Alpine_tomcat-9/Dockerfile @@ -4,7 +4,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat 9 < jdk 8 < alpine 3.7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile index d7cdc348..858d2070 100644 --- a/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Debian-9_tomcat-8.5/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Debian 9 - Tomcat 8.5)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile b/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile index 51afa785..1fb374b9 100644 --- a/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Debian_tomcat-9_jre9/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (tomcat 9 < jdk 9 < debian SID)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile index 2aff029d..cda7510e 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-14.04_tomcat-7/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 14.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile index e16d6046..80907ce8 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-7/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 7)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile index ccf70169..e2ffd17c 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-16.04_tomcat-8.0/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 16.04 - Tomcat 8.0)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile b/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile index 0207a7f8..a8e67cc7 100644 --- a/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile +++ b/docker/pre-requisites/pre-requisites_Ubuntu-18.04_tomcat-8.5/Dockerfile @@ -3,7 +3,7 @@ LABEL org.label-schema.schema-version = "1.0.0-rc.1" org.label-schema.name = "Contrast-Finder - WebApp pre-requisites (Ubuntu 18.04 - Tomcat 8.5, Java 10)" \ org.label-schema.url = "https://contrast-finder.org" \ org.label-schema.vcs-url = "https://github.com/Asqatasun/Contrast-Finder" \ - org.label-schema.version = "0.9.1-SNAPSHOT" + org.label-schema.version = "0.9.1" # ----> documentation http://label-schema.org/ # #### usage ###################################################### diff --git a/documentation/en/10_Install_doc/webapp_Installation.md b/documentation/en/10_Install_doc/webapp_Installation.md index e1a580ee..e61e6be2 100644 --- a/documentation/en/10_Install_doc/webapp_Installation.md +++ b/documentation/en/10_Install_doc/webapp_Installation.md @@ -14,7 +14,7 @@ You just need to replace `tomcat7` with `tomcat8` in the following command lines ```bash cd /tmp -wget https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1-SNAPSHOT/contrast-finder-webapp_0.9.1-SNAPSHOT.tar.gz +wget https://github.com/Asqatasun/Contrast-Finder/releases/download/v0.9.1/contrast-finder-webapp_0.9.1.tar.gz tar -xzvf contrast-finder-webapp_*.tar.gz cd contrast-finder-webapp_*/ mv -v install/contrast-finder-webapp_*.war contrast-finder.war diff --git a/documentation/pom.xml b/documentation/pom.xml index e261982b..595cc8ac 100644 --- a/documentation/pom.xml +++ b/documentation/pom.xml @@ -4,11 +4,11 @@ org.asqatasun contrast-finder - 0.9.1-SNAPSHOT + 0.9.1 documentation pom - 0.9.1-SNAPSHOT + 0.9.1 contrast-finder-documentation diff --git a/engine/api/pom.xml b/engine/api/pom.xml index 1059b43e..d835407a 100644 --- a/engine/api/pom.xml +++ b/engine/api/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.1-SNAPSHOT + 0.9.1 contrast-finder-api - 0.9.1-SNAPSHOT + 0.9.1 jar api diff --git a/engine/hsv/pom.xml b/engine/hsv/pom.xml index e1deefa5..cf52e5fc 100644 --- a/engine/hsv/pom.xml +++ b/engine/hsv/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.1-SNAPSHOT + 0.9.1 contrast-finder-hsv - 0.9.1-SNAPSHOT + 0.9.1 jar hsv diff --git a/engine/impl/pom.xml b/engine/impl/pom.xml index d56f4b2d..9deaf245 100644 --- a/engine/impl/pom.xml +++ b/engine/impl/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.1-SNAPSHOT + 0.9.1 contrast-finder-impl - 0.9.1-SNAPSHOT + 0.9.1 jar impl diff --git a/engine/pom.xml b/engine/pom.xml index 6196dc9c..598cc2bd 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -4,10 +4,10 @@ org.asqatasun contrast-finder - 0.9.1-SNAPSHOT + 0.9.1 engine - 0.9.1-SNAPSHOT + 0.9.1 pom contrast-finder-engine diff --git a/engine/utils/pom.xml b/engine/utils/pom.xml index 22696633..a1a92957 100644 --- a/engine/utils/pom.xml +++ b/engine/utils/pom.xml @@ -4,10 +4,10 @@ org.asqatasun engine - 0.9.1-SNAPSHOT + 0.9.1 contrast-finder-utils - 0.9.1-SNAPSHOT + 0.9.1 jar utils diff --git a/pom.xml b/pom.xml index 38b2e3fb..645c7879 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ org.asqatasun contrast-finder pom - 0.9.1-SNAPSHOT + 0.9.1 Contrast-Finder diff --git a/webapp/pom.xml b/webapp/pom.xml index fac0103c..2bbf92a0 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -4,10 +4,10 @@ org.asqatasun contrast-finder - 0.9.1-SNAPSHOT + 0.9.1 webapp - 0.9.1-SNAPSHOT + 0.9.1 war contrast-finder-webapp diff --git a/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf b/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf index 61644f31..8298ad4f 100644 --- a/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf +++ b/webapp/src/main/webapp/WEB-INF/template/template_variables.jspf @@ -2,7 +2,7 @@ <%@ page pageEncoding="UTF-8" %> <%-- APP version --%> - + <%-- APP Name --%>