[Test] fix upgrade test (#3469)

* update deploy-pipeline-lite.sh

* fix

* fix?

* revert
This commit is contained in:
Jiaxiao Zheng 2020-04-07 23:11:44 -07:00 committed by GitHub
parent 2d05e3d2e9
commit bcb16ef62d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -71,16 +71,13 @@ else
# temporarily checkout last release tag
git checkout $KFP_LATEST_RELEASE
# TODO: rename crd to cluster-scoped-resources after the release next to 0.3.0
pushd ${KFP_MANIFEST_DIR}/crd
pushd ${KFP_MANIFEST_DIR}/cluster-scoped-resources
kustomize build . | kubectl apply -f -
kubectl wait --for condition=established --timeout=60s crd/applications.app.k8s.io
popd
pushd ${KFP_MANIFEST_DIR}/dev
kustomize build . | kubectl apply -f -
# TODO: remove line below after the release next to 0.3.0
kubectl delete deployment cache-server -n ${NAMESPACE}
popd
# go back to previous commit