Skip to content

Commit d81606a

Browse files
authored
Update tested Go version (#787)
* Update tested Go version * Update all ref of Go 1.14 * Add compatibility section to readme * Update changelog * Update pre_release.sh
1 parent ab12ace commit d81606a

File tree

56 files changed

+70
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+70
-104
lines changed

.github/workflows/build_and_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
go_version: [1.14, 1.15]
14+
go_version: [1.15, 1.16]
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout Repo

CHANGELOG.md

+4

README.md

+14

detectors/aws/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/detectors/aws
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/aws/aws-sdk-go v1.38.40

detectors/gcp/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/detectors/gcp
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
cloud.google.com/go v0.81.0

exporters/metric/cortex/example/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ version: "3"
1616

1717
services:
1818
app:
19-
image: golang:1.14-alpine
19+
image: golang:1.15-alpine
2020
volumes:
2121
- .:/app
2222
working_dir: /app

exporters/metric/cortex/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/exporters/metric/cortex/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib/exporters/metric/cortex => ../

exporters/metric/cortex/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/exporters/metric/cortex
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/gogo/protobuf v1.3.2

exporters/metric/cortex/utils/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/exporters/metric/cortex/utils
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib/exporters/metric/cortex => ../
66

exporters/metric/datadog/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/exporters/metric/datadog
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/DataDog/datadog-go v3.7.2+incompatible

exporters/metric/dogstatsd/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/exporters/metric/dogstatsd
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/stretchr/testify v1.7.0

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module go.opentelemetry.io/contrib
22

3-
go 1.14
3+
go 1.15

instrumentation/github.com/Shopify/sarama/otelsarama/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/Shopify/sarama/otelsarama/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib => ../../../../..
66

instrumentation/github.com/astaxie/beego/otelbeego/example/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.14-alpine AS base
15+
FROM golang:1.15-alpine AS base
1616
COPY . /src/
1717
WORKDIR /src/instrumentation/github.com/astaxie/beego/otelbeego/example
1818

instrumentation/github.com/astaxie/beego/otelbeego/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/astaxie/beego/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/astaxie/beego/otelbeego/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../..

instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
FROM golang:1.14-alpine AS base
14+
FROM golang:1.15-alpine AS base
1515
COPY . /src/
1616
WORKDIR /src/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
1717

instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../..

instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../

instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/example/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
FROM golang:1.14-alpine AS base
14+
FROM golang:1.15-alpine AS base
1515
COPY . /src/
1616
WORKDIR /src/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache
1717

instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../../

instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib => ../../../../../../
66

instrumentation/github.com/emicklei/go-restful/otelrestful/example/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
FROM golang:1.14-alpine AS base
14+
FROM golang:1.15-alpine AS base
1515
COPY . /src/
1616
WORKDIR /src/instrumentation/github.com/emicklei/go-restful/otelrestful
1717

instrumentation/github.com/emicklei/go-restful/otelrestful/example/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
version: "3.7"
1515
services:
1616
go-restful-client:
17-
image: golang:1.14-alpine
17+
image: golang:1.15-alpine
1818
networks:
1919
- example
2020
command:

instrumentation/github.com/emicklei/go-restful/otelrestful/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/emicklei/go-restful/otelrestful/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../

instrumentation/github.com/gin-gonic/gin/otelgin/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/github.com/gin-gonic/gin/otelgin/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/gin-gonic/gin/otelgin/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../

instrumentation/github.com/go-kit/kit/otelkit/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit/example
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/gorilla/mux v1.8.0

instrumentation/github.com/go-kit/kit/otelkit/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/go-kit/kit v0.10.0

instrumentation/github.com/gocql/gocql/otelgocql/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/gocql/gocql/otelgocql/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/gocql/gocql/otelgocql/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/gocql/gocql/otelgocql
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib => ../../../../../
66

instrumentation/github.com/gorilla/mux/otelmux/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/github.com/gorilla/mux/otelmux/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/gorilla/mux/otelmux/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../..

instrumentation/github.com/labstack/echo/otelecho/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/github.com/labstack/echo/otelecho/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/github.com/labstack/echo/otelecho/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../

instrumentation/google.golang.org/grpc/otelgrpc/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../

instrumentation/google.golang.org/grpc/otelgrpc/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib => ../../../../
66

instrumentation/gopkg.in/macaron.v1/otelmacaron/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../

instrumentation/gopkg.in/macaron.v1/otelmacaron/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../..

instrumentation/host/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/opentelemetry-go-contrib/instrumentation/host/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../

instrumentation/host/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/host
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib => ../..
66

instrumentation/net/http/httptrace/otelhttptrace/example/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
FROM golang:1.14-alpine AS base
14+
FROM golang:1.15-alpine AS base
1515
COPY . /src/
1616
WORKDIR /src/instrumentation/net/http/httptrace/otelhttptrace/example
1717

instrumentation/net/http/httptrace/otelhttptrace/example/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/example
22

3-
go 1.14
3+
go 1.15
44

55
replace (
66
go.opentelemetry.io/contrib => ../../../../../../

instrumentation/net/http/httptrace/otelhttptrace/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
22

3-
go 1.14
3+
go 1.15
44

55
replace go.opentelemetry.io/contrib => ../../../../..
66

instrumentation/net/http/otelhttp/example/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
FROM golang:1.14-alpine AS base
14+
FROM golang:1.15-alpine AS base
1515
COPY . /src/
1616
WORKDIR /src/instrumentation/net/http/otelhttp/example
1717

0 commit comments

Comments
 (0)