-
Notifications
You must be signed in to change notification settings - Fork 25
feat: use bazel build in docker #955
Conversation
docker/Dockerfile
Outdated
| # Print versions for debugging purposes | ||
| RUN gapic-generator-typescript --version | ||
| RUN protoc --version | ||
| Run bazel --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be RUN?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Thanks for that.
docker/test.sh
Outdated
|
|
||
| # Run bazel use generator generating showcase client library | ||
| SHOWCASE_PROTOS=`pwd`/test-fixtures/protos/google/showcase/v1beta1 | ||
| bazel run //:gapic_generator_typescript -- -I $SHOWCASE_PROTOS --output_dir $DIR_NAME `find $SHOWCASE_PROTOS -name '*.proto'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait... This test script is supposed to execute docker run because this is a test of how Docker image works. We need to start using bazel in the Docker start script (entry point, start.sh).
6fa5a79 to
169c1b4
Compare
|
Any updates on this? It's blocking the re-enablement of the TypeScript smoke test in Showcase (googleapis/gapic-showcase#915) |
|
@vchudnov-g This is a good candidate for the upcoming fixit. |
|
Need to re-investigate how to solve this. |
bazel build to generate showcase client library in docker