Commit dbb47fe2 authored by Mike Danese's avatar Mike Danese

remove e2e run before cluster upgrade

parent 2a228bf4
...@@ -14,16 +14,14 @@ ...@@ -14,16 +14,14 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# This runs e2e, does a checked upgrade of the MASTER using the locally built release, then runs e2e again. # This does a checked upgrade of the MASTER using the locally built release, then runs e2e.
go run "$(dirname $0)/e2e.go" -v -build -up -version="v0.14.0" -test -check_version_skew=false echo "Running the checked master upgrade."
go run "$(dirname $0)/e2e.go" -build -up -v -test -test_args='--ginkgo.focus=Skipped.*Cluster\supgrade.*gce-upgrade' -check_version_skew=false
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Tests on initial version succeeded. Running the checked master upgrade." echo "Master upgrade complete. Running e2e on the upgraded cluster."
go run "$(dirname $0)/e2e.go" -v --test --test_args='--ginkgo.focus=Skipped.*Cluster\supgrade.*gce-upgrade' -check_version_skew=false go run "$(dirname $0)/e2e.go" -v -version="" -test -check_version_skew=false
else else
echo "Tests on initial version failed. Skipping tests on second version." echo "Master upgrade failed."
fi fi
echo "Master upgrade complete. Running e2e on the upgraded cluster."
go run "$(dirname $0)/e2e.go" -v -build -up -version="" -test -check_version_skew=false
exit $? exit $?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment