actions-example-gke-rails icon indicating copy to clipboard operation
actions-example-gke-rails copied to clipboard

Deploys a Dockerized Rails app to Kubernetes on Google, using GitHub Actions and Pulumi

Ruby on Rails App with GitHub Actions and Pulumi ⚡️

A simple Ruby on Rails App, deployed to Kubernetes using GitHub Actions and Pulumi! ☁️

This leverages Pulumi's GitHub Actions support for deploying any cloud application and infrastructure to your cloud of choice. In this particular example, we're deploying to Google Cloud Platform, but it supports AWS, Azure, and even on-premises too. Read more on pulumi.io's GitHub Actions Getting Started page.

Architecture

This architecture includes the following major components

Running the Example

To use this, simply perform these steps:

  1. Make a copy of this repo (while GitHub Actions are in private beta, it must be private).
  2. Register for Pulumi, and download the CLI.
  3. Run pulumi stack init to create a new stack which we'll deploy into, and then configure it.
  4. Configure your PULUMI_ACCESS_TOKEN and GOOGLE_CREDENTIALS, per the instructions over on pulumi.io.

Commit or open a PR, and watch GitHub Actions plus Pulumi work its magic! ✨