bamboo-specs-dsl
bamboo-specs-dsl copied to clipboard
Support of docker runner
For example a job with docker runner in java specs
new Job("Default Job",
new BambooKey("DR"))
.tasks(new VcsCheckoutTask()
.description("Checkout Default Repository")
.checkoutItems(new CheckoutItem().defaultRepository())
.cleanCheckout(true),
new ScriptTask()
.description("build and push")
.location(ScriptTaskProperties.Location.FILE)
.fileFromPath("${bamboo.working.directory}/build.sh"))
.dockerConfiguration(new DockerConfiguration()
.image("golang")
.volume("/var/run/docker.sock", "/var/run/docker.sock")
.volume("/root/.docker/config.json", "/root/.docker/config.json"))
Doc: https://docs.atlassian.com/bamboo-specs-docs/6.6.1/specs-java.html#docker
@farodin91 Thanks for the request! Are you actively using this library, or evaluating it for future use? I have limited time to maintain it right now, but I will do my best to update this soon if it will be useful.
@thecodesmith I'm currently evaluating the lib for future use.
@farodin91 Thanks! I will be picking up this work and hope to have an update soon.