-
Notifications
You must be signed in to change notification settings - Fork 9
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
Continuous deployment Python script #80
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an extremely thorough review, but I wanted to invest the time given that this script is critical. We have seen the effect of neglected image builds numerous times (e.g. BRAKER3, probably cgroups, and many other examples from the past).
To illustrate the importance of the script, I want to draw an analogy between it and the technical revision of ambulances, if the screws on the wheels are loose, they fall away and you can't even send the doctor when somebody is dying (or you send him/her walking and other people die at the hospital meanwhile). That's exactly what is happening to us right now with numerous bugs.
Please look at the comments from a distance, do not get lost in them. Despite the fact that you see a comment every few lines, I am commenting on minor details or cases where the spec does not match what we agreed. Overall this is script is solving the problem.
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Co-authored-by: José Manuel Domínguez <[email protected]>
Thank you for the thorough review, I think I learned a lot :) |
Compute commit time in `assemble_timestamp` instead of build time as agreed in usegalaxy-eu#78.
Prevents "SyntaxError: f-string expression part cannot include a backslash". ``` In [1]: f"[{','.join('\"' + x + '\"' for x in self.provisioning)}]" Cell In[1], line 1 f"[{','.join('\"' + x + '\"' for x in self.provisioning)}]" ^ SyntaxError: f-string expression part cannot include a backslash ```
@mira-miracoli Consider this approved, I just want to run it before hitting approve. A good reason to run it may be https://github.com/usegalaxy-eu/issues/issues/505 if it is caused by something that needs to be fixed in the images. I'll look into the issue and if the images need to be fixed, I'll build and upload them using this, then hit approve. |
Thanks, everyone! And a happy new year! |
Script that
qemu-img convert
static/vgcn
directory