From: Dan Mick Date: Mon, 6 Oct 2025 17:29:34 +0000 (-0700) Subject: ceph-pull-requests*: log into docker.io X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=89f591fc96e4e4584852bbc489472d78e21a5d9e;p=ceph-build.git ceph-pull-requests*: log into docker.io alleviate rate limits Signed-off-by: Dan Mick --- diff --git a/ceph-pull-requests-arm64/build/build b/ceph-pull-requests-arm64/build/build index 4e8364921..15d632fe3 100644 --- a/ceph-pull-requests-arm64/build/build +++ b/ceph-pull-requests-arm64/build/build @@ -40,6 +40,8 @@ bwc() { "${@}" } +podman login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} docker.io + npm_cache_info bwc 1 -e configure # try to pre-load the npm cache so that it doesn't fail diff --git a/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml b/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml index 558583008..0b1e9cc9d 100644 --- a/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml +++ b/ceph-pull-requests-arm64/config/definitions/ceph-pull-requests-arm64.yml @@ -110,3 +110,7 @@ credential-id: github-readonly-token username: GITHUB_USER password: GITHUB_PASS + - username-password-separated: + credential-id: dgalloway-docker-hub + username: DOCKER_HUB_USERNAME + password: DOCKER_HUB_PASSWORD diff --git a/ceph-pull-requests/build/build b/ceph-pull-requests/build/build index bef71793a..8aa7402e2 100644 --- a/ceph-pull-requests/build/build +++ b/ceph-pull-requests/build/build @@ -38,6 +38,8 @@ bwc() { "${@}" } +podman login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} docker.io + npm_cache_info bwc 1 -e configure # try to pre-load the npm cache so that it doesn't fail during the normal build diff --git a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml index 03109c8f3..ea664fe23 100644 --- a/ceph-pull-requests/config/definitions/ceph-pull-requests.yml +++ b/ceph-pull-requests/config/definitions/ceph-pull-requests.yml @@ -109,3 +109,7 @@ credential-id: github-readonly-token username: GITHUB_USER password: GITHUB_PASS + - username-password-separated: + credential-id: dgalloway-docker-hub + username: DOCKER_HUB_USERNAME + password: DOCKER_HUB_PASSWORD