Skip to content

Commit

Permalink
fix: test-upgrade-from-stalbe-to-next.sh (#1718)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha authored Jul 4, 2023
1 parent 533cc29 commit b5cdfc4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ runTest() {
--che-operator-cr-patch-yaml "${OPERATOR_REPO}/build/scripts/minikube-tests/minikube-checluster-patch.yaml"

createDevWorkspace
startAndWaitDevWorkspace
stopAndWaitDevWorkspace

# Free up some cpu resources
kubectl scale deployment che --replicas=0 -n eclipse-che
Expand All @@ -54,6 +52,13 @@ runTest() {
make wait-eclipseche-version VERSION="next" NAMESPACE=${NAMESPACE}
popd

# Free up some resources
minikube image rm quay.io/eclipse/che-plugin-registry:${LAST_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-devfile-registry:${LAST_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-dashboard:${LAST_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-server:${LAST_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-operator:${LAST_PACKAGE_VERSION}

startAndWaitDevWorkspace
stopAndWaitDevWorkspace
deleteDevWorkspace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ runTest() {
--che-operator-cr-patch-yaml "${OPERATOR_REPO}/build/scripts/minikube-tests/minikube-checluster-patch.yaml"

createDevWorkspace
startAndWaitDevWorkspace
stopAndWaitDevWorkspace

# Free up some cpu resources
kubectl scale deployment che --replicas=0 -n eclipse-che
Expand All @@ -49,6 +47,13 @@ runTest() {
make wait-eclipseche-version VERSION="${LAST_PACKAGE_VERSION}" NAMESPACE=${NAMESPACE}
popd

# Free up some resources
minikube image rm quay.io/eclipse/che-plugin-registry:${PREVIOUS_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-devfile-registry:${PREVIOUS_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-dashboard:${PREVIOUS_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-server:${PREVIOUS_PACKAGE_VERSION}
minikube image rm quay.io/eclipse/che-operator:${PREVIOUS_PACKAGE_VERSION}

startAndWaitDevWorkspace
stopAndWaitDevWorkspace
deleteDevWorkspace
Expand Down

0 comments on commit b5cdfc4

Please sign in to comment.