Skip to content

Improve image building dev workflow

Summary

This MR:

  • removed redeploy.sh and instead integrates this functionality into build_deploy.sh directly. While this slightly increases the complexity of build_deploy.sh, the overall complexity is reduced as the chain is clearer. It is also less code to maintain, since bash is a pain when it comes to argument passing.
  • With this change, we now have a better pipeline of build binaries -> build image -> delete instance -> deploy instance (previously the delete happened before the building of the image)
  • There is now the possibility of doing build_deploy.sh --upgrade which will upgrade the existing instance instead of deleting the whole thing first
  • To do this efficiently, some minor fixes to the init scripts were done to ensure the instance can be cleaned up faster (this also saves time in the pipeline as the namespace deletion process should no longer take as long)

Additional Required Actions

  • Requires manual tests in pre-production: NO
  • Requires a documentation update: NO

References

Closes #950 (closed)

Edited by Niels Alexander Buegel

Merge request reports

Loading