Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
#17 Opening Port Forward with OC
Browse files Browse the repository at this point in the history
  • Loading branch information
marcionemec-daitan committed Mar 1, 2024
1 parent c37cf4b commit fccd9f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile_Polaris
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ RUN mkdir oc_bin
RUN dir
RUN tar -xvf oci_core/openshift-client-linux-4.5.0-0.okd-2020-07-14-153706-ga.tar.gz -C oc_bin
RUN ./oc_bin/oc version
RUN ./oc_bin/oc login --token=$OCT --server=$OCS
RUN ./oc_bin/oc project $OCP
RUN ./oc_bin/oc port-forward $OCPD $OCPF:$OCPT


RUN python3 src/main.py $test_mode
2 changes: 1 addition & 1 deletion Jenkinsfile_Polaris
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
sh 'echo $VURL'
sh 'echo $TESTE_MODE'
sh 'echo $DSE_TEST_EXEC'
sh 'podman build --env=vtoken=$VTOKEN --env=vurl=$VURL --env=test_mode=$DSE_TEST_EXEC --env=teste=$TESTE --platform=linux/amd64 --file=Dockerfile_Polaris .'
sh 'podman build --env=vtoken=$VTOKEN --env=vurl=$VURL --env=OCT=$OCTOKEN --env=OCS=$OCSERVER --env=OCP=$OCPROJECT --env=OCPO=$OCPOD --env=OCPT=$OCPORT --env=OCPF=$OCPORTFOR --env=test_mode=$DSE_TEST_EXEC --env=teste=$TESTE --platform=linux/amd64 --file=Dockerfile_Polaris .'
}
}
}
Expand Down

0 comments on commit fccd9f3

Please sign in to comment.