diff --git a/.ci/openshift_integration.sh b/.ci/openshift_integration.sh index 8738d769..ee3c0fc6 100755 --- a/.ci/openshift_integration.sh +++ b/.ci/openshift_integration.sh @@ -51,8 +51,8 @@ curl -sL https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift export GLOBALODOCONFIG=$(pwd)/preferences.yaml # Download & Install Ginkgo -GINKGO_VERSION="$(cd $BASE_DIR/tests/odov3 && go list -m -json all | ${YQ_PATH} 'select(.Path == "github.com/onsi/ginkgo/v2") | .Version' -Mr -p=json)" -go install github.com/onsi/ginkgo/v2/ginkgo@${GINKGO_VERSION} +GINKGO_VERSION="$(cd $BASE_DIR/tests/odov3 && go list -m -mod=readonly -json all | ${YQ_PATH} 'select(.Path == "github.com/onsi/ginkgo/v2") | .Version' -Mr -p=json)" +go install -mod=readonly github.com/onsi/ginkgo/v2/ginkgo@${GINKGO_VERSION} # Install the devfile registry oc process -f $BASE_DIR/.ci/deploy/devfile-registry.yaml -p DEVFILE_INDEX_IMAGE=$IMG -p IMAGE_TAG=$TAG -p REPLICAS=3 -p ANALYTICS_WRITE_KEY= | \ diff --git a/tests/check_odov3.sh b/tests/check_odov3.sh index c502e943..2cc47f7b 100755 --- a/tests/check_odov3.sh +++ b/tests/check_odov3.sh @@ -9,7 +9,7 @@ if [ ! -z "${1}" ]; then args="-odoPath ${1} ${args}" fi -ginkgo run --procs 2 \ +ginkgo run --mod=readonly --procs 2 \ --skip="stack: java-openliberty-gradle version: 0.4.0 starter: rest" \ --skip="stack: java-vertx version: 1.2.0 starter: vertx-cache-example-redhat" \ --skip="stack: java-vertx version: 1.2.0 starter: vertx-cache-example" \ diff --git a/tests/validate_devfile_schemas.sh b/tests/validate_devfile_schemas.sh index 6c838ce7..25f45497 100755 --- a/tests/validate_devfile_schemas.sh +++ b/tests/validate_devfile_schemas.sh @@ -49,5 +49,5 @@ if [ "${SAMPLES}" == "true" ]; then fi fi -ginkgo run --procs 2 \ +ginkgo run --mod=readonly --procs 2 \ tests/validate_devfile_schemas -- -stacksPath ${stacksDir} -stackDirs "$stackDirs"