Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-5220 Create a New Jenkins Job for voltha with VGC
  3. VOL-5229

docker layer: proto.Dockerfile: golang upgrade to v1.17.10

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: To Do (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: protos
    • Labels:
      None
    • Story Points:
      0

      Description

      1) Remove GO111MODULE=on

      2) Replace github protobuf with google.golang

      • github.com/golang/protobuf/protoc-gen-go@v$PROTOC_GEN_GO_VERSION
      • google.golang.org/protobuf/protoc-gen-go@v$PROTOC_GEN_GO_VERSION

       

      3) Install now fails with

      grpc-gateway/protoc-gen-grpc-gateway@v1.14.3:

        all arguments must have the same version (@v)

      RUN GO111MODULE=on CGO_ENABLED=0 go install -a \
      google.golang.org/protobuf/protoc-gen-go@v$PROTOC_GEN_GO_VERSION \
      github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v$PROTOC_GEN_GRPC_GATEWAY_VERSION \
      github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v$PROTOC_GEN_GRPC_GATEWAY_VERSION

      Cannot simply use 1.14.3, protoc-gen-go@ does not exist.

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            joey Joey Armstrong
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes