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

Allow for an ignore "Defaults" block in the YAML #142

Closed
wants to merge 2 commits into from

Conversation

rangerscience
Copy link

I'm managing multiple apps, and I want to be DRY, so I need a place to define some YAML nodes to then reference:

defaults:                      
  addons: &addons         
    pgbackups: plus            
    sendgrid: starter          
    papertrail: choklad        
    heroku-postgresql: dev     
  config: &config         
    BUNDLE_WITHOUT: "development:test"
    AWS_ACCESS_KEY_ID: 'key'
    AWS_SECRET_ACCESS_KEY: 'secret'

app1:
  stack: cedar
  app: awesome-app-the-first
  addons:
    <<: *addons
  config: 
    <<: *config
    DOMAIN: "awesome-app-the-first.herokuapp.com"
    AWS_BUCKET: 'bucket'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants