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

feat(): Adding deployment files for staging-1 #1474

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

vbustamante
Copy link
Contributor

This PR setups up a CoreOS based deployment for our system, but still does not go all the way:
Running the included terraform file, you'd have an ec2 instance running the latest available version of SI, only without auto updating capabilities.

Next steps are defined on ENG-692 on linear

Signed-off-by: Victor Bustamante <victor@systeminit.com>
@linear
Copy link

linear bot commented Nov 1, 2022

ENG-692 Refactor our deployment strategy

  • Create dev.systeminit.com
    • Use CoreOS and Butane to deploy a 'dev.systeminit.com' URI that auto-deploys from head
    • It should wipe the database every deployment
  • Make app.systeminit.com deploy manually
    • Rather than auto-updating, we should manually decide when to update app.systeminit.com

@netlify
Copy link

netlify bot commented Nov 1, 2022

👷 Deploy request for system-init-corp pending review.

A Netlify team Owner will need to approve the deploy before you can run your build.

Are you a team Owner? Visit the deploys page to approve it

Need more help? Learn more in the Netlify docs

Name Link
🔨 Latest commit 5f2a16c

Copy link
Contributor

@nickgerace nickgerace left a comment

Choose a reason for hiding this comment

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

Excellent work! You are doing the thing!

@nickgerace
Copy link
Contributor

bors merge

@si-bors-ng
Copy link
Contributor

si-bors-ng bot commented Nov 1, 2022

Build succeeded:

@si-bors-ng si-bors-ng bot merged commit a1bde69 into main Nov 1, 2022
@si-bors-ng si-bors-ng bot deleted the victor/eng-692-refactor-our-deployment-strategy branch November 1, 2022 23:35
si-bors-ng bot added a commit that referenced this pull request Nov 18, 2022
1530: feat(research): Create staging-1 server with auto wiping database r=vbustamante a=vbustamante

This wraps up this iteration of the staging-1 work started on #1474

With the code contained here, a functional version of staging-1 can be brought up, loading most of the sensitive data (save only the database credentials, which proved a little harder to isolate) from AWS Secrets. 

The only remaining issue is CoreOS' SELinux, which isn't easily disabled via terraform/butane. The method to disable it manually is documented in the README file.

Co-authored-by: Victor Bustamante <victor@systeminit.com>
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.

2 participants