Skip to content

Commit

Permalink
Merge pull request #4 from FlipsideCrypto/workflow_deployment
Browse files Browse the repository at this point in the history
added GHA models
  • Loading branch information
mrstepanovic authored Oct 15, 2024
2 parents 4b71ba7 + 2f6af60 commit dbf1fbc
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions models/github_actions/github_actions__current_task_status.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{{ config(
materialized = 'view',
tags = ['gha_tasks']
) }}

{{ fsc_utils.gha_task_current_status_view() }}
16 changes: 16 additions & 0 deletions models/github_actions/github_actions__current_task_status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
models:
- name: github_actions__current_task_status
columns:
- name: PIPELINE_ACTIVE
tests:
- dbt_expectations.expect_column_values_to_be_in_set:
value_set:
- TRUE
- name: SUCCESSES
tests:
- dbt_expectations.expect_column_values_to_be_in_set:
value_set:
- 2
config:
severity: warn
5 changes: 5 additions & 0 deletions models/github_actions/github_actions__task_history.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ config(
materialized = 'view'
) }}

{{ fsc_utils.gha_task_history_view() }}
5 changes: 5 additions & 0 deletions models/github_actions/github_actions__task_performance.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ config(
materialized = 'view'
) }}

{{ fsc_utils.gha_task_performance_view() }}
5 changes: 5 additions & 0 deletions models/github_actions/github_actions__task_schedule.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ config(
materialized = 'view'
) }}

{{ fsc_utils.gha_task_schedule_view() }}
5 changes: 5 additions & 0 deletions models/github_actions/github_actions__tasks.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ config(
materialized = 'view'
) }}

{{ fsc_utils.gha_tasks_view() }}

0 comments on commit dbf1fbc

Please sign in to comment.