Replace 'server:start' with 'server:deploy' in E2E tests (#18461)
* Replace 'server:start' with 'server:deploy' in E2E tests * use '-k8spodwaittimeout' option when deploy Che * Use '--k8spoddownloadimagetimeout' option when deploy Che Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>7.24.x
parent
c1353d3d97
commit
c366ed6a88
|
|
@ -44,7 +44,7 @@ function createServerPatchFile(){
|
|||
function startCheServer(){
|
||||
createServerPatchFile "$1"
|
||||
|
||||
if chectl server:start --listr-renderer=verbose -a operator -p openshift --k8spodreadytimeout=360000 --che-operator-cr-patch-yaml=/tmp/che-cr-patch.yaml --chenamespace=eclipse-che; then
|
||||
if chectl server:deploy --listr-renderer=verbose -a operator -p openshift --k8spodreadytimeout=600000 --k8spodwaittimeout=600000 --k8spoddownloadimagetimeout=600000 --che-operator-cr-patch-yaml=/tmp/che-cr-patch.yaml --chenamespace=eclipse-che; then
|
||||
echo "Started successfully"
|
||||
oc get checluster -o yaml
|
||||
else
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ function getOpenshiftLogs() {
|
|||
|
||||
function deployCheIntoCluster() {
|
||||
echo "======== Start to install CHE ========"
|
||||
if chectl server:start --listr-renderer=verbose -a operator -p minishift --k8spodreadytimeout=360000 $1 --chenamespace=eclipse-che; then
|
||||
if chectl server:deploy --listr-renderer=verbose -a operator -p minishift --k8spodreadytimeout=600000 --k8spodwaittimeout=600000 --k8spoddownloadimagetimeout=600000 $1 --chenamespace=eclipse-che; then
|
||||
echo "Started successfully"
|
||||
oc get checluster -o yaml
|
||||
else
|
||||
|
|
|
|||
|
|
@ -286,8 +286,10 @@ EOL"""
|
|||
|
||||
echo "Install Che"
|
||||
sh """
|
||||
${pathToChectl} server:start \\
|
||||
--k8spodreadytimeout=180000 \\
|
||||
${pathToChectl} server:deploy \\
|
||||
--k8spodreadytimeout=600000 \\
|
||||
--k8spodwaittimeout=600000 \\
|
||||
--k8spoddownloadimagetimeout=600000 \\
|
||||
--listr-renderer=verbose \\
|
||||
--platform=minikube \\
|
||||
--che-operator-cr-patch-yaml=$CUSTOM_RESOURCE_PATCH_FILE \\
|
||||
|
|
@ -428,6 +430,7 @@ EOL"""
|
|||
${pathToChectl} --help > $LOGS_AND_CONFIGS/chectl.version.txt || true
|
||||
|
||||
cp -r /tmp/chectl-logs $LOGS_AND_CONFIGS || true
|
||||
cp /home/hudson/.cache/chectl/error.log /tmp/chectl-logs || true
|
||||
"""
|
||||
|
||||
archiveArtifacts allowEmptyArchive: true, artifacts: "tests/e2e/report/**, logs-and-configs/**"
|
||||
|
|
|
|||
Loading…
Reference in New Issue