Giter Site home page Giter Site logo

do-marketplace's Introduction

Hasura DigitalOcean Marketplace

This repository contains build automation scripts for Hasura Image on DigitalOcean Marketplace.

Getting Started

Packer is a tool which helps to automate the entire build process from a single source configuration file.

The template.json is the single source configuration packer will use to build and snapshot the droplet. Some variables may need to be customized to suit any future updates.

To run this the scripts that this template uses, you'll need to install Packer and create a DigitalOcean personal access token and then add the token in the variables.json.

cp variables.sample.json variables.json
# add token to variables.json

and then run

packer build -var-file=variables.json template.json

It will do the following:

  • Create a build droplet.
  • Clean and verify the droplet.
  • Shut down and snapshot the droplet.

do-marketplace's People

Contributors

ashishra0 avatar coco98 avatar shahidhk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

do-marketplace's Issues

automate the build process

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.