Skip to content

MINOR: [CI] Only try to read vcpkg version from .env if it isn't specified - #41805

Merged
kou merged 1 commit into
apache:mainfrom
adamreeve:vcpkg_install_tidy
May 24, 2024
Merged

kou merged 1 commit into
apache:mainfrom
adamreeve:vcpkg_install_tidy

Conversation

@adamreeve

Copy link
Copy Markdown
Contributor

Rationale for this change

See #41599 (comment)

This is a small tidy up of install_vcpkg.sh based on code review in #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

@kou

kou commented May 24, 2024

Copy link
Copy Markdown
Member

@github-actions crossbow submit -g wheel

@github-actions

Copy link
Copy Markdown

Revision: 0069113

Submitted crossbow builds: ursacomputing/crossbow @ actions-cddb9d4b5a

Task Status
wheel-macos-big-sur-cp310-arm64 GitHub Actions
wheel-macos-big-sur-cp311-arm64 GitHub Actions
wheel-macos-big-sur-cp312-arm64 GitHub Actions
wheel-macos-big-sur-cp38-arm64 GitHub Actions
wheel-macos-big-sur-cp39-arm64 GitHub Actions
wheel-macos-catalina-cp310-amd64 GitHub Actions
wheel-macos-catalina-cp311-amd64 GitHub Actions
wheel-macos-catalina-cp312-amd64 GitHub Actions
wheel-macos-catalina-cp38-amd64 GitHub Actions
wheel-macos-catalina-cp39-amd64 GitHub Actions
wheel-manylinux-2-28-cp310-amd64 GitHub Actions
wheel-manylinux-2-28-cp310-arm64 GitHub Actions
wheel-manylinux-2-28-cp311-amd64 GitHub Actions
wheel-manylinux-2-28-cp311-arm64 GitHub Actions
wheel-manylinux-2-28-cp312-amd64 GitHub Actions
wheel-manylinux-2-28-cp312-arm64 GitHub Actions
wheel-manylinux-2-28-cp38-amd64 GitHub Actions
wheel-manylinux-2-28-cp38-arm64 GitHub Actions
wheel-manylinux-2-28-cp39-amd64 GitHub Actions
wheel-manylinux-2-28-cp39-arm64 GitHub Actions
wheel-manylinux-2014-cp310-amd64 GitHub Actions
wheel-manylinux-2014-cp310-arm64 GitHub Actions
wheel-manylinux-2014-cp311-amd64 GitHub Actions
wheel-manylinux-2014-cp311-arm64 GitHub Actions
wheel-manylinux-2014-cp312-amd64 GitHub Actions
wheel-manylinux-2014-cp312-arm64 GitHub Actions
wheel-manylinux-2014-cp38-amd64 GitHub Actions
wheel-manylinux-2014-cp38-arm64 GitHub Actions
wheel-manylinux-2014-cp39-amd64 GitHub Actions
wheel-manylinux-2014-cp39-arm64 GitHub Actions
wheel-windows-cp310-amd64 GitHub Actions
wheel-windows-cp311-amd64 GitHub Actions
wheel-windows-cp312-amd64 GitHub Actions
wheel-windows-cp38-amd64 GitHub Actions
wheel-windows-cp39-amd64 GitHub Actions

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kou
kou merged commit 19044ee into apache:main May 24, 2024
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>
@conbench-apache-arrow

Copy link
Copy Markdown

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.

@adamreeve
adamreeve deleted the vcpkg_install_tidy branch May 27, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants