diff --git a/automation/test-windows.sh b/automation/test-windows.sh index b1a378e0..e62548ff 100755 --- a/automation/test-windows.sh +++ b/automation/test-windows.sh @@ -6,71 +6,6 @@ namespace="kubevirt" template_name="windows2k22" username="Administrator" -dv_name="${TARGET}-datavolume-original" - -oc apply -n ${namespace} -f - < config.json + + oc registry login --registry="ibmc.artifactory.cnv-qe.rhood.us" \ + --auth-basic="${id}:${token}" \ + --to=config.json + + oc set data secret/pull-secret -n openshift-config --from-file=.dockerconfigjson=config.json fi + fi fi echo "Deploying CDI" oc apply -f https://github.com/kubevirt/containerized-data-importer/releases/download/$CDI_VERSION/cdi-operator.yaml