Run only E2E tests on OpenShift CI

Integration tests are already covered a lot by the CI on GitHub and tend to be somewhat flaky on OpenShift. We don't need to run them all on OpenShift.
This commit is contained in:
Armel Soro
2024-05-08 15:32:59 +02:00
parent 301bab87e6
commit 133356ae44
3 changed files with 0 additions and 14 deletions

View File

@@ -27,8 +27,6 @@ oc login -u developer -p password@123 --insecure-skip-tls-verify
# Check login user name for debugging purpose
oc whoami
# Cluster related integration tests
make test-integration-cluster
make test-e2e
oc logout

View File

@@ -26,9 +26,6 @@ oc login -u developer -p password@123 --insecure-skip-tls-verify
# Check login user name for debugging purpose
oc whoami
# Cluster related Integration tests
make test-integration-cluster || error=true
# E2e tests
make test-e2e || error=true
@@ -36,6 +33,4 @@ if [ $error ]; then
exit -1
fi
oc logout

View File

@@ -37,19 +37,12 @@ oc whoami
# We want to use a stable Devfile registry for InterOP testing, and so we use the custom Devfile Registry setup on IBM cloud
source ./scripts/openshiftci-config.sh
if [ "${ARCH}" == "s390x" ]; then
# Integration tests
make test-integration
# E2e tests
make test-e2e
elif [ "${ARCH}" == "ppc64le" ]; then
# Integration tests
make test-integration
# E2e tests
make test-e2e
else
# Integration tests
make test-integration || error=true
# E2e tests
make test-e2e || error=true