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 LFS tests after password auth deprecation #1713

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Fix LFS tests after password auth deprecation #1713

merged 2 commits into from
Oct 5, 2023

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Oct 5, 2023

This PR should fix the current CI failure (LFS tests not passing).

LFS tests were using password authenticating when cloning/pushing a git repo. This is now deprecated in favor of SSH or token-based auth (see blog article). For those tests, let's use token-based instead.

cc @Pierrci @coyotte508

(I also refactored a bit the repocard tests that were using password-auth URLs as well -not wrong but a bit old and dirty 😬)

Copy link
Member

@julien-c julien-c 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

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 5, 2023

The documentation is not available anymore as the PR was closed or merged.

@Wauplin
Copy link
Contributor Author

Wauplin commented Oct 5, 2023

good catch

after 3 days of failing CIs I finally resigned myself to look into it 😄

@Wauplin Wauplin merged commit 90c1182 into main Oct 5, 2023
14 of 16 checks passed
@Wauplin Wauplin deleted the fix-lfs-tests branch October 5, 2023 10:58
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.

3 participants