Skip to content

Commit dae992e

Browse files
committed
action demo
1 parent c3b49b7 commit dae992e

File tree

8 files changed

+30
-105
lines changed

8 files changed

+30
-105
lines changed
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to Snowflake with Titan
2+
on:
3+
push:
4+
branches: [ main ]
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
13+
- name: Deploy to Snowflake with Titan
14+
uses: Titan-Systems/titan-core-action@feature/config-path
15+
with:
16+
run-mode: 'create-or-update'
17+
resource-path: './infrastructure'
18+
allowlist: 'database,schema'
19+
dry-run: 'true'
20+
env:
21+
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
22+
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
23+
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
24+
SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}
25+
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}

Dockerfile

-9
This file was deleted.

action.yml

-17
This file was deleted.

infrastructure/.titanignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
not_titan.yml

infrastructure/not_titan.yml

Whitespace-only changes.

infrastructure/titan.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
databases:
2+
- titan_demo
3+
schemas:
4+
- titan_demo_schema

main.py

-77
This file was deleted.

requirements.txt

-2
This file was deleted.

0 commit comments

Comments
 (0)