You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sa...@apache.org on 2018/03/06 22:21:43 UTC
[geode] branch develop updated: GEODE-4777: Add UITest job to
concourse develop pipeline (#1561)
This is an automated email from the ASF dual-hosted git repository.
sai_boorlagadda pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 00e2a45 GEODE-4777: Add UITest job to concourse develop pipeline (#1561)
00e2a45 is described below
commit 00e2a4560c51dbbc0f1febf472f2f0118fb5dd94
Author: Sai Boorlagadda <sa...@gmail.com>
AuthorDate: Tue Mar 6 14:21:40 2018 -0800
GEODE-4777: Add UITest job to concourse develop pipeline (#1561)
* GEODE-4777: Add UITest job to concourse develop pipeline
Updated ci Dockerfile to have both chrome and chromedriver
binaries installed.
---
ci/docker/Dockerfile | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/ci/docker/Dockerfile b/ci/docker/Dockerfile
index ecbca46..ab07d43 100644
--- a/ci/docker/Dockerfile
+++ b/ci/docker/Dockerfile
@@ -48,10 +48,25 @@ RUN chmod +x /usr/local/bin/initdocker
RUN curl -Lo /usr/local/bin/dunit-progress https://github.com/jdeppe-pivotal/progress-util/releases/download/0.2/progress.linux
RUN chmod +x /usr/local/bin/dunit-progress
+# Install Chrome
+RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
+ && echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
+ && apt-get update && apt-get install -y google-chrome-stable --no-install-recommends \
+ && rm -rf /var/lib/apt/lists/*
+
+# Install Chrome driver
+ARG CHROME_DRIVER_VERSION=2.35
+RUN wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
+ && rm -rf /opt/selenium/chromedriver \
+ && unzip /tmp/chromedriver_linux64.zip -d /opt/selenium \
+ && rm /tmp/chromedriver_linux64.zip \
+ && mv /opt/selenium/chromedriver /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION \
+ && chmod 755 /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION \
+ && ln -fs /opt/selenium/chromedriver-$CHROME_DRIVER_VERSION /usr/bin/chromedriver
+
# Cache gradle for performance
ENV GRADLE_USER_HOME /usr/local/maven_files
WORKDIR /tmp/work
ADD cache_dependencies.sh cache_dependencies.sh
RUN chmod +x cache_dependencies.sh
RUN ./cache_dependencies.sh && rm -rf /tmp/work
-
--
To stop receiving notification emails like this one, please contact
sai_boorlagadda@apache.org.