-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
lets add a new field to the yaml like
enable_rollback: truewhen this is enabled, the process of pulling and updating should go like this
- check if enable_rollback is set
- if so, make a new branch like
DATE-TIME-mainlike20260103-171022-main, this is the copy ofmainbefore we pull from github- store the name of this branch as a variable, we will use it later
- switch back to
main
happy path
- pull from github
- try docker compose up
- if it works, delete the temporary branch we created
sad path
say we are on main and docker is breaking, we need to roll back
- we need to make
mainmatch20260103-171022-main, what github command can do this? - assuming git command works, delete our temporary branch
20260103-171022-main - retry docker compose up
if we do a rollback, we should push an embed saying that it failed
Metadata
Metadata
Assignees
Labels
No labels