tinybird 0.0.1.dev307__tar.gz → 0.0.1.dev309__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.
Potentially problematic release.
This version of tinybird might be problematic. Click here for more details.
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/build.py +29 -7
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/build_common.py +4 -2
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datasource.py +393 -306
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/setup.cfg +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/datafile/common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/datafile/parse_connection.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/service_datasources.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/check_pypi.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/client.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/config.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/__init__.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/agent.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/animations.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/banner.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/command_agent.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/compactor.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/explore_agent.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/file_agent.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/memory.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/mock_agent.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/models.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/prompts.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/testing_agent.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/__init__.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/analyze.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/append.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/build.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/datafile.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/deploy.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/deploy_check.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/diff_resource.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/execute_query.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/file.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/get_endpoint_stats.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/get_openapi_definition.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/mock.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/plan.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/request_endpoint.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/run_command.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/secret.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/tools/test.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/agent/utils.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/deployment_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/deprecations.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/dev_server.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/environment.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/info.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/infra.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/local.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/login_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/logout.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/materialization.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/mock_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/open.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/project.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/secret.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/secret_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/sink.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/test_common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev307 → tinybird-0.0.1.dev309}/tinybird.egg-info/top_level.txt +0 -0
|
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
|
|
|
4
4
|
__url__ = 'https://www.tinybird.co/docs/forward/commands'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '0.0.1.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '0.0.1.dev309'
|
|
8
|
+
__revision__ = '8448176'
|
|
@@ -35,9 +35,10 @@ def build(ctx: click.Context, watch: bool) -> None:
|
|
|
35
35
|
project: Project = ctx.ensure_object(dict)["project"]
|
|
36
36
|
tb_client: TinyB = ctx.ensure_object(dict)["client"]
|
|
37
37
|
config: Dict[str, Any] = ctx.ensure_object(dict)["config"]
|
|
38
|
+
is_environment = bool(ctx.ensure_object(dict)["environment"])
|
|
38
39
|
|
|
39
40
|
# TODO: Explain that you can use custom environments too once they are open for everyone
|
|
40
|
-
if obj["env"] == "cloud" and not
|
|
41
|
+
if obj["env"] == "cloud" and not is_environment:
|
|
41
42
|
raise click.ClickException(FeedbackManager.error_build_only_supported_in_local())
|
|
42
43
|
|
|
43
44
|
if project.has_deeper_level():
|
|
@@ -50,13 +51,20 @@ def build(ctx: click.Context, watch: bool) -> None:
|
|
|
50
51
|
)
|
|
51
52
|
|
|
52
53
|
click.echo(FeedbackManager.highlight_building_project())
|
|
53
|
-
process(project=project, tb_client=tb_client, watch=False, config=config)
|
|
54
|
+
process(project=project, tb_client=tb_client, watch=False, config=config, is_environment=is_environment)
|
|
54
55
|
if watch:
|
|
55
56
|
run_watch(
|
|
56
57
|
project=project,
|
|
57
58
|
tb_client=tb_client,
|
|
58
59
|
config=config,
|
|
59
|
-
process=partial(
|
|
60
|
+
process=partial(
|
|
61
|
+
process,
|
|
62
|
+
project=project,
|
|
63
|
+
tb_client=tb_client,
|
|
64
|
+
watch=True,
|
|
65
|
+
config=config,
|
|
66
|
+
is_environment=is_environment,
|
|
67
|
+
),
|
|
60
68
|
)
|
|
61
69
|
|
|
62
70
|
|
|
@@ -66,9 +74,9 @@ def build(ctx: click.Context, watch: bool) -> None:
|
|
|
66
74
|
@click.pass_context
|
|
67
75
|
def dev(ctx: click.Context, data_origin: str, ui: bool) -> None:
|
|
68
76
|
obj: Dict[str, Any] = ctx.ensure_object(dict)
|
|
69
|
-
|
|
77
|
+
is_environment = bool(ctx.ensure_object(dict)["environment"])
|
|
70
78
|
# TODO: Explain that you can use custom environments too once they are open for everyone
|
|
71
|
-
if obj["env"] == "cloud" and not
|
|
79
|
+
if obj["env"] == "cloud" and not is_environment:
|
|
72
80
|
raise click.ClickException(FeedbackManager.error_build_only_supported_in_local())
|
|
73
81
|
|
|
74
82
|
if data_origin == "cloud":
|
|
@@ -87,12 +95,26 @@ def dev(ctx: click.Context, data_origin: str, ui: bool) -> None:
|
|
|
87
95
|
time.sleep(0.5)
|
|
88
96
|
|
|
89
97
|
click.echo(FeedbackManager.highlight_building_project())
|
|
90
|
-
process(
|
|
98
|
+
process(
|
|
99
|
+
project=project,
|
|
100
|
+
tb_client=tb_client,
|
|
101
|
+
watch=True,
|
|
102
|
+
config=config,
|
|
103
|
+
build_status=build_status,
|
|
104
|
+
is_environment=is_environment,
|
|
105
|
+
)
|
|
91
106
|
run_watch(
|
|
92
107
|
project=project,
|
|
93
108
|
tb_client=tb_client,
|
|
94
109
|
config=config,
|
|
95
|
-
process=partial(
|
|
110
|
+
process=partial(
|
|
111
|
+
process,
|
|
112
|
+
project=project,
|
|
113
|
+
tb_client=tb_client,
|
|
114
|
+
build_status=build_status,
|
|
115
|
+
config=config,
|
|
116
|
+
is_environment=is_environment,
|
|
117
|
+
),
|
|
96
118
|
)
|
|
97
119
|
|
|
98
120
|
|
|
@@ -33,15 +33,17 @@ def process(
|
|
|
33
33
|
exit_on_error: bool = True,
|
|
34
34
|
load_fixtures: bool = True,
|
|
35
35
|
project_with_vendors: Optional[Project] = None,
|
|
36
|
+
is_environment: bool = False,
|
|
36
37
|
) -> Optional[str]:
|
|
37
38
|
time_start = time.time()
|
|
38
39
|
|
|
39
40
|
# Build vendored workspaces before build
|
|
40
|
-
if not project_with_vendors:
|
|
41
|
+
if not project_with_vendors and not is_environment:
|
|
41
42
|
build_vendored_workspaces(project=project, tb_client=tb_client, config=config)
|
|
42
43
|
|
|
43
44
|
# Ensure SHARED_WITH workspaces exist before build
|
|
44
|
-
|
|
45
|
+
if not is_environment:
|
|
46
|
+
build_shared_with_workspaces(project=project, tb_client=tb_client, config=config)
|
|
45
47
|
|
|
46
48
|
build_failed = False
|
|
47
49
|
build_error: Optional[str] = None
|