Continuous deployment Python script#80
Conversation
There was a problem hiding this comment.
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 <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <43052541+kysrpex@users.noreply.github.com>
|
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 convertstatic/vgcndirectory