From 05a9746db63770576224b960aea41fad59155c4d Mon Sep 17 00:00:00 2001 From: Carter Socha <43380952+cartersocha@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:47:02 -0700 Subject: [PATCH] update go version (#409) * update go version * update changelog * changelog update --- CHANGELOG.md | 14 ++++++++++++++ src/checkoutservice/Dockerfile | 6 +++--- src/checkoutservice/go.mod | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c3f524b55..65902363ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -95,3 +95,17 @@ significant modifications will be credited to OpenTelemetry Authors. ([#362](https://github.com/open-telemetry/opentelemetry-demo/pull/362)) * Add custom span and custom span attributes for Feature Flag Service ([#371](https://github.com/open-telemetry/opentelemetry-demo/pull/371)) +* Change Cart Service to be async +([#372](https://github.com/open-telemetry/opentelemetry-demo/pull/372)) +* Removed Postgres error on startup +([#378](https://github.com/open-telemetry/opentelemetry-demo/pull/378)) +* Fixed traffic to Ad and Recommendation Service +([#379](https://github.com/open-telemetry/opentelemetry-demo/pull/379)) +* Add dotnet runtime metrics to the Cart Service +([#393](https://github.com/open-telemetry/opentelemetry-demo/pull/393)) +* Add dotnet instrumentation libraries to the Cart Service +([#394](https://github.com/open-telemetry/opentelemetry-demo/pull/394)) +* Fixed Feature Flag Service error on start up +([#402](https://github.com/open-telemetry/opentelemetry-demo/pull/402)) +* Update Checkout Service Go version to 1.19 once OTel Go Metrics require 1.18+ +([#406](https://github.com/open-telemetry/opentelemetry-demo/pull/406)) diff --git a/src/checkoutservice/Dockerfile b/src/checkoutservice/Dockerfile index 421a150947..dd672b239f 100644 --- a/src/checkoutservice/Dockerfile +++ b/src/checkoutservice/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.17.7-alpine AS builder +FROM golang:1.19.2-alpine AS builder RUN apk add build-base protoc WORKDIR /usr/src/app/ @@ -20,8 +20,8 @@ WORKDIR /usr/src/app/ COPY ./src/checkoutservice/ ./ COPY ./pb/ ./proto/ RUN go mod download -RUN go get google.golang.org/protobuf/cmd/protoc-gen-go -RUN go get google.golang.org/grpc/cmd/protoc-gen-go-grpc +RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 +RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2 # Build executable RUN protoc -I ./proto/ ./proto/demo.proto --go_out=./ --go-grpc_out=./ diff --git a/src/checkoutservice/go.mod b/src/checkoutservice/go.mod index 794df1280d..e0729d4f91 100644 --- a/src/checkoutservice/go.mod +++ b/src/checkoutservice/go.mod @@ -1,6 +1,6 @@ module github.com/open-telemetry/opentelemetry-demo/src/checkoutservice -go 1.17 +go 1.19 require ( github.com/google/uuid v1.3.0