diff --git a/tests/ci/k3d/deploy_k3d.sh b/tests/ci/k3d/deploy_k3d.sh index eb184a964fde09a8e943f913fddf3e5eb2452638..123880c6f13dfef3d8e3d4224b9d9a1d5628b948 100644 --- a/tests/ci/k3d/deploy_k3d.sh +++ b/tests/ci/k3d/deploy_k3d.sh @@ -2,6 +2,7 @@ set -ex trap 'echo exit at ${0}:${LINENO}, command was: ${BASH_COMMAND} 1>&2' ERR +docker login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD} # if keycloak label or all packages label add deploy k3d without loadbalancer so metallb can be used if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]] || [[ ! -z "$CI_COMMIT_TAG" ]] || [[ $CI_MERGE_REQUEST_LABELS =~ "keycloak" || $CI_MERGE_REQUEST_LABELS =~ "all-packages" ]]; then k3d cluster create ${CI_JOB_ID} --config tests/ci/k3d/disable-servicelb-config.yaml --network ${CI_JOB_ID} diff --git a/tests/deploy/01_deploy_bigbang.sh b/tests/deploy/01_deploy_bigbang.sh index 9ff17762c9ff29a8d6079b5e24cc0da634aff8f7..8c9ddb6c748d436623debc15c4ad5a8c43da6a83 100755 --- a/tests/deploy/01_deploy_bigbang.sh +++ b/tests/deploy/01_deploy_bigbang.sh @@ -38,6 +38,9 @@ helm upgrade -i bigbang chart -n bigbang --create-namespace \ --set registryCredentials[0].username='robot$bb-dev-imagepullonly' \ --set registryCredentials[0].password="${REGISTRY1_PASSWORD}" \ --set registryCredentials[0].registry=registry1.dso.mil \ + --set registryCredentials[1].username="${DOCKER_USER}" \ + --set registryCredentials[1].password="${DOCKER_PASSWORD}" \ + --set registryCredentials[1].registry=docker.io \ -f ${CI_VALUES_FILE} # apply secrets kustomization pointing to current branch or master if an upgrade job