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

Runtime: shorthands for configuring "dev" and "prod" envs #4279

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Mar 8, 2024

  • This PR adds shorthands for configuring environment-specific overrides for the dev and prod environments.
  • This saves one level of nesting for configuring our two primary environments.
  • The shorthands work in both individual YAML files and for rill.yaml.
  • We still support the current env:environment_name: syntax. This keeps environment-specific overrides available for custom environments.

Examples:

# sources/my-source.yaml
connector: s3
path: s3://bucket/**/*.parquet
dev:
  path: s3://bucket/year=2024/month=01/**/*.parquet

# rill.yaml
prod:
  models:
    materialize: true

@begelundmuller begelundmuller self-assigned this Mar 8, 2024
@k-anshul k-anshul merged commit d94f001 into main Mar 11, 2024
4 checks passed
@k-anshul k-anshul deleted the begelundmuller/dev-prod-shorthands branch March 11, 2024 04:09
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