From 204c08165b7f26077d6ce2a80c8faa98df2f52bc Mon Sep 17 00:00:00 2001 From: Aleksandr Shmaraiev Date: Thu, 20 Apr 2023 11:46:03 +0300 Subject: [PATCH] Restore code of tests --- .ci/openshift-ci/common.sh | 9 +++++++++ .ci/openshift-ci/test-bitbucket-flow.sh | 6 ------ .ci/openshift-ci/test-github-flow.sh | 5 ----- .ci/openshift-ci/test-gitlab-flow.sh | 4 ---- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.ci/openshift-ci/common.sh b/.ci/openshift-ci/common.sh index 0f6092effa..55e24b0f17 100644 --- a/.ci/openshift-ci/common.sh +++ b/.ci/openshift-ci/common.sh @@ -15,6 +15,15 @@ set -e # only exit with zero if all commands of the pipeline exit successfully set -o pipefail +echo "Content of metedata.json:" +cat ${SHARED_DIR}/metadata.json + +echo "Content of install-config.yaml" +cat ${SHARED_DIR}/install-config.yaml + +echo "Content of install-status.txt" +cat ${SHARED_DIR}/install-status.txt + PR_IMAGE_TAG=$(git show origin/pr-number-${BRANCH_NAME}:shared-files/pr-image-tag) export CHE_NAMESPACE=${CHE_NAMESPACE:-"eclipse-che"} diff --git a/.ci/openshift-ci/test-bitbucket-flow.sh b/.ci/openshift-ci/test-bitbucket-flow.sh index e7c5e60859..8c128b7f5f 100644 --- a/.ci/openshift-ci/test-bitbucket-flow.sh +++ b/.ci/openshift-ci/test-bitbucket-flow.sh @@ -23,12 +23,6 @@ export PRIVATE_REPO_URL=${PRIVATE_REPO_URL:-"https://chepullreq1@bitbucket.org/c SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" source "${SCRIPT_DIR}"/common.sh -ls -cd ${ARTIFACT_DIR} -ls -cd root -ls - trap "catchFinish" EXIT SIGINT setupTestEnvironment diff --git a/.ci/openshift-ci/test-github-flow.sh b/.ci/openshift-ci/test-github-flow.sh index c9bf58dfdd..e52b7a5216 100644 --- a/.ci/openshift-ci/test-github-flow.sh +++ b/.ci/openshift-ci/test-github-flow.sh @@ -16,11 +16,6 @@ set -ex # only exit with zero if all commands of the pipeline exit successfully set -o pipefail -cd ${ARTIFACT_DIR} -ls -cd root -ls - export PUBLIC_REPO_URL=${PUBLIC_REPO_URL:-"https://github.com/chepullreq1/public-repo.git"} export PRIVATE_REPO_URL=${PRIVATE_REPO_URL:-"https://github.com/chepullreq1/private-repo.git"} diff --git a/.ci/openshift-ci/test-gitlab-flow.sh b/.ci/openshift-ci/test-gitlab-flow.sh index 4d7ec7bf34..31e1cdce7f 100644 --- a/.ci/openshift-ci/test-gitlab-flow.sh +++ b/.ci/openshift-ci/test-gitlab-flow.sh @@ -16,10 +16,6 @@ set -ex # only exit with zero if all commands of the pipeline exit successfully set -o pipefail -ls -cd ${SHARED_DIR} -ls - export PUBLIC_REPO_URL=${PUBLIC_REPO_URL:-"https://gitlab.com/chepullreq1/public-repo.git"} export PRIVATE_REPO_URL=${PRIVATE_REPO_URL:-"https://gitlab.com/chepullreq1/private-repo.git"}