A command-line helper for generating progress reports from JIRA.
Use ./mage hooks:enable to enable pre-commit hooks locally.
Conversely, ./mage hooks:disable will disable them.
Use ./mage build to build release artifacts locally.
Output binaries will be located in the dist folder.
Use ./mage test to run unit tests locally.
Additional static checks can be run with ./mage check.
To push a new jira-wrangler image from your local development environment
you can use the ./mage release:image command. In order to target a specific
container registry and organization the IMAGE_REGISTRY and IMAGE_ORG
environment variables must be set before running the command.
Example:
IMAGE_REGISTRY=quay.io IMAGE_ORG=foobar ./mage release:imageTo build and apply all artifacts to a kubernetes cluster you can use the
./mage test:applydev command. The IMAGE_REGISTRY and IMAGE_ORG
environment variables must be set to select where the jira-wrangler
image will be pushed to and pulled from. Additionally the JIRA_TOKEN
environment variable should be set to a valid personal access token
for the JIRA instance you wish to connect to.
Example:
IMAGE_REGISTRY=quay.io IMAGE_ORG=foobar JIRA_TOKEN=supersecrettoken ./mage test:applydevNote: If you are pushing
jira-wranglerto a quay repository for the first time image pull may fail until the repository is made public.
See License.