Repository navigation
MINOR: [CI] Only try to read vcpkg version from .env if it isn't specified - #41805
Merged
Merged
Conversation
Member
|
@github-actions crossbow submit -g wheel |
|
Revision: 0069113 Submitted crossbow builds: ursacomputing/crossbow @ actions-cddb9d4b5a |
vibhatha
pushed a commit
to vibhatha/arrow
that referenced
this pull request
May 25, 2024
…ified (apache#41805) ### Rationale for this change See apache#41599 (comment) This is a small tidy up of `install_vcpkg.sh` based on code review in apache#41599 after it was merged. Some uses of `install_vcpkg.sh` are in Docker containers where the `.env` file hasn't been copied. Rather than try to read it and ignore any errors, only read the `.env` file if the vcpkg version wasn't specified as an argument to the script. This way if there is an error reading the `.env` file and we do need the default version, the error should be more helpful. ### What changes are included in this PR? Update `install_vcpkg.sh` to only try to read the vcpkg version from `.env` if it isn't specified as an argument and don't ignore any errors. ### Are these changes tested? Yes, this script already runs as part of CI. ### Are there any user-facing changes? No Authored-by: Adam Reeve <adreeve@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
|
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 19044ee. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 9 possible false positives for unstable benchmarks that are known to sometimes produce them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rationale for this change
See #41599 (comment)
This is a small tidy up of
install_vcpkg.shbased on code review in #41599 after it was merged. Some uses ofinstall_vcpkg.share in Docker containers where the.envfile hasn't been copied. Rather than try to read it and ignore any errors, only read the.envfile if the vcpkg version wasn't specified as an argument to the script. This way if there is an error reading the.envfile and we do need the default version, the error should be more helpful.What changes are included in this PR?
Update
install_vcpkg.shto only try to read the vcpkg version from.envif it isn't specified as an argument and don't ignore any errors.Are these changes tested?
Yes, this script already runs as part of CI.
Are there any user-facing changes?
No