You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2022/03/23 04:29:09 UTC
[calcite-avatica-go] 01/04: [CALCITE-5055] Test against Go 1.17 and 1.18
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 b5d64b0e6ff8971a5b573005e56d3d5c1fae0bd0
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Mar 23 14:00:33 2022 +1100
[CALCITE-5055] Test against Go 1.17 and 1.18
---
.github/workflows/tests.yaml | 2 +-
docker-compose.yml | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 5693fde..534bec6 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- go_version: [1.14, 1.15]
+ go_version: [1.17, 1.18]
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 9712713..4203fcf 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,8 +23,8 @@ services:
command: -u jdbc:hsqldb:mem:public
test:
- image: golang:1.15-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 ./..."
+ image: golang:1.18
+ command: sh -c "export AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go test -v ./..."
working_dir: /source
environment:
PHOENIX_HOST: http://phoenix:8765
@@ -37,8 +37,8 @@ services:
- hsqldb
dev:
- image: golang:1.15-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\""
+ image: golang:1.18
+ command: sh -c "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
@@ -88,13 +88,13 @@ services:
- .:/source
compile-protobuf:
- image: golang:1.15-alpine
+ image: golang:1.18-alpine
working_dir: /source
command: sh -c "apk --no-cache --no-progress add bash; ./docker.sh compile-protobuf"
environment:
- AVATICA_VERSION: 1.17.0
+ AVATICA_VERSION: 1.20.0
PROTOBUF_VERSION: 3.12.3
- GLIBC_VERSION: 2.31-r0
+ GLIBC_VERSION: 2.35-r0
volumes:
- .:/source
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
\ No newline at end of file