summaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-11-26 11:02:24 +1300
committerLingxian Kong <anlin.kong@gmail.com>2020-11-26 11:06:55 +1300
commitda2da6969aaf43e57af2356e15742368e527f662 (patch)
treeb7ecfc168224c4c579c13c8bb9ec03fd7d56bd97 /integration
parent3a3b82452da51cf3cf6fefc729114566f0a3bc25 (diff)
downloadtrove-da2da6969aaf43e57af2356e15742368e527f662.tar.gz
Support --image-tags for trove-manager datastore_version_update command
image-tags was introduced in commit 1d24b65 but the implementation was backward incompatible for the CLI `trove-manager datastore_version_update`. This patch changes that by supporting an optional parameter `--image-tags`. Change-Id: I583c296f15a453bdfadf10de5c678ac483cbd4dd
Diffstat (limited to 'integration')
-rwxr-xr-xintegration/scripts/trovestack3
1 files changed, 2 insertions, 1 deletions
diff --git a/integration/scripts/trovestack b/integration/scripts/trovestack
index 5672ca13..0045fff5 100755
--- a/integration/scripts/trovestack
+++ b/integration/scripts/trovestack
@@ -522,7 +522,8 @@ function set_bin_path() {
function cmd_set_datastore() {
rd_manage datastore_update "$datastore" ""
- rd_manage datastore_version_update "${DATASTORE_TYPE}" "${DATASTORE_VERSION}" "${DATASTORE_TYPE}" "" "trove" "" 1
+ # Use image tags for datastore version.
+ rd_manage datastore_version_update "${DATASTORE_TYPE}" "${DATASTORE_VERSION}" "${DATASTORE_TYPE}" "" "" 1 --image-tags trove
rd_manage datastore_update "${DATASTORE_TYPE}" "${DATASTORE_VERSION}"
if [[ -f "$PATH_TROVE"/trove/templates/${DATASTORE_TYPE}/validation-rules.json ]]; then