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

Plush fly.toml templates - POC #3542

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Plush fly.toml templates - POC #3542

wants to merge 2 commits into from

Commits on May 11, 2024

  1. Plush fly.toml templates - POC

    Highlights:
      * Plush templates
      * .env files
      * --env staging
    
    Details:
    
    To make use of Plush templates, rename `fly.toml` to `fly.toml.plush`.
    This prevents existing `fly.toml` files from being interpreted as
    templates, and enables additional. templating formats to be added later.
    
    We can provide predefined variables and functions to be referenced
    by templates.  Additionally, variables are loaded from `.env` files,
    the OS environment, and `--env` flags.
    
    More information on Plush can be found at:
    
    https://github.com/gobuffalo/plush?tab=readme-ov-file#plush
    
    ---
    
    Previously `--env` or `-e` is for environment variables, and required a syntax
    of name=value.  If only a name is provided, treat this as if `FLY_ENV=name` was
    specified instead.  Note that `FLY_ENV` can also be set as an environment
    variable.
    
    If `FLY_ENV` is set, `fly-${FLY_ENV}.toml` and `.env.${FLY_ENV}` will be used.
    rubys committed May 11, 2024
    Configuration menu
    Copy the full SHA
    2b45fb9 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. silence/placate deepsource

    rubys committed May 12, 2024
    Configuration menu
    Copy the full SHA
    fd30846 View commit details
    Browse the repository at this point in the history