Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy vcpkg.json before cloning vcpkg in devcontainer Dockerfile #408

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

adamreeve
Copy link
Contributor

After upgrading to Arrow 14.0.2 the devcontainer build failed due to not finding that Arrow version in vcpkg (https://github.com/G-Research/ParquetSharp/actions/runs/7458957587/job/20293957096), although the devcontainer build had passed in the PR.

It looks like this is because the docker build used a cached result of checking out the vcpkg repository from before Arrow 14.0.2 was added.

I've moved the copy of vcpkg.json to before the vcpkg repo checkout, so any changes to vcpkg.json should force a new checkout of vcpkg rather than use the previously cached result.

This should ensure the baseline referenced by vcpkg.json exists in the cached
vcpkg git checkout.
Copy link
Contributor

@marcin-krystianc marcin-krystianc left a comment

Choose a reason for hiding this comment

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

Good catch 👍

@adamreeve adamreeve merged commit 46cfe51 into G-Research:master Jan 9, 2024
32 of 34 checks passed
@adamreeve adamreeve deleted the devcontainer-fix branch January 9, 2024 22:53
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.

None yet

2 participants