ryanj / origin-s2i-nodejs

A basic Source to Image builder for OpenShift Origin, with runtime binaries from Nodejs.org
https://hub.docker.com/r/ryanj/centos7-s2i-nodejs/
Apache License 2.0
20 stars 30 forks source link

Automate build process #13

Open ryanj opened 8 years ago

ryanj commented 8 years ago

Jenkins? Shippable? Something else?

elyscape commented 8 years ago

Jenkins seems like it'll be a better option in that it will allow you to set up a job that periodically checks the Docker Hub for new source images and trigger builds based on that.

ryanj commented 8 years ago

I've added a "make rebuild" command for a hacky way to update the source tree when new releases of nodejs become available.

still needed: code for generating release tags and pushing images

ryanj commented 8 years ago

"make all" should now rebuild, tag, and republish all images.

I just need to set up a webhook to trigger a rebuild whenever the nodejs website content changes

ryanj commented 7 years ago

Idea: write up a service that will file an issue or submit a PR whenever a new NodeJS release is published.

elyscape commented 7 years ago

You can wire up a Jenkins instance to watch the tags on the nodejs/node repository and, when a new one is added, run a pipeline that basically waits for the entry to show up in index.json or index.tab, at which point it makes the change and submits a PR. If you'd like, I can experiment with this on my personal server and get back to you with details. I have something similar that generates new tags for my custom Origin router.