Skip to content

Commit cd4a10e

Browse files
committed
add workflow for demo image, move dbt folder to demos, complete docs
1 parent 048ca60 commit cd4a10e

File tree

15 files changed

+104
-29
lines changed

15 files changed

+104
-29
lines changed

.github/workflows/dev_dbt.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Build and publish dbt-demo
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- main
9+
# TODO (@NickLarsenNZ): Also build on release branches, but with a stackable0.0.0-dev or stackableXX.X.X tag.
10+
# - release-*
11+
paths:
12+
- demos/airflow-scheduled-job/dbt/Dockerfile
13+
- demos/airflow-scheduled-job/dbt/requirements.txt
14+
- .github/workflows/dev_dbt.yaml
15+
16+
jobs:
17+
build_image:
18+
name: Reusable Workflow
19+
uses: ./.github/workflows/reusable_build_image.yaml
20+
secrets:
21+
harbor-robot-secret: ${{ secrets.HARBOR_ROBOT_DEMOS_GITHUB_ACTION_BUILD_SECRET }}
22+
slack-token: ${{ secrets.SLACK_CONTAINER_IMAGE_TOKEN }}
23+
with:
24+
image-name: dbt-demo
25+
# TODO (@NickLarsenNZ): Use a versioned image with stackable0.0.0-dev or stackableXX.X.X so that
26+
# the demo is reproducable for the release and it will be automatically replaced for the release branch.
27+
image-version: 0.0.1
28+
containerfile-path: demos/airflow-scheduled-job/dbt/Dockerfile
File renamed without changes.
File renamed without changes.

stacks/airflow/dbt/dbt_test/macros/id_in_range.sql renamed to demos/airflow-scheduled-job/dbt/dbt_test/macros/id_in_range.sql

File renamed without changes.

stacks/airflow/dbt/dbt_test/models/my_table.sql renamed to demos/airflow-scheduled-job/dbt/dbt_test/models/my_table.sql

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
969 KB
Loading

0 commit comments

Comments
 (0)