-
Notifications
You must be signed in to change notification settings - Fork 397
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
Container Updates and Releases #765
Comments
I have to manually push it on Docker Hub, I will do it in the next few days. At the moment our Docker Hub account doesn't support automated builds but we have some alternatives we need to work on to support that. |
Oh, interesting. Potentially you could use GitHub actions to build and push? This should appear to Docker Hub no different to a person pushing manually from the command line. |
Yes we intend to use GitHub actions to build and push (only for the images that need to be updated). We actually have one issue opened for this: #468 |
I have pushed the image: https://hub.docker.com/r/gns3/mikrotik-winbox We will focus on #468 for the auto rebuild part. Thanks again and please don't hesitate to post if you see a problem. |
Hey there, I see everything has been merged in to support this, but I have one major concern. You specified "only for images that need to be updated" and I am assuming this means an image will need to be updated in this repository for the process to even trigger let alone work? This is concerning for my (and other) images which point to a third party container, as no changes will need to be made in this repo, yet upstream images will update and a new version must be pulled. Thanks! |
This is correct or we can also manually trigger the process.
I am not sure how we could handle this. @b-ehlers do you have an idea or comment? |
The build tool checks for every docker image, defined in docker/docker_images, the following:
All docker images, that meet any of these conditions, are rebuild. The build tool is run on every git push, weekly and by a manual trigger. So when you change your image |
7 days seems perfectly reasonable for most updates, and if there is a critical security vulnerability, I am sure an issue could be opened asking for a manual trigger? |
Sure, you can create an issue asking for a manual trigger to get an earlier update. But an updated image doesn't mean, that the update gets to the user. Currently GNS3 loads an image the first time you put a device, based on that image, into a project. Afterwards GNS3 never updates that image. There is no way in the GNS3 GUI to ask for a docker image update. The user has to manually do a |
Yea, this is something I noticed too. I personally do pulls, but I do not expect the average user to even know a pull is possible, let alone keep on top of it. It would be good if there was a way for GNS3 to check for updates against the repository and alert the user to an available update and allow them to update either all, or a list. But yea, as you said, #145 |
Hi there,
So with my PR #761 being accepted, I have noticed that the container has not been pushed to GNS3 on Docker Hub. I wanted to enquire as to the frequency of container builds. Both, for this initial build, and for updates.
If I were to push an update to the image upon which the GNS3 image is based upon, how long would it take for the GNS3 image to rebuild?
Thanks!
The text was updated successfully, but these errors were encountered: