This is a tool to be used in command line to create and publish slug artifacts for a given microservice.
sbt assembly
In order to make the tool working, following variables have to set in the running environment:
- JAVA_VERSION
- ARTIFACTORY_URI
- WEBSTORE_URI
- SLUG_RUNNER_VERSION
- GITHUB_API_USER
- GITHUB_API_TOKEN
Once the variables are set and a fat jar is created, slug can be built by issuing a command:
java -jar path-to-slug-builder-fat-jar repo-name x.x.x
At the moment the assembly task is not executed on publish
or publish-local
and it's not recommended to publish fat jars (more on that here). However, this can be changed as described in the sbt-assembly documentation.
This code is open source software licensed under the Apache 2.0 License.