-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Continuous Deployment process of the image with Travis #49
Comments
Ping @mojavelinux @mgreau what do you think on this topic? |
Great proposal @dduportal
What does it mean exactly? As we have to be logged to push the image, I'm not sure to see the difference (I use this process for my personal docker images) |
Hello @mgreau . I am working on this topic right now, and I just was your message here. So in the proposed process, the idea is to have a "deploy" phase on the CI build, that will trigger a build in DockerHub:
The idea is to avoid pushing image on the DockerHub it it is not tested AND providing the trust of the users on the DockerHub since they can know which Dockerfile has been used for each tag. Let me open a Pull Request on this subject so you'll have material to review. |
GH-49: Implementation proposal for CI and CD
Closed by #61 a while ago. |
Hello, @mojavelinux @gscheibel @jirutka and all the contributors!
I am opening this issue to discuss (before jumping in any implementation) about the CD process for this image.
Challenge Statement
My goal is to propose an implementation with TravisCI, that will take care of the building, testing and deploying the image in the most automated way possible.
Current Status
My proposal is focused on the "Automated Builds" of the DockerHub: https://docs.docker.com/docker-hub/github/.
Currently, we use this for this repository: DockerHub is watching for any change on the repository and will build itself the image (and deploy it in the registry).
=> The main issue is that the test harness is not run by the DockerHub.
Proposals for Solving Challenge
If we move the build on TravisCI (watching events on the repository), we could gain the value of running the test harness on each commit/Pull Request, with direct Feedback to GitHub.
The Docker Image delivery need to be discussed. Once the repository has been built and tested successfully in Travis, should we:
docker push
to deliver it to the DockerHub=> I propose the webhook solution (where we disable the DockerHub watching). Even if we have a risk to differs, the fact we are using tagged version for a lot of the components + using Alpine Linux make it "leaner".
Since I already did it for other personal projects, I can apply this on my fork and let you check this, before applying it to this repository.
What are your advises on this?
The text was updated successfully, but these errors were encountered: