-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
[BUG] branch and release builds should be immutable (for a specific sha) - nightly builds should move to their own CI script #289
Comments
Hm, not sure what the ask is here. Scrutiny is available as branch specific docker images ( If you want to lock to a specific version, you can do so. |
I think he means because you tag like @liambresnahan If you use I also noticed the tag in the top right of the app shows a SHA (or something) on the |
What @shamoon mentions is what I'm thinking. I was further confused by the sample docker-compose files and docker run commands mentioned mater-omnibus as it sounds like that's the only way to get the combined web app and backend in a single image. If using latest is the best way to track only the latest release but not every commit, that is what I'll update to. I also tried to check where in the ci the omnibus image gets updated each time, but couldn't find it on quick glance. What I was mostly asking for is a way to stay on the latest release without seeing a new image every day or every time a new commit is added via ci. I.e. only seeing what is formally making a release. Sorry I wasn't clear in my ask initially. |
Ah, apologies. So the CI script used to orchestrate the docker image builds can be found here: https://github.com/AnalogJ/scrutiny/blob/master/.github/workflows/docker-build.yaml#L166-L184 In general I follow a As development progresses, and I'm satisfied that a feature is complete, and the quality is acceptable, I merge the changes to So changing from Having said that -- the one key difference is the However, as everyone unfortunately found out a couple of days ago, I had an error in my CI script, which caused failures to be ignored -- #287. That has since been fixed. Hope that gives you an understanding for how everything is wired up. TL;DR; The |
Yea I misunderstood, my bad. Well I can’t say I understand the purpose of the nightly builds on master when no source code has actually changed but obviously your project your call! Ultimately I agree with OP that ideally an image would remain stable and unchanged between releases (and if you want nightly builds you use |
actually you bring up a good point. When i first wrote scrutiny, i only had 1 Github Actions CI script. Since that time I've broken things out into multiple scripts. It probably makes sense to move the nightly builds out into its own script, and leave the docker images as immutable for a specific sha. I'll update the issue title. |
@AnalogJ - I’m still seeing nightly builds when using |
So there are no longer nightly builds, but documentation changes are made directly in the master branch, which will trigger docker builds (but probably shouldnt, I'll add the
Since there are no nightly builds anymore the number of (non-release) updates will be pretty infrequent, but it can happen. If you only want releases, then |
Got it. Thanks for confirming. Agree, something in dockerignore sounds good. I'll look to move to latest in future too |
Describe the bug
Currently I use watchtower to pull docker images and update on a nightly basis. I also use the master-omnibus image as recommended in the docs. This results in pulling the container every day. This seems undesired (from both yours and my standpoint), I noted 225 downloads from that package as of now (6 hours after the package updated) so I assume I’m not the only one seeing this.
Expected behavior
I think there are three options here
The text was updated successfully, but these errors were encountered: