You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by fo...@apache.org on 2019/05/31 21:24:59 UTC
[avro] branch branch-1.9 updated: AVRO-2405 Make Travis green again
(#527)
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.9 by this push:
new c069dea AVRO-2405 Make Travis green again (#527)
c069dea is described below
commit c069deac4f9f2b432bf1d5d2ff4ca55d8545ae41
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Mon May 27 14:36:27 2019 +0200
AVRO-2405 Make Travis green again (#527)
* AVRO-2405 Make Travis green again
* Disable Forest for JDK11
* Remove Apache Forrest from the Dockerfile
* Remove Forrest references
---
.travis.yml | 4 ++--
share/docker/Dockerfile | 15 ---------------
2 files changed, 2 insertions(+), 17 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index c4b3cbb..8249b6a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,5 +36,5 @@ before_install:
- curl -L https://www-us.apache.org/dist/yetus/0.8.0/yetus-0.8.0-bin.tar.gz | tar xvz -C /tmp/
script:
- - sed 's/java:8-jdk/java:'${JAVA}'-jdk/' share/docker/Dockerfile
- - /tmp/yetus-0.8.0/bin/test-patch --plugins=buildtest --user-plugins=share/precommit/ --run-tests --empty-patch --docker --dockerfile=share/docker/Dockerfile --dirty-workspace --verbose=true
+ - sed -i.bak 's/openjdk:8/openjdk:'${JAVA}'/' share/docker/Dockerfile
+ - /tmp/yetus-0.8.0/bin/test-patch --plugins=buildtest --java-home=/usr/local/openjdk-${JAVA} --user-plugins=share/precommit/ --run-tests --empty-patch --docker --dockerfile=share/docker/Dockerfile --dirty-workspace --verbose=true
diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index 4147c46..b350480 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -78,21 +78,6 @@ RUN apt-get -qq update && \
apt-get -qq clean && \
rm -rf /var/lib/apt/lists/*
-# Install Forrest in /usr/local/apache-forrest
-RUN curl -L -s "http://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-sources.tar.gz" | tar -xzf - -C /usr/local/ && \
- curl -L -s "http://www.apache.org/dyn/closer.lua?action=download&filename=/forrest/apache-forrest-0.9-dependencies.tar.gz" | tar -xzf - -C /usr/local/ && \
- mv /usr/local/apache-forrest-0.9 /usr/local/apache-forrest && \
- cd /usr/local/apache-forrest/main && \
- ./build.sh
-
-# The solution for https://issues.apache.org/jira/browse/PIG-3906
-# Configure where forrest can be found
-RUN mkdir -p /usr/local/apache-forrest/plugins && chmod a+rwX -R /usr/local/apache-forrest/plugins && \
- mkdir -p /usr/local/apache-forrest/build/plugins && chmod a+rwX -R /usr/local/apache-forrest/build/plugins && \
- echo 'forrest.home=/usr/local/apache-forrest' > build.properties
-
-ENV FORREST_HOME /usr/local/apache-forrest
-
# Install Perl modules
RUN curl -L http://cpanmin.us | perl - --self-upgrade && \
cpanm install Module::Install Module::Install::ReadmeFromPod \