Skip to content

Commit

Permalink
updated for 8.0 (#237)
Browse files Browse the repository at this point in the history
* updated for release

* added custom cluster

* updated last location
  • Loading branch information
jeffj6123 authored May 11, 2021
1 parent 3255967 commit 04887e2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ To get started, after installation run the following:
Change Log
==========

Unreleased
11.1.0
----------
- Added get top/least loaded partitions command. It will be available in the Service fabric runtime 8.0 version.
- Added move replica partition commands. Move primary and secondary replica commands will be available in the Service fabric runtime 6.5 version. Move instance command will be available in the Service fabric runtime 8.0 version. (#227)
- Updating 'application upload' native imagestore application upload to parallelize uploads, greatly reducing overall upload time for applications with many smaller files. Also improving progress log shown by flag '--show-progress'. (#223)
- Added add/remove node tags commands. They will be available in the Service fabric runtime 8.0 version. (#232)
- Update Create and Update service with new parameters, TagsRequiredToPlace and TagsRequiredToRun (#232)
- Update imports for Service fabric runtime version 8.0 (#235)

11.0.0
----------
Expand Down
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def read(fname):

setup(
name='sfctl',
version='11.0.0',
version='11.1.0',
description='Azure Service Fabric command line',
long_description=read('README.rst'),
url='https://github.com/Azure/service-fabric-cli',
Expand Down
4 changes: 2 additions & 2 deletions src/sfctl/custom_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ def sfctl_cluster_version_matches(cluster_version, sfctl_version):
:return: True if they are a match. False otherwise.
"""

if sfctl_version in ['11.0.0']:
if sfctl_version in ['11.1.0']:

return cluster_version.startswith('7.2')
return cluster_version.startswith('8.0')

# If we forget to update this code before a new release, the tests which call this method
# will fail.
Expand Down
2 changes: 1 addition & 1 deletion src/sfctl/tests/cluster_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_sfctl_cluster_version_matches(self): # pylint: disable=invalid-name

# An exception will be raised if the current cluster version doesn't exist in the function
try:
self.assertTrue(sfctl_cluster_version_matches('7.2', current_sfctl_version),
self.assertTrue(sfctl_cluster_version_matches('8.0', current_sfctl_version),
msg='You are most likely getting this error because we need to '
'update the method sfctl_cluster_version_matches in '
'custom_cluster so that it works with the '
Expand Down
2 changes: 1 addition & 1 deletion src/sfctl/tests/version_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_valid_current_version(self):
note: this will require changing the sfctl_version on releases
"""
sfctl_version = '11.0.0'
sfctl_version = '11.1.0'

# pylint: disable=consider-using-with
pipe = Popen('sfctl --version', shell=True, stdout=PIPE, stderr=PIPE)
Expand Down

0 comments on commit 04887e2

Please sign in to comment.