Skip to content

CD/CI shellscript glue code for working with TravisCI, DockerHub, AWS ECR and JFrog Artifactory

License

Notifications You must be signed in to change notification settings

madworx/cd-ci-glue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cd-ci-glue

Build Status

Build history

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.

Usage example

$ 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}"

Documentation

Always-up-to-date generated documentation is available here: cd-ci-glue.bash.

Code-coverage of test cases is available here: coverage/.

Versioning

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.

Contributing

Any and all contributions are welcome, in the form of pull requests.

License

This project is licensed under the unlicense - see the LICENSE file for details.

Authors

  • Martin Kjellstrand - Initial work - madworx