This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
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.
I run the bazel with
--workspace_status_command
to stamp the values such as GCP project id, GCR repository name, GKE cluster name and so on, and I passed the path to the shellscript as written on README.However it got error saying "command not found"
I found the exact discussion around this on bazelbuild/bazel#5002. The issue says that
--workspace_status_command
doesn't accept shellscript was bug at first, and then in the middle of discussion, it was closed. In the thread, some workarounds were proposed but they were not reflected to this repo's README. At least, the description as-is doesn't work, so I'm requesting the fix.P.S. to the referred bug (bazelbuild/bazel#5002):
I understand the path expression is not platform independent, but stamping itself isn't neither and when we add the lines in
.bazelrc
we can put platform dependent sections so I don't think not accepting Linux relative path