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

Move packit-stg to MP+ #470

Closed
5 tasks done
jpopelka opened this issue Mar 28, 2023 · 3 comments
Closed
5 tasks done

Move packit-stg to MP+ #470

jpopelka opened this issue Mar 28, 2023 · 3 comments
Assignees

Comments

@jpopelka
Copy link
Member

jpopelka commented Mar 28, 2023

Pre-requisites:

Similar to #380, you should

  • update vars/packit/stg_template.yaml (and your local-only stg.yaml)
    • project: packit--stg
    • host: https://api.mpp-e1-preprod.syvu.p1.openshiftapps.com:6443
    • postgres_version: 15 (to use PostgreSQL-15 instead of default v13)
  • move the database first (DEPLOYMENT=stg make deploy TAGS=postgres)
  • deploy the rest
  • switch DNS
    • I'm not sure about the default router hostname, whether to take it from status:ingress:routerCanonicalHostname of a route or whether we need to consult this doc
  • scale down the old one
@mfocko
Copy link
Member

mfocko commented May 1, 2023

Notes:

@mfocko mfocko added the blocked We are blocked! label May 3, 2023
@jpopelka jpopelka assigned jpopelka and unassigned mfocko Jul 19, 2023
@jpopelka jpopelka removed the blocked We are blocked! label Jul 19, 2023
@jpopelka
Copy link
Member Author

jpopelka commented Jul 19, 2023

Follow-up card: #509

@jpopelka jpopelka assigned mfocko and unassigned jpopelka Jul 20, 2023
@mfocko
Copy link
Member

mfocko commented Jul 24, 2023

Round 2

  • Scale down auto-prod packit-stg
  • Dump the postgres
  • Deploy postgres
  • Restore postgres
  • Deploy the rest
  • Check firewall
  • Switch the DNS
  • Scale down everything on the auto-prod

@mfocko mfocko closed this as completed Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants