Skip to content

Commit aa15fac

Browse files
committed
add to main README
1 parent baef6fb commit aa15fac

File tree

3 files changed

+35
-5
lines changed

3 files changed

+35
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This repository contains all the use cases you can iterate with Versions:
2323
- [Create a Materialized View with batch ingest](create_a_materialized_view_batch_ingest)
2424
- [Delete simple resource](delete_simple_resource)
2525
- [Iterating an API Endpoint](iterating_api_endpoint)
26+
- [Iterating a Snowflake Data Source](iterate_snowflake)
2627
- [Recover data from quarantine](recover_data_from_quarantine)
2728
- [Remove column from landing Data Source](remove_column_landing_data_source)
2829
- [Use new columns from a Shared Data Source](use_new_columns_from_shared_datasource)

iterate_snowflake/.tinyenv

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
1-
VERSION=0.0.2
1+
# VERSION format is major.minor.patch-post where major, minor, patch and post are integer numbers
2+
# bump post to deploy to the current live Release, rollback to previous post version is not available
3+
# bump patch or minor to deploy a new Release and auto-promote it to live. Add TB_AUTO_PROMOTE=0 to create the Release in preview status
4+
# bump major to deploy a new Release in preview status
5+
VERSION=0.0.0
6+
7+
8+
9+
##########
10+
# OPTIONAL env vars
11+
# Deploy a new Release in preview status (default is 1)
12+
# TB_AUTO_PROMOTE=0
13+
14+
# Check if deploy requires backfilling on preview (default is 1)
15+
# TB_CHECK_BACKFILL_REQUIRED=0
16+
17+
# Force old Releases deletion on promote (default is 0)
18+
# Setting it to 1 will remove oldest rollback Releases even when some resource is still in use
19+
# TB_FORCE_REMOVE_OLDEST_ROLLBACK=0
20+
21+
# Don't print CLI version warning message if there's a new available version
22+
# TB_VERSION_WARNING=0
23+
24+
# Skip regression tests
25+
# TB_SKIP_REGRESSION=0
26+
27+
# Use `OBFUSCATE_REGEX_PATTERN` and `OBFUSCATE_PATTERN_SEPARATOR` environment variables to define a regex pattern and a separator (in case of a single string with multiple regex) to obfuscate secrets in the CLI output.
28+
# OBFUSCATE_REGEX_PATTERN="https://(www\.)?[^/]+||^Follow these instructions =>"
29+
# OBFUSCATE_PATTERN_SEPARATOR=||
30+
##########

iterate_snowflake/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ First of all, you must connect your Tinybird workspace with your Git repository
77
- Create the Snowflake Connection in your main tinybird workspace using Tinybird CLI, as explain in the [iteration documentation](https://www.tinybird.co/docs/ingest/snowflake). Snowflake connections reside always in the main branch.
88
- Create a new git branch
99
- Create a new Snowflake .datasource data file in the branch, as in the example PR. You shouldn't need fixtures as the Data Source will be populated from the connection, but you can add fixtures and/or tests if needed.
10-
- For information abount Snowflake options read the [connector documentation](https://www.tinybird.co/docs/ingest/snowflake)
11-
- Commit an create a new PR/MR from the branch to `main`
10+
- For information about Snowflake options read the [connector documentation](https://www.tinybird.co/docs/ingest/snowflake)
11+
- Commit your code and create a new PR/MR from the branch to `main`
1212
- Wait for CI. You can check in the temporary workspace branch (automatically created and named like `tmp_ci_*`) that everything works as expected.
1313
- Merge and wait for CD. Now you should have your Data Source in the main workspace, using the connection, and the temporary CI branch will be deleted.
1414

@@ -19,7 +19,7 @@ First of all, you must connect your Tinybird workspace with your Git repository
1919

2020
- Create another git branch
2121
- Add the new column to the schema and query
22-
- Commit and create an ew PR from the branch to `main`
22+
- Commit your code and create an ew PR from the branch to `main`
2323
- Wait for CI to finish. You can check in the temporary workspace branch (automatically created and named like `tmp_ci_*`) that everything works as expected.
2424
- Merge and wait for CD. Now you should have your Data Source updated in the main workspace, using the connection, and the temporary CI branch will be deleted.
2525

@@ -29,7 +29,7 @@ First of all, you must connect your Tinybird workspace with your Git repository
2929

3030
- Create another git branch
3131
- Remove the .datasource data file
32-
- Commit and create an ew PR from the branch to `main`
32+
- Commit your code and create an ew PR from the branch to `main`
3333
- Wait for CI to finish. You can check in the temporary workspace branch (automatically created and named like `tmp_ci_*`) that everything works as expected.
3434
- Merge and wait for CD. Now you should have your Data Source updated in the main workspace, using the connection, and the temporary CI branch will be deleted.
3535

0 commit comments

Comments
 (0)