A project which builds customer docker image before ci, boots it, runs CI test that generate artifacts and then push custom built docker container with ci artifacts
JavaScript Shell HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
imageFiles
public/resources
routes
tests
views
.gitignore
Dockerfile
README.md
app.js
package.json
shippable.yml

README.md

AyeAye

Continuous Integration for a Node JS application with Custom Docker Image

Run Status

A simple Node JS application that is using a custom built Ubuntu 16.04 build image using Docker. Upon building it, the newly built image is booted, the repo cloned inside it and then CI tests with mocha and istanbul and executed. If these tests pass, the custom build image is then pushed to Docker Hub as an immutable image. We also create an artifact during the post_ci step which will be saved as we are re-tagging the pre_ci image in post_ci section so that the state of ci is persistend

Run CI for this repo on Shippable

  • Fork this repo into your local repo
  • Login into the Continuous Integration Service
  • Create an integration on shippable to your docker hub
  • All CI configuration is in shippable.yml
  • Follow these CI Setup Instructions if you have never used Shippable CI Service
  • Update the integrationName in the integration.hub section if you used something other than shipDH
  • Change the DOCKER_REPO and DOCKER_ACC to point to your repo and docker account
  • You should be able to run a manual build or webhook build on commit

CI Reports on Shippable

CI Integration View

CI Integration View

CI Console Output

CI Console Output