-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing Matrix options for scenarios
- Loading branch information
1 parent
151ea37
commit 8655a50
Showing
22 changed files
with
114 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...tibike/V1.1__initial_database_objects.sql → ...e_demo/V1.1__initial_database_objects.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
demo/citibike/V1.2__load_tables_from_s3.sql → ...tibike_demo/V1.2__load_tables_from_s3.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
config-version: 1 | ||
|
||
root-folder: ./demo/{{ env_var('SCENARIO_NAME')}} | ||
|
||
snowflake-user: {{ env_var('SNOWFLAKE_USER')}} | ||
snowflake-account: {{ env_var('SNOWFLAKE_ACCOUNT')}} | ||
snowflake-role: {{ env_var('SNOWFLAKE_ROLE')}} | ||
snowflake-warehouse: {{ env_var('SNOWFLAKE_WAREHOUSE')}} | ||
snowflake-database: {{ env_var('SNOWFLAKE_DATABASE')}} | ||
snowflake-schema: {{ env_var('MY_TARGET_SCHEMA')}} | ||
change-history-table: "{{ env_var('SNOWFLAKE_DATABASE')}}.{{ env_var('MY_TARGET_SCHEMA')}}.CHANGE_HISTORY" | ||
create-change-history-table: true | ||
|
||
vars: | ||
database_name: {{env_var('SNOWFLAKE_DATABASE')}} | ||
schema_name: {{env_var('MY_TARGET_SCHEMA')}} | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
config-version: 1 | ||
|
||
root-folder: ./demo/{{ env_var('SCENARIO_NAME')}}/scripts | ||
modules-folder: ./demo/{{ env_var('SCENARIO_NAME')}}/modules | ||
|
||
snowflake-user: {{ env_var('SNOWFLAKE_USER')}} | ||
snowflake-account: {{ env_var('SNOWFLAKE_ACCOUNT')}} | ||
snowflake-role: {{ env_var('SNOWFLAKE_ROLE')}} | ||
snowflake-warehouse: {{ env_var('SNOWFLAKE_WAREHOUSE')}} | ||
snowflake-database: {{ env_var('SNOWFLAKE_DATABASE')}} | ||
snowflake-schema: {{ env_var('MY_TARGET_SCHEMA')}} | ||
change-history-table: "{{ env_var('SNOWFLAKE_DATABASE')}}.{{ env_var('MY_TARGET_SCHEMA')}}.CHANGE_HISTORY" | ||
create-change-history-table: true | ||
|
||
vars: | ||
database_name: {{env_var('SNOWFLAKE_DATABASE')}} | ||
schema_name: {{env_var('MY_TARGET_SCHEMA')}} | ||
secrets: | ||
# not a good example of secrets, just here to demo the secret filtering | ||
trips_s3_bucket: s3://snowflake-workshop-lab/citibike-trips | ||
weather_s3_bucket: s3://snowflake-workshop-lab/weather-nyc | ||
|
||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
config-version: 1 | ||
|
||
root-folder: ./demo/setup/{{ env_var('SCENARIO_NAME')}} | ||
|
||
snowflake-user: {{ env_var('SNOWFLAKE_USER')}} | ||
snowflake-account: {{ env_var('SNOWFLAKE_ACCOUNT')}} | ||
snowflake-role: {{ env_var('SNOWFLAKE_ROLE')}} | ||
snowflake-warehouse: {{ env_var('SNOWFLAKE_WAREHOUSE')}} | ||
snowflake-database: {{ env_var('SNOWFLAKE_DATABASE')}} | ||
# tracking the setup step in a different change history table to use schemachange setup and teardown separate from deployment. | ||
change-history-table: "{{ env_var('SNOWFLAKE_DATABASE')}}.SCHEMACHANGE.{{ env_var('SCENARIO_NAME')}}_CHANGE_HISTORY" | ||
create-change-history-table: true | ||
|
||
vars: | ||
database_name: {{env_var('SNOWFLAKE_DATABASE')}} | ||
schema_name: {{env_var('MY_TARGET_SCHEMA')}} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
config-version: 1 | ||
|
||
root-folder: ./demo/setup/{{ env_var('SCENARIO_NAME')}} | ||
|
||
snowflake-user: {{ env_var('SNOWFLAKE_USER')}} | ||
snowflake-account: {{ env_var('SNOWFLAKE_ACCOUNT')}} | ||
snowflake-role: {{ env_var('SNOWFLAKE_ROLE')}} | ||
snowflake-warehouse: {{ env_var('SNOWFLAKE_WAREHOUSE')}} | ||
snowflake-database: {{ env_var('SNOWFLAKE_DATABASE')}} | ||
# tracking the setup step in a different change history table to use schemachange setup and teardown separate from deployment. | ||
change-history-table: "{{ env_var('SNOWFLAKE_DATABASE')}}.SCHEMACHANGE.{{ env_var('SCENARIO_NAME')}}_CHANGE_HISTORY" | ||
create-change-history-table: true | ||
|
||
vars: | ||
database_name: {{env_var('SNOWFLAKE_DATABASE')}} | ||
schema_name: {{env_var('MY_TARGET_SCHEMA')}} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
config-version: 1 | ||
|
||
root-folder: ./demo/teardown/{{ env_var('SCENARIO_NAME')}} | ||
|
||
snowflake-user: {{ env_var('SNOWFLAKE_USER')}} | ||
snowflake-account: {{ env_var('SNOWFLAKE_ACCOUNT')}} | ||
snowflake-role: {{ env_var('SNOWFLAKE_ROLE')}} | ||
snowflake-warehouse: {{ env_var('SNOWFLAKE_WAREHOUSE')}} | ||
snowflake-database: {{ env_var('SNOWFLAKE_DATABASE')}} | ||
# tracking the setup step in a different change history table to use schemachange setup and teardown separate from deployment. | ||
change-history-table: "{{ env_var('SNOWFLAKE_DATABASE')}}.SCHEMACHANGE.{{ env_var('SCENARIO_NAME')}}_CHANGE_HISTORY" | ||
create-change-history-table: true | ||
|
||
vars: | ||
database_name: {{env_var('SNOWFLAKE_DATABASE')}} | ||
schema_name: {{env_var('MY_TARGET_SCHEMA')}} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
config-version: 1 | ||
|
||
root-folder: ./demo/teardown/{{ env_var('SCENARIO_NAME')}} | ||
|
||
snowflake-user: {{ env_var('SNOWFLAKE_USER')}} | ||
snowflake-account: {{ env_var('SNOWFLAKE_ACCOUNT')}} | ||
snowflake-role: {{ env_var('SNOWFLAKE_ROLE')}} | ||
snowflake-warehouse: {{ env_var('SNOWFLAKE_WAREHOUSE')}} | ||
snowflake-database: {{ env_var('SNOWFLAKE_DATABASE')}} | ||
# tracking the setup step in a different change history table to use schemachange setup and teardown separate from deployment. | ||
change-history-table: "{{ env_var('SNOWFLAKE_DATABASE')}}.SCHEMACHANGE.{{ env_var('SCENARIO_NAME')}}_CHANGE_HISTORY" | ||
create-change-history-table: true | ||
|
||
vars: | ||
database_name: {{env_var('SNOWFLAKE_DATABASE')}} | ||
schema_name: {{env_var('MY_TARGET_SCHEMA')}} |