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

fix(ci): partially revert checking out head from current clone. #4693

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

dougch
Copy link
Contributor

@dougch dougch commented Aug 7, 2024

Resolved issues:

none

Description of changes:

To check against ^HEAD, we were cloning from the existing filesystem's clone. This breaks under certain internal build scenarios where our .git folder is in a different place. Go back to cloning from GitHub for non Nix use, but leave the current behavior inside a Nix shell.

Call-outs:

Cloning inside a nix devshell is throwing an error, appears to be related to NixOS/nixpkgs#299949 .

ad-hoc test run of the cross_compat test with these changes

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? CI, ad-hoc

Is this a refactor change? no

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Aug 7, 2024
@dougch dougch requested a review from maddeleine August 7, 2024 21:18
@dougch dougch marked this pull request as ready for review August 7, 2024 21:25
@dougch dougch enabled auto-merge (squash) August 7, 2024 22:12
@dougch dougch added the type/nix related to nix label Aug 7, 2024
@dougch dougch merged commit f6abd5d into main Aug 8, 2024
38 checks passed
@dougch dougch deleted the head_build branch August 8, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s2n-core team type/nix related to nix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants