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

App Deployment #8

Open
19 tasks
danhunsaker opened this issue Sep 29, 2019 · 0 comments
Open
19 tasks

App Deployment #8

danhunsaker opened this issue Sep 29, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@danhunsaker
Copy link
Member

danhunsaker commented Sep 29, 2019

  • CLI tool performs the following steps:
    • look up the data warehouse service in the target app
    • upload or sync the deployable code under /app
    • upload or sync the contents of /data
    • register a new deploy with the Core
  • Remove oldest deploy(s) until only the configured amount remain

The above steps are skipped if a redeploy is triggered from the user's dashboard.

  • Process boxfile to determine what components to create/update
  • Install latest images for each component on the server(s) it will be created on
  • Create new containers for the new components (data components in the first pass, if applicable; code components in a second pass afterward)
  • Configure new containers
    • Migrate data between data containers
    • Install deploy contents in code containers
    • Run transform hooks in code containers
    • Make /app and its contents read-only, except where marked writable
  • Start new containers
  • Run before_live hooks in new containers
  • Redirect traffic to new containers
  • Stop old containers
  • Remove old containers
  • Run after_live hooks in new containers

  • List of recent deploys is available in user's dashboard
  • User can redeploy any available deploy, and redeploys of still-available deploys are also shown in the dashboard
@danhunsaker danhunsaker added this to the Minimum Viable Product milestone Sep 29, 2019
@danhunsaker danhunsaker added the help wanted Extra attention is needed label Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant