Skip to content
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

weekly builds #19

Open
jprosser opened this issue May 4, 2023 · 4 comments
Open

weekly builds #19

jprosser opened this issue May 4, 2023 · 4 comments

Comments

@jprosser
Copy link
Contributor

jprosser commented May 4, 2023

a regularly refreshed image is needed to address security issues.

@miker985
Copy link
Collaborator

miker985 commented May 4, 2023

I've added this dependabot config to track the upstream OS and the python packages used.

I haven't used dependabot before but it appears to be checking things correctly based off of this requirements.txt check and the related dockerfile check

It appears that dependabot can tell when the whole debian image is updated, but it is not clear to me it could tell that e.g., the optional libxmlsec1 we install got updated and so a new image should be built. I don't think docker cacheing can help here because something in the large swath of the debian packages will most assuredly updated each week.

Are you aware of anything fancy that can do that or should I just bundle a weekly build script as well?

@jprosser
Copy link
Contributor Author

jprosser commented May 5, 2023

Interesting, I was thinking of using the features of the repo here on Github, as opposed to a yaml file, but I don't know if there is an advantage one way or the other.
This link isn't going to work for anyone else without developer level access but now I'm curious which might be better.

@jprosser
Copy link
Contributor Author

jprosser commented May 5, 2023

My original comment was in the context of security, and getting alerts in a timely fashion. Not so much version updates which in my mind was a poetry thing, but of course we don't have poetry on this app right now, so let's forge ahead with what you have and see what all we can get out of dependabot if that sounds good to you.

On the docker side, our base image we're relying on seems to have about a monthly refresh cycle so if we're doing latest and building weekly, we'll pick that up rapidly enough (sans major security events).

dependabot version updates and security updates

@EricHorst
Copy link
Contributor

You can see what it's like to interact with dependabot here: https://github.com/UWIT-UE/slack-user-reconcile/pulls?q=is%3Apr+is%3Aclosed

In UWIT-UE/slack-user-reconcile#14 you can see me conversing with dependabot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants