tinybird-cli 3.3.1.dev3__tar.gz → 3.3.1.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/PKG-INFO +8 -2
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/__cli__.py +2 -2
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/cicd.py +29 -9
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/PKG-INFO +8 -2
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/setup.cfg +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/check_pypi.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/client.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/config.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/connector_settings.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/connectors.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/context.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/data_connectors/credentials.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/datafile.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/datatypes.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/feedback_manager.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/git_settings.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/sql.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/sql_template.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/sql_toolset.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/syncasync.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/token.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tornado_template.py +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/SOURCES.txt +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/dependency_links.txt +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/entry_points.txt +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/requires.txt +0 -0
- {tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tinybird-cli
|
|
3
|
-
Version: 3.3.1.
|
|
3
|
+
Version: 3.3.1.dev4
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://docs.tinybird.co/cli.html
|
|
6
6
|
Author: Tinybird
|
|
@@ -19,6 +19,12 @@ Changelog
|
|
|
19
19
|
|
|
20
20
|
---------
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
3.3.1.dev4
|
|
24
|
+
***********
|
|
25
|
+
|
|
26
|
+
- `Changed` script `exec_test.sh` from `tb init --git` to run retries to avoid flakiness in tests
|
|
27
|
+
|
|
22
28
|
3.3.1.dev3
|
|
23
29
|
***********
|
|
24
30
|
|
|
@@ -27,7 +33,7 @@ Changelog
|
|
|
27
33
|
3.3.1.dev2
|
|
28
34
|
***********
|
|
29
35
|
|
|
30
|
-
- `Changed` Update `tb release rm --oldest-rollback` to use new
|
|
36
|
+
- `Changed` Update `tb release rm --oldest-rollback` to use new API
|
|
31
37
|
|
|
32
38
|
3.3.1.dev1
|
|
33
39
|
************
|
|
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
|
|
|
4
4
|
__url__ = 'https://docs.tinybird.co/cli.html'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '3.3.1.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '3.3.1.dev4'
|
|
8
|
+
__revision__ = '4ea51cf'
|
|
@@ -221,23 +221,43 @@ run_test() {
|
|
|
221
221
|
fi
|
|
222
222
|
echo "** $(cat $t)"
|
|
223
223
|
tmpfile=$(mktemp)
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
224
|
+
retries=0
|
|
225
|
+
TOTAL_RETRIES=3
|
|
226
|
+
|
|
227
|
+
# When appending fixtures, we need to retry in case of the data is not replicated in time
|
|
228
|
+
while [ $retries -lt $TOTAL_RETRIES ]; do
|
|
229
|
+
# Run the test and store the output in a temporary file
|
|
230
|
+
bash $t $2 >$tmpfile
|
|
231
|
+
exit_code=$?
|
|
232
|
+
if [ "$exit_code" -eq 0 ]; then
|
|
233
|
+
# If the test passed, break the loop
|
|
234
|
+
if diff -B ${t}.result $tmpfile >/dev/null 2>&1; then
|
|
235
|
+
break
|
|
236
|
+
# If the test failed, increment the retries counter and try again
|
|
237
|
+
else
|
|
238
|
+
retries=$((retries+1))
|
|
239
|
+
fi
|
|
240
|
+
# If the bash command failed, print an error message and break the loop
|
|
227
241
|
else
|
|
228
|
-
|
|
229
|
-
diff -B ${t}.result $tmpfile
|
|
230
|
-
cat $tmpfile
|
|
231
|
-
rm $tmpfile
|
|
232
|
-
return 1
|
|
242
|
+
break
|
|
233
243
|
fi
|
|
244
|
+
done
|
|
245
|
+
|
|
246
|
+
if diff -B ${t}.result $tmpfile >/dev/null 2>&1; then
|
|
247
|
+
echo "✅ Test $t passed"
|
|
248
|
+
rm $tmpfile
|
|
249
|
+
return 0
|
|
250
|
+
elif [ $retries -eq $TOTAL_RETRIES ]; then
|
|
251
|
+
echo "🚨 ERROR: Test $t failed, diff:";
|
|
252
|
+
diff -B ${t}.result $tmpfile
|
|
253
|
+
rm $tmpfile
|
|
254
|
+
return 1
|
|
234
255
|
else
|
|
235
256
|
echo "🚨 ERROR: Test $t failed with bash command exit code $?"
|
|
236
257
|
cat $tmpfile
|
|
237
258
|
rm $tmpfile
|
|
238
259
|
return 1
|
|
239
260
|
fi
|
|
240
|
-
rm $tmpfile
|
|
241
261
|
echo ""
|
|
242
262
|
}
|
|
243
263
|
export -f run_test
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tinybird-cli
|
|
3
|
-
Version: 3.3.1.
|
|
3
|
+
Version: 3.3.1.dev4
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://docs.tinybird.co/cli.html
|
|
6
6
|
Author: Tinybird
|
|
@@ -19,6 +19,12 @@ Changelog
|
|
|
19
19
|
|
|
20
20
|
---------
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
3.3.1.dev4
|
|
24
|
+
***********
|
|
25
|
+
|
|
26
|
+
- `Changed` script `exec_test.sh` from `tb init --git` to run retries to avoid flakiness in tests
|
|
27
|
+
|
|
22
28
|
3.3.1.dev3
|
|
23
29
|
***********
|
|
24
30
|
|
|
@@ -27,7 +33,7 @@ Changelog
|
|
|
27
33
|
3.3.1.dev2
|
|
28
34
|
***********
|
|
29
35
|
|
|
30
|
-
- `Changed` Update `tb release rm --oldest-rollback` to use new
|
|
36
|
+
- `Changed` Update `tb release rm --oldest-rollback` to use new API
|
|
31
37
|
|
|
32
38
|
3.3.1.dev1
|
|
33
39
|
************
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/tinyunit/tinyunit.py
RENAMED
|
File without changes
|
{tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird/tb_cli_modules/workspace_members.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-cli-3.3.1.dev3 → tinybird-cli-3.3.1.dev4}/tinybird_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|