Giter VIP home page Giter VIP logo

zbeekman / nightly-docker-rebuild Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 4.0 18 KB

Use nightli.es :moon: to rebuild N docker :whale2: images :package: on hub.docker.com

Home Page: https://travis-ci.org/zbeekman/nightly-docker-rebuild/builds

License: BSD 3-Clause "New" or "Revised" License

Shell 100.00%
travis-ci docker-image docker-container continuous-integration continuous-delivery continuous-deployment nightly-build nightly docker-hub docker

nightly-docker-rebuild's Introduction

๐ŸŒ” ๐Ÿณ ๐Ÿ› ๏ธ nightly-docker-rebuild ๐Ÿ“ฆ ๐Ÿ‹ โœจ

Use nightli.es to rebuild N docker images on hub.docker.com, setup takes less than two minutes! โšก

Build Status Maintained? GitHub forks GitHub stars GitHub watchers Twitter URL

Whale spout launcher animation

Update

Since I originally wrote this guide, Travis-CI has added cron jobs. This means, that you no longer need to enable and register with nightli.es. The entire setup can be done with Travis-CI alone.

Why

I use this to rebuild GCC trunk in a docker container on a nightly basis. If you're interested, please take a look at my automated docker hub setup.

Travis-CI is great but long builds can time out, which is a giant PITA. Docker to the rescue! By using docker with Travis-CI you get to skip long builds for dependencies. While Travis-CI itself can be used to build docker images, some will time out before the build can complete. However, Docker Hub can be used to rebuild docker images (and it's harder to time out here) BUT nightli.es can only be used to trigger Travis-CI builds.... hmmmmm :thinking: what to do? Nightly-docker-rebuild to the rescue! :tada:

How

  1. Fork
  2. Clone: git clone https://github.com/<your_username>/nightly-docker-rebuild && cd nightly-docker-rebuild
  3. Enable and setup Travis-CI (through the online UI or by following the following steps)
  4. [sudo] gem install travis
  5. travis login
  6. travis enable
  7. Get your Docker Hub project end point URL and token from https://hub.docker.com/r/<USER>/<REPO>/~/settings/automated-builds/
  8. create encrypted Travis-CI variable to store private end point and token: travis env set DH_END_POINT_1 https://registry.hub.docker.com/u/<USER>/<REPO>/trigger/<TOKEN>/
  9. Repeat for an additional nighly builds you want to setup and increment the number on DH_END_POINT_<N>
  10. Go to nightli.es and enable nightly-docker-rebuild after logging in

GitHub followers Twitter Follow

nightly-docker-rebuild's People

Contributors

zbeekman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.