Tag and run qualified image names for gssapi tests
@@ -76,15 +76,15 @@ for os_image in "${os_images[@]}"; do
os::cmd::expect_success 'cp ../../scripts/test-wrapper.sh .'
os::cmd::expect_success 'cp ../../scripts/gssapi-tests.sh .'
os::cmd::expect_success 'cp ../../config/kubeconfig .'
- os::cmd::expect_success "docker build --build-arg REALM='${realm}' --build-arg HOST='${host}' -t '${project_name}/${os_image}-gssapi-base:latest' ."
+ os::cmd::expect_success "docker build --build-arg REALM='${realm}' --build-arg HOST='${host}' -t 'docker.io/${project_name}/${os_image}-gssapi-base:latest' ."
popd > /dev/null
pushd kerberos > /dev/null
- os::cmd::expect_success "docker build -t '${project_name}/${os_image}-gssapi-kerberos:latest' ."
+ os::cmd::expect_success "docker build -t 'docker.io/${project_name}/${os_image}-gssapi-kerberos:latest' ."
popd > /dev/null
pushd kerberos_configured > /dev/null
- os::cmd::expect_success "docker build -t '${project_name}/${os_image}-gssapi-kerberos-configured:latest' ."
+ os::cmd::expect_success "docker build -t 'docker.io/${project_name}/${os_image}-gssapi-kerberos-configured:latest' ."
popd > /dev/null
popd > /dev/null
@@ -107,7 +107,7 @@ function run_gssapi_tests() {
local container_exit_code_jsonpath='{.status.containerStatuses[0].state.terminated.exitCode}'
local pod_log_location="${LOG_DIR}/${image_name}-${server_config}.log"
oc run "${image_name}" \
- --image="${project_name}/${image_name}" \
+ --image="docker.io/${project_name}/${image_name}" \
--generator=run-pod/v1 --restart=Never --attach \
--env=SERVER="${server_config}" \
1> "${pod_log_location}" \
