commit | abbd20f172a25e5e51ab75fa06c15fc1f8f9231f | [log] [tgz] |
---|---|---|
author | Robert Munteanu <rombert@apache.org> | Fri Mar 08 13:56:17 2019 +0200 |
committer | Robert Munteanu <robert.munteanu@gmail.com> | Thu Mar 28 18:01:13 2019 +0100 |
tree | c7f057d3452616be1b567e916dc437d583aeb579 |
SLING-8311 - Investigate creating a Sling CLI tool for development task automation Prototype of sling cli tool.
This module is part of the Apache Sling project.
This module provides a command-line tool which automates various Sling development tasks. The tool is packaged as a docker image.
To make various credentials and configurations available to the docker image it is recommended to use a docker env file. A sample file is stored at docker-env.sample
. Copy this file to docker-env
and fill in your own information.
The image is built using mvn package
. Afterwards it may be run with
docker run --env-file=./docker-env apache/sling-cli
This invocation produces a list of available subcommands.
Currently the only implemented command is generating the release vote email, for instance
docker run --env-file=./docker-env apache/sling-cli release prepare-email $STAGING_REPOSITORY_ID