diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-11-26 11:02:24 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-11-26 11:06:55 +1300 |
commit | da2da6969aaf43e57af2356e15742368e527f662 (patch) | |
tree | b7ecfc168224c4c579c13c8bb9ec03fd7d56bd97 /integration | |
parent | 3a3b82452da51cf3cf6fefc729114566f0a3bc25 (diff) | |
download | trove-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-x | integration/scripts/trovestack | 3 |
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 |