fix: Run HappyPath tests (#1592)
* fix: Run HappyPath tests Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Run HappyPath tests to start an empty workspace Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fix test suite Signed-off-by: Anatolii Bazko <abazko@redhat.com> Signed-off-by: Anatolii Bazko <abazko@redhat.com>pull/1597/head
parent
39114e1986
commit
3ab483c679
|
|
@ -13,10 +13,8 @@
|
|||
|
||||
set -ex
|
||||
|
||||
export OPERATOR_REPO=$(dirname "$(dirname "$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")")")
|
||||
source <(curl -s ${DEVWORKSPACE_HAPPY_PATH}/common.sh)
|
||||
|
||||
export DEVWORKSPACE_HAPPY_PATH="https://raw.githubusercontent.com/eclipse/che/main/tests/devworkspace-happy-path"
|
||||
export OPERATOR_REPO=$(dirname "$(dirname "$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")")")
|
||||
source "${OPERATOR_REPO}/build/scripts/oc-tests/oc-common.sh"
|
||||
|
||||
#Stop execution on any error
|
||||
|
|
@ -24,6 +22,8 @@ trap "catchFinish" EXIT SIGINT
|
|||
|
||||
runTests() {
|
||||
. ${OPERATOR_REPO}/build/scripts/olm/test-catalog-from-sources.sh --verbose
|
||||
|
||||
export HAPPY_PATH_SUITE=test-empty-workspace-devworkspace-happy-path-code
|
||||
bash <(curl -s ${DEVWORKSPACE_HAPPY_PATH}/remote-launch.sh)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue