Skip to content

Commit

Permalink
chore: Add volume mapping for testing with a SNAPSHOT version of gapi…
Browse files Browse the repository at this point in the history
…c generator (#10954)

Add volume mapping for testing with a SNAPSHOT version of gapic generator.

This is a short term mitigation for testing google-cloud-java with a SNAPSHOT version of gapic generator. In long term, we should bake the generator into the docker images.
  • Loading branch information
blakeli0 authored Jun 10, 2024
1 parent 1e38051 commit d3cf203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generation/hermetic_library_generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ docker run \
--rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):${workspace_name}" \
-v "$HOME"/.m2:/home/.m2 \
gcr.io/cloud-devrel-public-resources/java-library-generation:"${image_tag}" \
--baseline-generation-config-path="${workspace_name}/${baseline_generation_config}" \
--current-generation-config-path="${workspace_name}/${generation_config}"
Expand Down

0 comments on commit d3cf203

Please sign in to comment.