Quellcode durchsuchen

revert(go): downgrade go from 1.17 to 1.16

Signed-off-by: Jianxiang Ran <rxan_embedded@163.com>
Jianxiang Ran vor 3 Jahren
Ursprung
Commit
dc4e8163bb

+ 1 - 1
.github/dockerfile/Dockerfile.centos

@@ -16,7 +16,7 @@ FROM centos:7
 
 RUN yum install -y make wget git which rpm-build gcc
 
-ARG GO_VERSION=1.17.3
+ARG GO_VERSION=1.16.3
 
 RUN case $(arch) in \
         x86_64) \

+ 1 - 1
.github/dockerfile/Dockerfile.debian

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ARG GO_VERSION=1.17.3
+ARG GO_VERSION=1.16.3
 FROM golang:${GO_VERSION} AS builder
 
 COPY . /go/kuiper

+ 3 - 3
.github/workflows/build_packages.yaml

@@ -20,7 +20,7 @@ jobs:
     strategy:
       matrix:
         golang:
-          - 1.17.3
+          - 1.16.3
         arch:
           - linux/amd64
           - linux/arm64
@@ -61,7 +61,7 @@ jobs:
         fetch-depth: 0
     - uses: actions/setup-go@v2
       with:
-        go-version: '1.17.3'
+        go-version: '1.16.3'
     - name: prepare
       run: |
           brew install curl zip unzip gnu-sed upx pkg-config zmq
@@ -172,7 +172,7 @@ jobs:
           - linux/amd64
           - linux/arm64
         golang:
-          - 1.17.3
+          - 1.16.3
         exclude:
           - arch: linux/arm64
             plugin: functions/labelImage

+ 2 - 2
.github/workflows/run_fvt_tests.yaml

@@ -41,7 +41,7 @@ jobs:
     steps:
     - uses: actions/setup-go@v1
       with:
-        go-version: '1.17'
+        go-version: '1.16'
     - uses: actions/setup-java@v1
       with:
         java-version: '8' # The JDK version to make available on the path.
@@ -131,7 +131,7 @@ jobs:
     steps:
       - uses: actions/setup-go@v1
         with:
-          go-version: '1.17'
+          go-version: '1.16'
       - uses: actions/setup-java@v1
         with:
           java-version: '8' # The JDK version to make available on the path.

+ 1 - 1
.github/workflows/run_test_case.yaml

@@ -21,7 +21,7 @@ jobs:
     - uses: actions/checkout@v2
     - uses: actions/setup-go@v2
       with:
-        go-version: '1.17.3'
+        go-version: '1.16.3'
     - uses: actions/setup-python@v2
       with:
         python-version: '3.x'

+ 1 - 1
deploy/docker/Dockerfile

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM golang:1.17.3 AS builder
+FROM golang:1.16.3 AS builder
 
 COPY . /go/kuiper
 

+ 1 - 1
deploy/docker/Dockerfile-alpine

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM golang:1.17.3-alpine AS builder
+FROM golang:1.16.3-alpine AS builder
 
 COPY . /go/kuiper
 

+ 1 - 1
deploy/docker/Dockerfile-kubernetes-tool

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM golang:1.17.3-alpine AS builder
+FROM golang:1.16.3-alpine AS builder
 
 COPY . /go/kuiper
 

+ 1 - 1
deploy/docker/Dockerfile-slim

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM golang:1.17.3 AS builder
+FROM golang:1.16.3 AS builder
 
 COPY . /go/kuiper
 

+ 1 - 1
deploy/docker/Dockerfile-slim-python

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM golang:1.17.3 AS builder
+FROM golang:1.16.3 AS builder
 
 COPY . /go/kuiper
 

+ 1 - 1
extensions.mod

@@ -85,4 +85,4 @@ require (
 
 replace github.com/lf-edge/ekuiper/extensions => ./extensions
 
-go 1.17
+go 1.16

+ 1 - 1
extensions/go.mod

@@ -1,6 +1,6 @@
 module github.com/lf-edge/ekuiper/extensions
 
-go 1.17
+go 1.16
 
 require (
 	github.com/go-redis/redis/v7 v7.3.0

+ 1 - 1
go.mod

@@ -77,4 +77,4 @@ require (
 	golang.org/x/text v0.3.6 // indirect
 )
 
-go 1.17
+go 1.16