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

build: Don't fail the build if DockerHub login fails #36100

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented Jan 10, 2025

Description

This iterates on #36089, which
logged us into DockerHub during unit tests in order to reduce how often
DockerHub rate-limits us.

Forks will fail to log into DockerHub unless the fork owner configures their
own DockerHub creds. This PR is an attempt to make it so that unit tests don't
fail when DockerHub login fails.

Testing instructions

With DockerHub credentials...

Just see this PR's build.

Without DockerHub credentials...

I merged these changed to master of my personal fork, which has no DockerHub credentials configured.

Here is a PR against my personal fork demonstrating that the modified unit-tests action tolerates failure of the Docker Log In step: kdmccormick#31

Iterating on #36089

Forks will fail to log into DockerHub unless the fork owner
configured their own DockerHub creds. This PR is an attempt
to make it so that unit tests don't fail when DockerHub login
fails.
@kdmccormick kdmccormick enabled auto-merge (squash) January 10, 2025 16:52
@kdmccormick kdmccormick merged commit 290209b into master Jan 10, 2025
48 checks passed
@kdmccormick kdmccormick deleted the kdmccormick/dockerhub-no-creds branch January 10, 2025 17:04
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

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