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

[CI] Deployment Automation + API/DB Connection checks #4484

Closed
thedavidprice opened this issue Feb 15, 2022 · 1 comment
Closed

[CI] Deployment Automation + API/DB Connection checks #4484

thedavidprice opened this issue Feb 15, 2022 · 1 comment
Assignees

Comments

@thedavidprice
Copy link
Contributor

thedavidprice commented Feb 15, 2022

related Issue #1886

I'm currently running manual Netlify and Vercel deploys, which requires 1) checking build logs for clean build and 2) checking deployed site to confirm API connection and DB are working accordingly.

We need to automate deploy and API/DB tests:

  • when canaries are published, could trigger a workflow to install, modify, and deploy a project (note: modification needs to be automated as well for consistency across a growing number of deploy targets)
  • would need DBs and, likely, resetting a DB before each deploy
  • use Pingdom or some other cron tasks to consistently check API endpoints
  • alerts+notifications: recommend create a notification channel in the Core Team's Slack Workspace
@thedavidprice thedavidprice self-assigned this Feb 15, 2022
@thedavidprice
Copy link
Contributor Author

thedavidprice commented Feb 23, 2022

Based on my current status with this repo https://github.com/redwoodjs/deploy-target-ci I'm call it "good enough" for this Issue. What I've done:

  • set up deploys and triggers for Netlify and Vercel
  • set up deploy local for Serverless. Waiting for confirmation that it's not possible to use Serverless dashboard for CD ('cause yarn workspace). Can add GH Action and Slack message if needed (Slack might work via dashboard regardless)
  • set up Pingdom for web and api: Netlify, Vercel, Serverless. Notifications in Slack.
  • set up the initial Render project
  • Added Renovate for canary releases (not working much at all)

TO DO (post v1):

  • Serverless CD: auth via GH secret
  • Render: Have no idea how to set up CD for monorepo and workspaces
  • Rebuild projects: ideally when breaking changes happen we'd have automation to rebuild each project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Archived
Development

No branches or pull requests

1 participant