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

automate the build process #2

Closed
shahidhk opened this issue Dec 31, 2019 · 0 comments
Closed

automate the build process #2

shahidhk opened this issue Dec 31, 2019 · 0 comments

Comments

@shahidhk
Copy link
Member

shahidhk commented Dec 31, 2019

ref https://github.com/digitalocean/marketplace-partners

The process is outlined in https://github.com/digitalocean/marketplace-partners#getting-started

Hasura specific steps include placing https://github.com/hasura/do-marketplace/blob/master/setup-hasura.sh at https://cloudinit.readthedocs.io/en/latest/topics/modules.html#scripts-per-instance

The overall process includes

  • Creating a new droplet on DigitalOcean (minimum possible conf)
  • Keep the setup-hasura.sh script at the right location
  • Clean up the droplet and run some checks
  • Logout from droplet, shut down and snapshot
  • Create a new droplet from the snapshot
  • See if everything is fine
  • Submit the snapshot to digitalocean

We need to automate everything until snapshotting using Packer: https://github.com/digitalocean/marketplace-partners/tree/master/packer

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

No branches or pull requests

1 participant