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

Add "Cloud Builder" support to haikuporter #211

Open
kallisti5 opened this issue Jan 6, 2021 · 0 comments
Open

Add "Cloud Builder" support to haikuporter #211

kallisti5 opened this issue Jan 6, 2021 · 0 comments
Labels
hacktoberfest Issues proposed to Hacktoberfest participants help-wanted type-enhancement

Comments

@kallisti5
Copy link
Member

Haiku can be booted in several cloud environments. (Digital Ocean, AWS, Vultr)
With the cloud_init hpkg in Haikuports, the VM's can be provisioned on the fly at startup by the cloud providers above.

Example:
https://gist.github.com/kallisti5/d84de68d232a22b3d55b66f8618ceb42

In theory, haikuporter could perform Haiku package builds at any cloud provider via a few API calls followed by an SSH connection.

  1. haikuporter Provision new Haiku VM via API calls
  2. haikuporter SSH keys provisioned via cloud_init in booting VM.
  3. haikuporter SSH's to new server
  4. Builds happen
  5. haikuporter gets artifacts
  6. haikuporter destroys the Haiku VM via API calls.
  • 1 is the most work needed, should be cloud agnostic and extendable
  • 2 isn't really much work
  • 3 already happens today over ssh, just needs dynamic IP fed to it from step 1
  • 4 already happens today over ssh
  • 5 already happens today over ssh
  • 6 is similar to 1 in reverse
@scottmc scottmc added the hacktoberfest Issues proposed to Hacktoberfest participants label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues proposed to Hacktoberfest participants help-wanted type-enhancement
Development

No branches or pull requests

2 participants