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-13685]: DRONE_NETRC_PRE_FETCH command fix #96

Merged
merged 4 commits into from
Aug 8, 2024
Merged

Conversation

ShobhitSingh11
Copy link
Contributor

@ShobhitSingh11 ShobhitSingh11 commented Aug 8, 2024

This PR is an enhancement of clone codebase where we can now clone the codebase from the commit input. Earlier clone used to happen from latest commit by default for any corresponding branch. Now we can have the control from which commit we wanna clone the codebase.

Screenshot 2024-08-08 at 10 16 00 PM

So here as per the image in pre fetch section we can override the commit id by overriding DRONE_COMMIT_SHA. If nothing is being provided then it will fallback to latest SHA.

Test cases covered
K8
VM - Linux (containered, containerless)
VM - Mac (Containerless)
VM - Windows (containered, containerless)

@HenAmar HenAmar merged commit 1447142 into master Aug 8, 2024
1 check passed
@HenAmar HenAmar deleted the ss/CI-13685 branch August 8, 2024 11:59
@hemanthmantri
Copy link
Contributor

@ShobhitSingh11 : Please add a detailed description of the fix being done with this change.

@ShobhitSingh11
Copy link
Contributor Author

Hey @hemanthmantri done.

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.

5 participants