Skip to content

Commit

Permalink
Ignore README file changes to trigger Workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tmathew committed Jun 2, 2024
1 parent 81cc5f0 commit 686376a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dev-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ on:
pull_request:
branches:
- "*"
paths-ignore:
- '**/README.md'

push:
paths-ignore:
- '**/README.md'
tags:
- "v*" # Push events to matching v*, i.e. v3.6.2, v4.0.0
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/master-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
push:
tags:
- "v*" # Push events to matching v*, i.e. v3.6.2, v4.0.0
branches:
- main
paths-ignore:
- '**/README.md'

jobs:
build:
Expand Down
12 changes: 6 additions & 6 deletions demo/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ The contents of this Demo serves two audiences - Consumers and Contributors. For
- You will need your own snowflake Account to test the Demo.
- You will need to review and run statements in the provision folder or setup your own database and schema.
- [initialize.sql](provision/initialize.sql): Contains the SQL variables to initialize your environment.
- [setup_schemachange_schema.sql](provision/setup_schemachange_schema.sql)
- [setup_schemachange_schema.sql](provision/setup_schemachange_schema.sql): Contains the SQL variables to track the individual demo scenarios in its own change history table.

### Contributors
As a contributor, you will have to set up scehamchange demo database and schemachange schema (See Initialize and Setup scripts below). Alongthen set up the following Secrets in your forked repository so that when the github actions tries
As a contributor, you will have to set up schemachange demo database and schemachange schema (See Initialize and Setup scripts below). Along with that you will also set up the following Secrets in your forked repository so that when the github actions can setup, test and teardown the temporary schema it creates to test the changes to your code.
- SCHEMACHANGE_SNOWFLAKE_PASSWORD
- SCHEMACHANGE_SNOWFLAKE_USER
- SCHEMACHANGE_SNOWFLAKE_ACCOUNT

### Consumers
- If you are consumer who is installing schemachange and wants to test-run the demo, then you will have to set the following environment variables.
- SNOWFLAKE_ACCOUNT
- SNOWFLAKE_USER
- SNOWFLAKE_PASSWORD
- SCENARIO_NAME
- SNOWFLAKE_ACCOUNT: This will be the account identifier for your snowflake account.
- SNOWFLAKE_USER: This will be the user that will connect to you snowflake account.
- SNOWFLAKE_PASSWORD: This is the password for the user (SNOWFLAKE_USER) that will connect to the snowflake account.
- SCENARIO_NAME: This will be demo folder you intend to experiment with. For starters, `basics_demo`, `citibike_demo` or `citibike_demo_jinja` are included with the repo that will set the root folder value in the respective schemachange-config.yml file.
- SNOWFLAKE_WAREHOUSE Keyed to SCHEMACHANGE_DEMO_WH
- SNOWFLAKE_DATABASE Keyed to SCHEMACHANGE_DEMO
- SNOWFLAKE_ROLE Keyed to SCHEMACHANGE_DEMO_DEPLOY
Expand Down

0 comments on commit 686376a

Please sign in to comment.