Files
gotenberg/orbit.yml
Julien Neuhart 4997b73bac new feature: users are now able to provide more file types to convert by adding entries in their configuration file (#3)
* new feature: users are now able to provide more file types to convert by adding entries in their configuration file

* removing README blueprint: was not working correctly

* improving code coverage of config package
2018-05-03 17:18:55 +02:00

28 lines
954 B
YAML

tasks:
- use: fmt
short: Runs go fmt ./...
run:
- go fmt ./...
- use: generate
short: Generates all files from blueprints
run:
- orbit generate -f .blueprints/Dockerfile.blueprint -o Dockerfile.ci -p "Image,CI"
- orbit generate -f .blueprints/Dockerfile.blueprint -o Dockerfile -p "Image,MAIN"
- use: ci
short: Runs CI process inside a container
run:
- docker build -t thecodingmachine/gotenberg:ci -f Dockerfile.ci .
- docker run --rm -e "VERSION={{ .Orbit.Version }}" -v "$(pwd)/.ci:/go/src/github.com/thecodingmachine/gotenberg/.ci" thecodingmachine/gotenberg:ci
- use: build
short: Builds the main Docker image
run:
- docker build . -t thecodingmachine/gotenberg:{{ .Orbit.Version }}
- use: up
short: Starts the {{ .Orbit.Version }} version of the Gotenberg image
run:
- docker run --rm -p 3000:3000/tcp thecodingmachine/gotenberg:{{ .Orbit.Version }}