Skip to content

Commit

Permalink
#3 build_planned.toml dash to underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoKramer committed Jan 20, 2020
1 parent bd6f770 commit 887cd26
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/build_planned.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ image = "clojure:latest"

[[dev.test.steps]]

[[dev.test.steps.in-parallel]]
needs-resource = "my-source-code"
[[dev.test.steps.in_parallel]]
needs_resource = "my-source-code"
cmd = "lein test :unit"

[[dev.test.steps.in-parallel]]
needs-resource = "my-source-code"
[[dev.test.steps.in_parallel]]
needs_resource = "my-source-code"
cmd = "lein test :integration"

[dev.build-and-push]
Expand All @@ -53,13 +53,13 @@ image = "clojure:latest"

[[dev.build-and-push.steps]]

[[dev.build-and-push.steps.in-parallel]]
needs-resource = "my-source-code"
produces-artifact = { name = "jar", path = "target/bob-standalone.jar" }
[[dev.build-and-push.steps.in_parallel]]
needs_resource = "my-source-code"
produces_artifact = { name = "jar", path = "target/bob-standalone.jar" }
cmd = "lein uberjar"

[[dev.build-and-push.steps.in-parallel]]
needs-resource = "my-source-code"
[[dev.build-and-push.steps.in_parallel]]
needs_resource = "my-source-code"
cmd = "lein deploy clojars"

[dev.package]
Expand All @@ -71,8 +71,8 @@ image = "debian:latest"
provider = "dev.build-and-push"

[[dev.package.steps]]
needs-resource = "my-jar"
produces-artifact = { name = "dev-installer", path = "bob.deb" }
needs_resource = "my-jar"
produces_artifact = { name = "dev-installer", path = "bob.deb" }
cmd = "make deb-package"

[stable.sign]
Expand All @@ -84,8 +84,8 @@ image = "debian:latest"
provider = "dev.build-and-push"

[[stable.sign.steps]]
needs-resource = "my-jar"
produces-artifact = { name = "my-sign", path = "bob.sig" }
needs_resource = "my-jar"
produces_artifact = { name = "my-sign", path = "bob.sig" }
cmd = "gpg --output bob.sig --sign bob-standalone.jar"

[stable.deploy]
Expand All @@ -103,12 +103,12 @@ image = "ansible:latest"

[[stable.deploy.steps]]

[[stable.deploy.steps.in-parallel]]
needs-resource = "my-sign"
[[stable.deploy.steps.in_parallel]]
needs_resource = "my-sign"
cmd = "scp [email protected] *.sig"

[[stable.deploy.steps.in-parallel]]
needs-resource = "my-jar"
[[stable.deploy.steps.in_parallel]]
needs_resource = "my-jar"
cmd = "scp [email protected] *.jar"

[[stable.deploy.steps]]
Expand Down

0 comments on commit 887cd26

Please sign in to comment.