@tdk-landscape/tdk-cli-core 1.3.153 → 1.3.155
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.
- package/cli/dist/commands/completion.js +2 -0
- package/cli/dist/commands/help.js +2 -1
- package/cli/dist/commands/ui.js +7 -5
- package/cli/dist/commands/upgrade.js +188 -12
- package/cli/dist/utils/which.js +29 -0
- package/cli/dist-bundle/chunk-XTSHWDDE.js +322 -0
- package/cli/dist-bundle/cli.js +271 -260
- package/cli/dist-bundle/{cold-preflight-PJM2A7ZF.js → cold-preflight-3RDK76RY.js} +1 -1
- package/cli/package.json +1 -1
- package/engine/topologies/platform/docker/compose/traefik_standalone.star +9 -3
- package/package.json +1 -1
- package/cli/dist-bundle/chunk-WD6JF6WR.js +0 -322
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{createRequire as __tdkRequire}from'node:module';const require=__tdkRequire(import.meta.url);
|
|
2
|
-
import{
|
|
2
|
+
import{ub as a,vb as b,wb as c,xb as d,yb as e}from"./chunk-XTSHWDDE.js";import"./chunk-42IVF3YT.js";import"./chunk-6EA4DGCY.js";export{e as assertMachineReadyOrExit,d as formatColdPreflight,a as nodeTooOld,b as requireVerifiedDockerVersions,c as runColdPreflight};
|
package/cli/package.json
CHANGED
|
@@ -22,6 +22,8 @@ def generate_standalone_traefik_compose(sablier_enabled = False, http_host_port
|
|
|
22
22
|
"""
|
|
23
23
|
network = PlatformDockerConstants.NETWORK_TRAEFIK_PUBLIC
|
|
24
24
|
name = PlatformDockerConstants.PROJECT_NAME
|
|
25
|
+
log_level = "DEBUG" if sablier_enabled else "INFO"
|
|
26
|
+
plugins_volume = " - plugins-storage:/plugins-storage\n" if sablier_enabled else ""
|
|
25
27
|
return """###############################################################################
|
|
26
28
|
# SYSTEM-GENERATED - DO NOT EDIT
|
|
27
29
|
# Standalone Traefik for TDK projects without platform/introvertic proxy files.
|
|
@@ -29,7 +31,7 @@ def generate_standalone_traefik_compose(sablier_enabled = False, http_host_port
|
|
|
29
31
|
|
|
30
32
|
services:
|
|
31
33
|
traefik:
|
|
32
|
-
image: traefik:v3.
|
|
34
|
+
image: traefik:v3.7.14
|
|
33
35
|
container_name: {name}_traefik
|
|
34
36
|
restart: unless-stopped
|
|
35
37
|
{traefik_depends_on} command:
|
|
@@ -47,14 +49,14 @@ services:
|
|
|
47
49
|
- "--providers.file.watch=true"
|
|
48
50
|
- "--entrypoints.web.address=:80"
|
|
49
51
|
- "--entrypoints.websecure.address=:443"
|
|
50
|
-
- "--log.level=
|
|
52
|
+
- "--log.level={log_level}"
|
|
51
53
|
{sablier_flags} ports:
|
|
52
54
|
- "{bind_address}:{http_host_port}:80"
|
|
53
55
|
- "{bind_address}:{https_host_port}:443"
|
|
54
56
|
volumes:
|
|
55
57
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
56
58
|
- ./{dynamic_dir_name}:/etc/traefik/dynamic:ro
|
|
57
|
-
networks:
|
|
59
|
+
{plugins_volume} networks:
|
|
58
60
|
- traefik-public
|
|
59
61
|
healthcheck:
|
|
60
62
|
test: ["CMD", "traefik", "healthcheck", "--ping"]
|
|
@@ -63,6 +65,8 @@ services:
|
|
|
63
65
|
traefik-public:
|
|
64
66
|
name: {network}
|
|
65
67
|
external: true
|
|
68
|
+
volumes:
|
|
69
|
+
plugins-storage:
|
|
66
70
|
""".format(
|
|
67
71
|
name=name,
|
|
68
72
|
network=network,
|
|
@@ -86,6 +90,8 @@ services:
|
|
|
86
90
|
gateway_port=PlatformDockerConstants.TRAEFIK_WAKE_GATEWAY_PORT,
|
|
87
91
|
tilt_dev_dir=os.environ.get("HOME", "") + "/.tilt-dev",
|
|
88
92
|
project_root_mount=_project_root_mount(),
|
|
93
|
+
log_level=log_level,
|
|
94
|
+
plugins_volume=plugins_volume,
|
|
89
95
|
)
|
|
90
96
|
|
|
91
97
|
|