Skip to content

Commit

Permalink
chore(internal): fix irregular pathing (#4414)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Jul 12, 2021
1 parent 1458dc9 commit 7ddacb7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions internal/gapicgen/cmd/genbot/Dockerfile
Expand Up @@ -23,12 +23,11 @@ ENV PATH /usr/local/go/bin:$PATH
RUN go version

# Install Go tools.
RUN GO111MODULE=on go get \
github.com/golang/protobuf/protoc-gen-go@v1.5.2 \
golang.org/x/lint/golint@latest \
golang.org/x/tools/cmd/goimports@latest \
honnef.co/go/tools/cmd/staticcheck@latest \
github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic@v0.21.7
RUN go install github.com/golang/protobuf/protoc-gen-go@v1.5.2 && \
go install golang.org/x/lint/golint@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \
go install honnef.co/go/tools/cmd/staticcheck@latest && \
go install github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic@v0.21.7
ENV PATH="${PATH}:/root/go/bin"

# Source: http://debuggable.com/posts/disable-strict-host-checking-for-git-clone:49896ff3-0ac0-4263-9703-1eae4834cda3
Expand Down
8 changes: 4 additions & 4 deletions internal/gapicgen/generator/config.go
Expand Up @@ -561,7 +561,7 @@ var microgenGapicConfigs = []*microgenConfig{
pkg: "apiv1",
importPath: "cloud.google.com/go/firestore/apiv1/admin",
gRPCServiceConfigPath: "firestore_admin_grpc_service_config.json",
apiServiceConfigPath: "firestore_admin_v1.yaml",
apiServiceConfigPath: "firestore_v1.yaml",
releaseLevel: "ga",
},
{
Expand Down Expand Up @@ -634,8 +634,8 @@ var microgenGapicConfigs = []*microgenConfig{
inputDirectoryPath: "google/devtools/containeranalysis/v1beta1/grafeas",
pkg: "containeranalysis",
importPath: "cloud.google.com/go/containeranalysis/apiv1beta1",
gRPCServiceConfigPath: "containeranalysis_grpc_service_config.json",
apiServiceConfigPath: "containeranalysis_v1beta1.yaml",
gRPCServiceConfigPath: "../containeranalysis_grpc_service_config.json",
apiServiceConfigPath: "../containeranalysis_v1beta1.yaml",
releaseLevel: "beta",
},
{
Expand All @@ -651,7 +651,7 @@ var microgenGapicConfigs = []*microgenConfig{
pkg: "videointelligence",
importPath: "cloud.google.com/go/videointelligence/apiv1beta2",
gRPCServiceConfigPath: "videointelligence_grpc_service_config.json",
apiServiceConfigPath: "videointelligence_v1beta2.yaml",
apiServiceConfigPath: "../videointelligence_v1beta2.yaml",
releaseLevel: "beta",
},
{
Expand Down

0 comments on commit 7ddacb7

Please sign in to comment.