Skip to content

Instantly share code, notes, and snippets.

@thsig
thsig / db-migrate.txt
Created April 5, 2019 14:50
Rails example - running rake db:migrate inside a container
$ garden run task db-migrate
Running task db-migrate 🏃
✔ frontend → Getting build status... → Done (took 0.6 sec)
✔ postgres → Getting build status... → Done (took 0.6 sec)
✔ postgres → Checking status... → Version v-4bf9f73668 already deployed
✔ db-migrate → Running → Done (took 4.2 sec)
(0.5ms) SELECT pg_try_advisory_lock(737815420147457505)
↳ /usr/local/bundle/bin/rake:23
@thsig
thsig / project-config.yml
Created April 8, 2019 12:13
Rails example - project config
kind: Project
name: vote-rails
environments:
- name: local
providers:
- name: local-kubernetes
@thsig
thsig / frontend-garden.yml
Last active April 9, 2019 15:08
Rails example - config for frontend service
kind: Module
type: container
name: frontend
description: Front-end Rails service
...
@thsig
thsig / release-notes.md
Last active May 23, 2023 12:26
Draft release notes for Bonsai

Garden Bonsai (0.13) has been released!

This is a big new release, and we've been hard at work on it for several months. The main pieces are:

  • Actions. Backwards-comatible with modules, these are a simpler and more flexible way to describe your dev workflows.
  • An improved CLI experience. This includes a reimagined interactive dev command.
  • Start/stop code syncing without redeploying. The sync start & sync stop commands give you finer-grained control over code syncing.
  • Re-run tests and scripts without rebuilding. The inner loop of development just got even faster.

Below, we dive into these in a more detail.