From 906858ed3cb9eb4da453ae9383e95d5f1827d0c8 Mon Sep 17 00:00:00 2001 From: Ning Date: Fri, 3 May 2019 17:49:38 -0700 Subject: [PATCH] keep the api image name consistent between the presubmit test and staging (#1279) --- test/deploy-pipeline.sh | 2 +- test/presubmit-tests-with-pipeline-deployment.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/deploy-pipeline.sh b/test/deploy-pipeline.sh index 6ce3e39e7a87..2c8011256d37 100755 --- a/test/deploy-pipeline.sh +++ b/test/deploy-pipeline.sh @@ -47,7 +47,7 @@ cd ${DIR}/${KFAPP} ## Update pipeline component image pushd ks_app -ks param set pipeline apiImage ${GCR_IMAGE_BASE_DIR}/api:${GCR_IMAGE_TAG} +ks param set pipeline apiImage ${GCR_IMAGE_BASE_DIR}/api-server:${GCR_IMAGE_TAG} ks param set pipeline persistenceAgentImage ${GCR_IMAGE_BASE_DIR}/persistenceagent:${GCR_IMAGE_TAG} ks param set pipeline scheduledWorkflowImage ${GCR_IMAGE_BASE_DIR}/scheduledworkflow:${GCR_IMAGE_TAG} ks param set pipeline uiImage ${GCR_IMAGE_BASE_DIR}/frontend:${GCR_IMAGE_TAG} diff --git a/test/presubmit-tests-with-pipeline-deployment.sh b/test/presubmit-tests-with-pipeline-deployment.sh index 1b0ecc108882..0ab9438d64db 100755 --- a/test/presubmit-tests-with-pipeline-deployment.sh +++ b/test/presubmit-tests-with-pipeline-deployment.sh @@ -75,7 +75,7 @@ source "${DIR}/install-argo.sh" echo "submitting argo workflow to build docker images for commit ${PULL_PULL_SHA}..." ARGO_WORKFLOW=`argo submit ${DIR}/build_image.yaml \ -p image-build-context-gcs-uri="$remote_code_archive_uri" \ --p api-image="${GCR_IMAGE_BASE_DIR}/api" \ +-p api-image="${GCR_IMAGE_BASE_DIR}/api-server" \ -p frontend-image="${GCR_IMAGE_BASE_DIR}/frontend" \ -p scheduledworkflow-image="${GCR_IMAGE_BASE_DIR}/scheduledworkflow" \ -p persistenceagent-image="${GCR_IMAGE_BASE_DIR}/persistenceagent" \