A small collection of helper functions for interacting with GitHub, Docker Hub, and Travis CI.
Primarily designed to be sourced in Travis CI scripts to automate publishing of artifacts and documentation.
$ source <(curl 'https://raw.githubusercontent.com/madworx/cd-ci-glue/master/src/cd-ci-glue.bash')
$ make docker && \
is_travis_master_push && \
dockerhub_push_image madworx/demoimage && \
dockerhub_set_description madworx/demoimage README.md
$ make wikidocs && \
is_travis_master_push && \
GITDOC=$(github_wiki_prepare madworx/demoimage) && \
cp build/wiki/*.md "${GITDOC}/"
github_doc_commit "${GITDOC}"
Always-up-to-date generated documentation is available here: cd-ci-glue.bash.
Code-coverage of test cases is available here: coverage/.
The master
branch is always in working state and represents the current state of the library and will always remain backwards-compatible.
Any possible future non-backwards compatible enhancements to the library will be done in a separate branch.
Any and all contributions are welcome, in the form of pull requests.
This project is licensed under the unlicense - see the LICENSE file for details.
- Martin Kjellstrand - Initial work - madworx