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:12:29 UTC

[geode-native] branch support/1.12 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 support/1.12
in repository https://gitbox.apache.org/repos/asf/geode-native.git


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

commit 3478d98a49936d314dcc522634543beddb53ea4a
Author: Owen Nichols <on...@apache.org>
AuthorDate: Thu Nov 19 19:12:17 2020 -0800

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

diff --git a/.lgtm.yml b/.lgtm.yml
index 652e079..1e379cb 100644
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -2,11 +2,12 @@ extraction:
   cpp:
     configure:
       command:
+        - GEODE_VERSION=1.12.0
         - mkdir _lgtm_build_dir
         - cd _lgtm_build_dir
-        - wget -O apache-geode.tgz http://mirror.transip.net/apache/geode/1.12.0/apache-geode-1.12.0.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.12.0" ..
+        - cmake -DGEODE_ROOT="`pwd`/apache-geode-${GEODE_VERSION}" ..
         - cd dependencies && cmake --build . -- -j2
     index:
       build_command:
diff --git a/.travis.yml b/.travis.yml
index 37758cf..5016ccb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,7 +25,7 @@ services:
 env:
   global:
     - DOCKER_ARGS="--rm --volume=${TRAVIS_BUILD_DIR}:/geode-native"
-    - DOCKER_IMAGE="apachegeode/geode-native-build:latest"
+    - DOCKER_IMAGE="apachegeode/geode-native-build:1.12.0"
     - SOURCE_DIR="/geode-native"
 
   matrix:
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5311272..e50127f 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -21,6 +21,7 @@ ENV TZ=US/Pacific
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 
 ENV CLANG_VERSION 6.0
+ENV DEBIAN_FRONTEND=noninteractive
 RUN apt-get update && \
         apt-get install -y \
             libc++-dev \
@@ -46,7 +47,7 @@ RUN apt-get update && \
         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/dist/geode/${GEODE_VERSION}/apache-geode-${GEODE_VERSION}.tgz" --quiet -O - | \
+RUN wget "https://downloads.apache.org/geode/${GEODE_VERSION}/apache-geode-${GEODE_VERSION}.tgz" --quiet -O - | \
         tar xzf -
 
 ENV RAT_VERSION 0.13