You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2020/11/20 03:02:40 UTC

[geode-native] branch develop updated: parameterize GEODE_VERSION so that Geode release scripts can maintain this going forward

This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new fcf95b3  parameterize GEODE_VERSION so that Geode release scripts can maintain this going forward
fcf95b3 is described below

commit fcf95b32773783e86976e34c0ccfc9987fa63fec
Author: Owen Nichols <on...@apache.org>
AuthorDate: Thu Nov 19 19:01:58 2020 -0800

    parameterize GEODE_VERSION so that Geode release scripts can maintain this going forward
---
 .lgtm.yml         | 5 +++--
 docker/Dockerfile | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.lgtm.yml b/.lgtm.yml
index 70b0840..070db64 100644
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -2,11 +2,12 @@ extraction:
   cpp:
     configure:
       command:
+        - GEODE_VERSION=1.13.1
         - mkdir _lgtm_build_dir
         - cd _lgtm_build_dir
-        - wget -O apache-geode.tgz http://mirror.transip.net/apache/geode/1.13.1/apache-geode-1.13.1.tgz
+        - wget -O apache-geode.tgz https://downloads.apache.org/geode/${GEODE_VERSION}/apache-geode-${GEODE_VERSION}.tgz
         - tar xzf apache-geode.tgz
-        - cmake -DGEODE_ROOT="`pwd`/apache-geode-1.13.1" ..
+        - cmake -DGEODE_ROOT="`pwd`/apache-geode-${GEODE_VERSION}" ..
         - cd dependencies && cmake --build . -- -j2
     index:
       build_command:
diff --git a/docker/Dockerfile b/docker/Dockerfile
index cfc4ddb..43860c8 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -46,12 +46,12 @@ RUN apt-get update && \
         update-alternatives --install /usr/bin/clang-tidy    clang-tidy    /usr/bin/clang-tidy-${CLANG_VERSION} 999 && \
         update-alternatives --install /usr/bin/clang-format  clang-format  /usr/bin/clang-format-${CLANG_VERSION} 999
 
-ENV GEODE_VERSION 1.12.0
-RUN wget "https://www.apache.org/dyn/closer.cgi?action=download&filename=geode/${GEODE_VERSION}/apache-geode-${GEODE_VERSION}.tgz" --quiet -O - | \
+ENV GEODE_VERSION 1.13.1
+RUN wget "https://downloads.apache.org/geode/${GEODE_VERSION}/apache-geode-${GEODE_VERSION}.tgz" --quiet -O - | \
         tar xzf -
 
 ENV RAT_VERSION 0.13
-RUN wget "https://www.apache.org/dyn/closer.cgi?action=download&filename=creadur/apache-rat-${RAT_VERSION}/apache-rat-${RAT_VERSION}-bin.tar.gz" --quiet -O - | \
+RUN wget "https://archive.apache.org/dist/creadur/apache-rat-${RAT_VERSION}/apache-rat-${RAT_VERSION}-bin.tar.gz" --quiet -O - | \
         tar xzf -
 
 ENV CMAKE_VERSION 3.16.8