Skip to content

Commit 68360e8

Browse files
committed
adding secret to serverjre image
1 parent 239dedc commit 68360e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/integration-tests/bash/cleanup.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@ if [ "${DELETE_FILES:-true}" = "true" ]; then
352352
echo @@ Launching run to delete all pv contents. This runs in the k8s cluster, /sharedparent mounts PV_ROOT.
353353
# $SCRIPTPATH/job.sh "rm -fr /scratch/acceptance_test_pv"
354354
if [ "$WERCKER" = "true" ]; then
355+
echo @@ Creating Repo Secret
356+
kubectl create secret docker-registry $IMAGE_PULL_SECRET_WEBLOGIC \
357+
--docker-server=$REPO_SERVER \
358+
--docker-username=$REPO_USERNAME \
359+
--docker-password=$REPO_PASSWORD \
360+
--docker-email=$REPO_EMAIL
355361
$SCRIPTPATH/krun.sh -i phx.ocir.io/weblogick8s/serverjre:8 -s ${IMAGE_PULL_SECRET_WEBLOGIC} -m "${PV_ROOT}:/sharedparent" -c 'rm -fr /sharedparent/acceptance_test_pv'
356362
else
357363
$SCRIPTPATH/krun.sh -m "${PV_ROOT}:/sharedparent" -c 'rm -fr /sharedparent/acceptance_test_pv'

0 commit comments

Comments
 (0)