-
Notifications
You must be signed in to change notification settings - Fork 35
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
TR-12632: Cassandra Depreciation for Server - Existing Customers: Update upgradeTestRail.sh #70
base: feature/TR-12627
Are you sure you want to change the base?
Conversation
@@ -44,13 +46,20 @@ else | |||
fi | |||
fi | |||
|
|||
|
|||
if [ "$(printf '%s\n' "$version" "$cassandraDeprecationVersion" | sort -V | head -n1)" == "$version" ] && [ "$version" != "$cassandraDeprecationVersion" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aren't we checking if cassandra deprecation version is lower than 9?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gneb Essentially, we are verifying that if the app version is more than or equal to 9, then cassandra deprecation will be applied;For all the below version, a cassandra image will be created.
Please take note that once the version is stable, we will update this number from 9 to the appropriate value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, also we need to be sure that it will work for any combinations, like 9.0.0, 9.0, 9, 9.0.1, 9.5, 9.5.0, etc... @shubham-kickdrumtech
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gneb It was failing for version 9.0 and 9 which we have fixed and pushed the changes, thanks for pointing this, please find the attachments:
@@ -4,6 +4,8 @@ timeStamp=$(date "+%Y.%m.%d-%H.%M.%S") | |||
dbFolder=_mysql | |||
optFolder=_opt | |||
confFolder=_config | |||
cassandraDeprecationVersion="9.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shubham-kickdrumtech I'd consider adding a comment before this line, so that it will be clear this version number will need to be updated.
CC: @gneb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@damianoferrari I have added the comment.
Ticket Description:
https://gurock.atlassian.net/browse/TR-12632