Skip to content

Makefile: Login to docker hub before setting up integration tests - #4657

Merged
akshaymankar merged 1 commit into
developfrom
docker-hub-login
Jul 10, 2025
Merged

Makefile: Login to docker hub before setting up integration tests#4657
akshaymankar merged 1 commit into
developfrom
docker-hub-login

Conversation

@akshaymankar

Copy link
Copy Markdown
Member

Only logs in if the credentials are provided.

https://wearezeta.atlassian.net/browse/WPB-18677

Checklist

  • ~Add a new entry in an appropriate subdirectory of changelog.d No changelog.
  • Read and follow the PR guidelines

@akshaymankar
akshaymankar requested a review from a team as a code owner July 10, 2025 12:36
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jul 10, 2025
Only logs in if the credentials are provided.
Comment thread hack/bin/helm-oci-login.sh

set -euo pipefail

if [[ -z "${DOCKER_HUB_USERNAME+x}" ]]; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if there's a benefit in expanding $DOCKER_HUB_USERNAME to x 🤔

However, it doesn't hurt.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@supersven supersven left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@akshaymankar
akshaymankar merged commit 940d6dc into develop Jul 10, 2025
8 checks passed
@akshaymankar
akshaymankar deleted the docker-hub-login branch July 10, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants