Skip to content

Instantly share code, notes, and snippets.

@JonnieCache
Last active June 20, 2019 17:26
Show Gist options
  • Save JonnieCache/5122ec4ddd0aee57a3b78499507b93f0 to your computer and use it in GitHub Desktop.
Save JonnieCache/5122ec4ddd0aee57a3b78499507b93f0 to your computer and use it in GitHub Desktop.
FML's tinyci config
build: VERSION=<%= commit %> docker-compose build --force-rm test
test: export VERSION=<%= commit %> && docker-compose run --rm test && docker-compose down
hooks:
after_test_success: VERSION=<%= commit %> docker-compose build app
after_all: rm -rf <%= export %>; docker rmi fml:<%= commit %>-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment