GeezerVison is showing github.com — chore: update hermetic build docker volume usage by diegomarquezp · Pull Request #10770 · googleapis/google-cloud-java
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Confirmed locally that generation/hermetic_library_generation.sh worked:
Library postprocessing finished successfully
Regenerating root pom.xml
Regenerating gapic-libraries-bom
Configuration diff:
28c28
< personnel. - test2
---
> personnel. -test2
[update-library-generation-docker-volume-usage e01a95db362] chore: generate libraries at Wed May 1 05:54:59 PM UTC 2024
2 files changed, 3 insertions(+), 3 deletions(-)
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 24 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 486 bytes | 486.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
To https://github.com/googleapis/google-cloud-java
1d3caed6359..e01a95db362 update-library-generation-docker-volume-usage -> update-library-generation-docker-volume-usage
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
From https://github.com/googleapis/google-cloud-java/actions/runs/8913106957/job/24477945575?pr=10770
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "--baseline-generation-config-path=/workspace/baseline_generation_config.yaml": stat --baseline-generation-config-path=/workspace/baseline_generation_config.yaml: no such file or directory: unknown.
This is because 2.39.0 has a different interface. We need to wait until 2.40 is released to perform this change
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
--target-library-names=<library_name if specified; otherwise api_shortname>
|
|
|
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/workspace --entrypoint \
|
|
|
python gcr.io/cloud-devrel-public-resources/java-library-generation:latest \
|
|
|
/src/generate_repo.py generate \
|
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.
Could you change this command to use entry_point.py because the cli in generate_repo.py will be removed soon.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
|
-e "RUNNING_IN_DOCKER=true" \
|
|
|
-e "REPO_BINDING_VOLUMES=-v ${repo_volumes}" \
|
|
|
-u "$(id -u):$(id -g)" \
|
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.
I guess this is the command enables us to modify/delete the docker generated files?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
yes, including ownership takeover performed by the container
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
do not merge
Indicates a pull request not ready for merge, due to either quality or timing.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|