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

tests: use DockerHub token in integration and e2e tests #501

Closed
wants to merge 2 commits into from

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Aug 16, 2024

What this PR does / why we need it:

Add dockerconfigjson Secret creation in integration and e2e tests.

This is currently being controlled via envs:

  • DOCKERHUB_PULL_USERNAME
  • DOCKERHUB_PULL_TOKEN

Registry is hardcoded to https://index.docker.io/v1/

Which issue this PR fixes

Part of #452

@pmalek pmalek added this to the KGO v1.4.x milestone Aug 16, 2024
@pmalek pmalek self-assigned this Aug 16, 2024
@pmalek pmalek linked an issue Aug 16, 2024 that may be closed by this pull request
@pmalek pmalek force-pushed the use-dockerhub-token-in-integration-tests branch 2 times, most recently from 80f565b to 973fffc Compare August 16, 2024 14:22
@pmalek pmalek force-pushed the use-dockerhub-token-in-integration-tests branch from 973fffc to 8803e05 Compare August 16, 2024 14:31
@pmalek pmalek force-pushed the use-dockerhub-token-in-integration-tests branch from abdcd8d to c589386 Compare August 16, 2024 15:06
@pmalek pmalek changed the title tests: use DockerHub token in integration tests tests: use DockerHub token in integration and e2e tests Aug 16, 2024
@pmalek pmalek marked this pull request as ready for review August 16, 2024 15:42
@pmalek pmalek requested a review from a team as a code owner August 16, 2024 15:42
@pmalek pmalek marked this pull request as draft August 19, 2024 10:24
@pmalek
Copy link
Member Author

pmalek commented Aug 19, 2024

Let's put this on hold. It is possible to use kind configuration instead of adding the imagePullSecrets config to specific Pods: https://kind.sigs.k8s.io/docs/user/private-registries/#add-credentials-to-the-nodes

@pmalek
Copy link
Member Author

pmalek commented Oct 3, 2024

Likely to get superseded by the approach in #679 which is more scalable and less error prone.

@pmalek pmalek closed this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration & E2E tests fail due to exceeding DockerHub pull quota
2 participants