build(deps): bump code.cloudfoundry.org/cli/v8 from 8.18.0 to 8.18.2 (#249)
Bumps code.cloudfoundry.org/cli/v8 from 8.18.0 to 8.18.2.
updated-dependencies:
- dependency-name: code.cloudfoundry.org/cli/v8 dependency-version: 8.18.2 dependency-type: direct:production update-type: version-update:semver-patch …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
upgrade-all-services (cf-cli plugin)
A CF-CLI plugin for upgrading all service instances in a CF foundation.
Purpose
This tool was developed to allow users to upgrade all service instances they have access to in a foundation, without having to navigate between orgs and spaces to discover upgradable instances.
Warning: It is important to ensure that the authenticated user only has access to instances which you wish to upgrade. The plugin will upgrade all service instances a user has access to, irrespective of org and space.
Installing
First build the binary from the plugin directory
Then install the plugin using the cf cli
Releasing
To create a new GitHub release, decide on a new version number according to Semantic Versioning, and then:
v:git tag vX.Y.Xgit push --tagsUsage
Internals
Semver
Both the
github.com/blang/semver/v4andgithub.com/hashicorp/go-versionsemver libraries are used. The aim is to usegithub.com/hashicorp/go-versionas the default andgithub.com/blang/semver/v4where needed. While you might imagine that using one library would be cleaner than using two, we make use of unique features in each library. Attempts have been made to standardise on one library, but it resulted in worse code, so we decided to continue to use two libraries.