Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: created a temporary downtime page #4157

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

nickytonline
Copy link
Member

@nickytonline nickytonline commented Oct 8, 2024

Description

A temporary downtime page as we do our database migration. It'll get merged to a pretty much empty branch, downtime, and we will deploy this branch first to beta to test by pointing the to the downtime branch in the Netlify UI, and then prod just before we begin the database migration.

Once the database migration is complete in production, we'll change the branch production is pointing to in the Netlify UI, and we'll redeploy or rollback to the previous production release.

Related Tickets & Documents

Relates to #4156.

Mobile & Desktop Screenshots/Recordings

image

Steps to QA

To test, navigate to any page and it redirects to /downtime.html.

e.g.

https://deploy-preview-4157--oss-insights.netlify.app/ -> https://deploy-preview-4157--oss-insights.netlify.app/downtime.html

https://deploy-preview-4157--oss-insights.netlify.app/u/nickytonline -> https://deploy-preview-4157--oss-insights.netlify.app/downtime.html

https://deploy-preview-4157--oss-insights.netlify.app/workspaces/a5b9c1f5-8f01-4f61-a6b7-09943ef9e069 -> https://deploy-preview-4157--oss-insights.netlify.app/downtime.html

https://deploy-preview-4157--oss-insights.netlify.app/workspaces/explore -> https://deploy-preview-4157--oss-insights.netlify.app/downtime.html

Tier (staff will fill in)

  • Tier 1
  • Tier 2
  • Tier 3
  • Tier 4

[optional] What gif best describes this PR or how it makes you feel?

Copy link

netlify bot commented Oct 8, 2024

Deploy Preview for design-insights ready!

Name Link
🔨 Latest commit ab6c774
🔍 Latest deploy log https://app.netlify.com/sites/design-insights/deploys/67059015dd4be40008424a20
😎 Deploy Preview https://deploy-preview-4157--design-insights.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 8, 2024

Deploy Preview for oss-insights ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/6706bc5efaf98a16b3c376dc
😎 Deploy Preview https://deploy-preview-4157--oss-insights.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nickytonline nickytonline requested review from a team October 8, 2024 18:43
@nickytonline
Copy link
Member Author

@BekahHW @isabensusan @open-sauced/engineering, feel free to suggest better wording.

@nickytonline nickytonline force-pushed the nickytonline/downtime-page branch 2 times, most recently from e8bd72b to 70c057a Compare October 8, 2024 18:52
Copy link
Member

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a single page deployable from a downtime branch: this way, we can simply flip the deployment of app.opensauced.pizza on Netlify to the downtime branch.

If that doesn't track with how we'd execute on this, let me know.

@nickytonline
Copy link
Member Author

This should be a single page deployable from a downtime branch: this way, we can simply flip the deployment of app.opensauced.pizza on Netlify to the downtime branch.

If that doesn't track with how we'd execute on this, let me know.

Yeah I can do that. It's simpler. Update incoming.

@nickytonline
Copy link
Member Author

nickytonline commented Oct 8, 2024

This should be a single page deployable from a downtime branch: this way, we can simply flip the deployment of app.opensauced.pizza on Netlify to the downtime branch.
If that doesn't track with how we'd execute on this, let me know.

Yeah I can do that. It's simpler. Update incoming.

One file now, and the updated netlify.toml to handle the redirects during downtime.

https://github.com/open-sauced/app/tree/nickytonline/downtime-page

@jpmcb
Copy link
Member

jpmcb commented Oct 9, 2024

Great: can we set the target branch to be a new downtime branch instead of beta? That way, we can merge to that branch and target it for Netlify deploys if needed!

@nickytonline nickytonline changed the base branch from beta to downtime October 9, 2024 16:51
@nickytonline nickytonline marked this pull request as ready for review October 9, 2024 16:54
@nickytonline nickytonline requested a review from a team October 9, 2024 16:54
@nickytonline nickytonline force-pushed the nickytonline/downtime-page branch 3 times, most recently from 325fd9b to 3b3c98f Compare October 9, 2024 17:07
@nickytonline nickytonline force-pushed the nickytonline/downtime-page branch 3 times, most recently from b961bc8 to 9967a51 Compare October 9, 2024 17:24
netlify.toml Show resolved Hide resolved
netlify.toml Show resolved Hide resolved
netlify.toml Show resolved Hide resolved
Copy link
Member

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎😎😎

@nickytonline nickytonline merged commit 07846d4 into downtime Oct 9, 2024
@nickytonline nickytonline deleted the nickytonline/downtime-page branch October 9, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants