Skip to content
Snippets Groups Projects

Feat/deploy rollback

Merged Lucas Briese requested to merge feat/deploy-rollback into dev
  • startupProbe for dev deployment, not prod
    • as long as the startup probe fails the container is not ready => the pod is not ready => the old deployment is not deleted
    • by using health route instead of the port only we should be able to catch some issues in application.properties
    • if not successful in a given timeout => undo deployment and exit with non zero to fail pipeline
    • reason why using curl and not httpGet directly? k8s offers httpGet but I don't know why its failing, we have no access to events so not possible to debug from my pov.
  • cleanup:
    • pinned images to specific tags
    • build_sha_prod and build_latest_prod can be merged because destination can be provided multiple times, reducing CI runtime and also that both tags are really identical images.
Edited by Lucas Briese

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.