now generating Dockerfiles from blueprint

This commit is contained in:
Julien Neuhart
2018-04-06 15:13:28 +02:00
parent 6594f41927
commit ee44f09212
2 changed files with 54 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ tasks:
short: Generates all files from blueprints
run:
- BRANCH="$(git symbolic-ref --short HEAD)"; orbit generate -f _blueprints/README.blueprint.md -o README.md -p "Branch,${BRANCH}"
- orbit generate -f _blueprints/Dockerfile.blueprint -o Dockerfile.tests -p "Image,TESTS"
- orbit generate -f _blueprints/Dockerfile.blueprint -o Dockerfile -p "Image,BUILD"
- use: tests
short: Runs tests inside a container