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: Docker migration TODO 🦭 #403

Closed
79 of 94 tasks
mcdurdin opened this issue Nov 15, 2023 · 2 comments
Closed
79 of 94 tasks

chore: Docker migration TODO 🦭 #403

mcdurdin opened this issue Nov 15, 2023 · 2 comments
Assignees
Labels
Milestone

Comments

@mcdurdin
Copy link
Member

mcdurdin commented Nov 15, 2023

Outstanding work that needs to be completed for the Docker-based/k8s-based website host transfer:

help.keyman.com

Post-Deployment:

  • staging: for backend, use api-keyman-com.keyman to bypass Cloudflare
  • production: for backend, use api-keyman-com.keyman to bypass Cloudflare

keyman.com

Post-Deployment:

  • staging: for backend, use api-keyman-com.keyman to bypass Cloudflare
  • production: for backend, use api-keyman-com.keyman to bypass Cloudflare

api.keyman.com + database

Post-Deployment (if necessary?):

  • staging: for backend, use api-keyman-com.keyman to bypass Cloudflare
  • production: for backend, use api-keyman-com.keyman to bypass Cloudflare

keymanweb.com

  • k8s configuration âž¡ keymanapp/site-kubernetes-config#10, keymanapp/site-kubernetes-config#20
  • http -> https upgrade on staging and production
  • _control/webhook/deploy
    • webhook on github (staging)
    • test
  • staging: Use fleet to automatically deploy
  • staging: Use pinned Docker images âž¡fix: Pin sha of php:7.4-apache 🦭 keymanweb.com#91
  • staging: bring up web.keyman-staging.com (DNS update on CloudFlare)
  • production: Deploy (copy from help.keyman.com)

Post-Deployment:

  • staging: for backend, use api-keyman-com.keyman to bypass Cloudflare
  • production: for backend, use api-keyman-com.keyman to bypass Cloudflare

s.keyman.com

  • k8s configuration
  • Sort out TIER for k8s sites
  • verify TIER on k8s (_control/info.php as used on other sites)
  • http -> https upgrade on staging and production
  • _control/webhook/deploy
    • webhook on github (staging)
    • test
  • staging: Use fleet to automatically deploy
  • staging: Use pinned Docker images âž¡fix: Pin sha of php:7.4-apache 🦭 s.keyman.com#154
  • staging: bring up s.keyman-staging.com (DNS update on CloudFlare)
  • production: Deploy (copy from help.keyman.com)

shared-sites

  • merge v0.4, new tag, update all dep sites to use the tag
  • Refactor environment getenv() calls into module so we have a single global KeymanSiteEnvironment class

reverse-proxy

  • Future: let users choose which sites they want to host locally, and munge internal links accordingly

site-kubernetes-config

General

Note: legacy Keyman Sites Migration Google Doc

@mcdurdin mcdurdin added the chore label Nov 15, 2023
@mcdurdin mcdurdin added this to the A17S26 milestone Nov 15, 2023
darcywong00 added a commit to keymanapp/s.keyman.com that referenced this issue Nov 25, 2023
This pins the sha of the Docker image for php:7.4-apache.

Relates to keymanapp/keyman.com#403
darcywong00 added a commit that referenced this issue Nov 25, 2023
This pins the sha of the Docker image for php:7.4-apache.

Relates to #403
darcywong00 added a commit to keymanapp/help.keyman.com that referenced this issue Nov 25, 2023
This pins the sha of the Docker image for php:7.4-apache.

Relates to keymanapp/keyman.com#403
@darcywong00 darcywong00 modified the milestones: A17S26, A17S27 Nov 27, 2023
@mcdurdin mcdurdin modified the milestones: A17S27, A17S28 Dec 8, 2023
@mcdurdin mcdurdin modified the milestones: A17S28, A17S29 Dec 30, 2023
@mcdurdin mcdurdin modified the milestones: A17S29, A17S30 Jan 6, 2024
@mcdurdin mcdurdin modified the milestones: A17S30, A17S31 Jan 20, 2024
@darcywong00
Copy link
Contributor

darcywong00 commented Jan 24, 2024

I'm making a separate bullet point for /_control/ready.php here rather than splicing into the big checklist at the top.
Based on Jan 22 discussions, we want each site to have a unique /_control/ready probe that k8s can test:

/_control/ready probe

@darcywong00
Copy link
Contributor

darcywong00 commented Feb 1, 2024

Making a separate bullet point for creating production branches off of `staging for each site.

  • api.keyman.com
  • keymanweb.com
  • keyman.com
  • help.keyman.com
  • s.keyman.com

I'll also add branch protection rules for production for the sites that already have rules for staging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants