CLI tool for minimal automation of Drone CI flow using Helm Chart type deployment.
$ npm install -g ftctl
$ ftctl COMMAND
running command...
$ ftctl (-v|--version|version)
ftctl/1.0.10 darwin-x64 node-v13.8.0
$ ftctl --help [COMMAND]
USAGE
$ ftctl COMMAND
...
display help for ftctl
USAGE
$ ftctl help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
This command updates .drone.yaml docker tag value, helm chart values.yaml (image.tag) and Chart.yaml (appVersion) to be the version provided as argument.
USAGE
$ ftctl release [STRING]
OPTIONS
-d, --drone=drone path to .drone.yaml folder
-f, --file=file file name of values.yaml
-h, --help show CLI help
-p, --path=path path to chart's root folder
-v, --version=version version to build and release
DESCRIPTION
This command updates .drone.yaml docker tag value, helm chart values.yaml (image.tag) and Chart.yaml (appVersion) to
be the version provided as argument.
Note: Chart version should be updated manually.
EXAMPLE
$ ftctl release -v 0.1.0-beta.1 -p <path-to-chart> -f <values.yaml filename> -d ."
App versioned '0.1.0-beta.1' build and releasing to staging initiated.
See code: src/commands/release.ts
NOTES
To publish new version, follow these steps:
- Perform git add, commit, and push.
- Run
npm version <version>
- Run
npm publish
To update installed ftctl version, run:
npm update -g ftctl