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

Adding dbt slim CI job #60

Merged
merged 10 commits into from
Jan 19, 2024
Merged

Adding dbt slim CI job #60

merged 10 commits into from
Jan 19, 2024

Conversation

izzye84
Copy link
Collaborator

@izzye84 izzye84 commented Jan 12, 2024

Adding dbt slim CI functionality.

High level process:

  • Copy production manifest.json to S3

  • Created @op and @job to use dbt's state deferral syntax (e.g., dbt build --select state:modified+ --defer --state <path/to/prod_manifest.json> ), since assets don't currently support it

  • GitHub Action:

    • Reads production manifest.json from S3
    • Generates new manifest.json with code changes
    • Triggers op job above using the two manifests for comparison and only materialize new dbt models + downstream dependencies

@izzye84 izzye84 requested a review from slopp January 12, 2024 19:35
Copy link

github-actions bot commented Jan 12, 2024

Your pull request is automatically being deployed to Dagster Cloud.

Location Status Link Updated
snowflake_insights View in Cloud Jan 19, 2024 at 06:46 PM (UTC)
demo_assets View in Cloud Jan 19, 2024 at 06:46 PM (UTC)
data-eng-pipeline View in Cloud Jan 19, 2024 at 06:46 PM (UTC)
basics View in Cloud Jan 19, 2024 at 06:46 PM (UTC)
batch_enrichment View in Cloud Jan 19, 2024 at 06:46 PM (UTC)

@slopp slopp merged commit dfc145c into master Jan 19, 2024
1 check passed
@izzye84 izzye84 changed the title WIP adding dbt slim CI job Adding dbt slim CI job Jan 31, 2024
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