Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test fix #3357

Merged
merged 17 commits into from
Mar 25, 2020
5 changes: 3 additions & 2 deletions test/deploy-pipeline-mkp-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@


# Test before submit:
# test/deploy-pipline-mkp-cli.sh 0.2 $(git rev-parse HEAD)
# test/deploy-pipline-mkp-cli.sh 0.3 $(git rev-parse HEAD) $(pwd)/test

set -ex

VERSION=$1
COMMIT_SHA=$2
TEST_FOLDER=$3

# sync trigger to avoid wait
gcloud builds submit --config=test/cloudbuild/mkp_verify.yaml --substitutions=_DEPLOYER_VERSION="$VERSION",COMMIT_SHA="$COMMIT_SHA" --project=ml-pipeline-test
gcloud builds submit --config=$TEST_FOLDER/cloudbuild/mkp_verify.yaml --substitutions=_DEPLOYER_VERSION="$VERSION",COMMIT_SHA="$COMMIT_SHA" --project=ml-pipeline-test
2 changes: 1 addition & 1 deletion test/postsubmit-tests-with-pipeline-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ if [ ${KFP_DEPLOYMENT} == standalone ]; then
echo "test workflow completed"
else
SEM_VERSION="$(cat ${DIR}/../VERSION)"
source "${DIR}/deploy-pipeline-mkp-cli.sh" $SEM_VERSION $COMMIT_SHA
source "${DIR}/deploy-pipeline-mkp-cli.sh" $SEM_VERSION $COMMIT_SHA ${DIR}
exit $?
fi