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

francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git

commit c028c418dc76aab66e8f4ee659c99a4509e0a51c
Author: Francis Chuang <francischu...@apache.org>
AuthorDate: Thu Apr 9 09:13:42 2020 +1000

    [CALCITE-3902] Upgrade Go to 1.13 and 1.14
---
 .github/workflows/tests.yaml | 2 +-
 docker-compose.yml           | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 016be59..95f607b 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -5,7 +5,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        go_version: [1.12, 1.13]
+        go_version: [1.13, 1.14]
         database_image:
           - boostport/hbase-phoenix-all-in-one:1.3-4.13
           - boostport/hbase-phoenix-all-in-one:1.4-4.14
diff --git a/docker-compose.yml b/docker-compose.yml
index e0bda70..2bc4572 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,7 +23,7 @@ services:
     command: -u jdbc:hsqldb:mem:public
 
   test:
-    image: golang:1.12-alpine
+    image: golang:1.14-alpine
     command: sh -c "apk --no-cache --no-progress add gcc git musl-dev; export 
AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go 
test -v ./..."
     working_dir: /source
     environment:
@@ -37,11 +37,12 @@ services:
       - hsqldb
 
   dev:
-    image: golang:1.12-alpine
-    command: sh -c "apk --no-cache --no-progress add build-base git; go get 
github.com/unchartedsoftware/witch; cd /source; witch --cmd=\"export 
AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go 
test -v ./...\" --watch=\"*.mod,**/*.go\""
+    image: golang:1.14-alpine
+    command: sh -c "apk --no-cache --no-progress add build-base git; go 
install github.com/unchartedsoftware/witch; cd /source; witch --cmd=\"export 
AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go 
test -v ./...\" --watch=\"*.mod,**/*.go\""
     environment:
       PHOENIX_HOST: http://phoenix:8765
       HSQLDB_HOST: http://hsqldb:8765
+    working_dir: /source
     volumes:
       - .:/source
       - $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
@@ -87,7 +88,7 @@ services:
       - .:/source
 
   compile-protobuf:
-    image: golang:1.12-alpine
+    image: golang:1.14-alpine
     working_dir: /source
     command: sh -c "apk --no-cache --no-progress add bash; ./docker.sh 
compile-protobuf"
     environment:

Reply via email to