File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 6565 run : cd scripts && ./openshift-upgrade-test.sh
6666 env :
6767 OC_TOKEN : ${{ secrets.OPENSHIFT_UPGRADE_TOKEN }}
68- CLUSTER_API_URL : ${{ secrets.OPENSHIFT_SERVER_API }}
68+ CLUSTER_API_URL : ${{ secrets.OPENSHIFT_UPGRADE_SERVER_API }}
6969 LATEST_RELEASE_REGISTRY : ${{ github.event.inputs.previousReleaseRegistry }}
7070 REGISTRY : ${{ github.event.inputs.registryForNewRelease }}
7171
Original file line number Diff line number Diff line change 33set -eou pipefail
44
55# This test is designed to be launched from "mongodb-atlas-kubernetes/scripts" catalog
6+ #
7+ # Before running, make sure you have the following tools:
8+ # * opm 4.9+
9+ # * kustomize
10+ # * operator-sdk
11+ # * controller-gen
12+ # * yq
13+ #
614# Test conf
715TEST_NAMESPACE=${TEST_NAMESPACE:- " atlas-upgrade-test" }
816LATEST_RELEASE_VERSION=" ${LATEST_RELEASE_VERSION:- 1.0.0} "
@@ -30,9 +38,9 @@ OPERATOR_CATALOG_IMAGE="${REGISTRY}/${OPERATOR_NAME}-catalog:${CURRENT_VERSION}"
3038OPERATOR_CATALOGSOURCE_NAME=" ${OPERATOR_CATALOG_NAME} "
3139OPERATOR_SUBSCRIPTION_NAME=" ${OPERATOR_NAME} -subscription"
3240
33- millisecond =1
34- second =$(( 1000 * millisecond ))
35- DEFAULT_TIMEOUT=$(( 2 * second ))
41+ second =1
42+ minute =$(( 60 * second ))
43+ DEFAULT_TIMEOUT=$(( 4 * minute ))
3644
3745if [ -z " ${OC_TOKEN+x} " ]; then
3846 echo " OC_TOKEN is not set"
You can’t perform that action at this time.
0 commit comments