Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step

Details

Status

Time

Rollback steps

1

Install production version on test instance

  1. Install production version on some test instance so it can be verified later.

  2. Create a test event

Status
colourGreen
titledone

-

2

Deploy new function

  1. Run npm run deploy-firebase

    1. Firebase CLI will ask if you accept costs of min 1 instance running, reply “Yes” (the default)

    2. Firebase CLI will ask if you want to delete the old function, reply “No” (the default)

Status
colourGreen
titleDONE

  1. Revert the last commit on master

  2. Run npm run deploy-firebase

3

Verify if everything works

  1. Check if app is working correctly on the production version installed in step #1.

    Status
    colourGreen
    titleDone

  2. Try installing app on some fresh instance.

    Status
    colourGreen
    titleDone

Status
colourGreen
titleDone

-

4

Adjust Execution with Error Alert

Execution with error alert threshold changed to 0 (Any error on backend should trigger alert now)

Status
colourGreen
titleDone

5

Remove the old function

  1. Remove the old function (app) manually through Firebase Console UI

Status
colourBlueGreen
titleto dodone

28

-

Migration done: 15:05 Sunday, March 26, 2023, Coordinated Universal Time (UTC)

...