@tsplc/build 0.2.20 → 0.3.0
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/README.md +2 -2
- package/dist/cli.js +1052 -836
- package/dist/cli.js.map +27 -24
- package/dist/images.js +165 -0
- package/dist/images.js.map +12 -0
- package/dist/index.js +888 -668
- package/dist/index.js.map +23 -20
- package/dist/libraries.js +4 -3
- package/dist/libraries.js.map +3 -3
- package/docker/Dockerfile.dockerignore +0 -4
- package/docker/Dockerfile.source +5 -0
- package/docker/build-image +30 -26
- package/docker/config.ts +1 -1
- package/docker/install/wine-signal/README.md +1 -1
- package/docker/runner.ts +9 -7
- package/package.json +24 -8
- package/python/build.py +231 -20
- package/python/codesys_online.py +121 -10
- package/python/worker.py +2 -0
- package/src/artifacts.ts +9 -7
- package/src/build.ts +9 -4
- package/src/cli.ts +11 -20
- package/src/controller-online.ts +145 -61
- package/src/controller-protocol.ts +48 -5
- package/src/controller-session.ts +386 -147
- package/src/device-tree.ts +1 -1
- package/src/docker-build.ts +80 -98
- package/src/docker-context.ts +56 -3
- package/src/docker-run.ts +56 -3
- package/src/engineering-settings.ts +3 -3
- package/src/host/codesys-host.ts +3 -3
- package/src/host/codesys-worker.ts +77 -3
- package/src/images.ts +105 -0
- package/src/import-request.ts +1 -0
- package/src/index.ts +30 -16
- package/src/io.ts +1 -1
- package/src/libraries.ts +3 -2
- package/src/project-operations.ts +48 -0
- package/src/run.ts +9 -6
- package/src/sources.ts +2 -2
- package/docker/install/wine-signal/check.sh +0 -34
- package/docker/install/wine-signal/tests/avx-registers.c +0 -53
- package/docker/install/wine-signal/tests/frame-and-handler.c +0 -192
- package/docker/install/wine-signal/tests/loader-i386.c +0 -8
- package/docker/install/wine-signal/tests/signal-return.c +0 -47
- package/python/test_build.py +0 -579
- package/python/test_codesys_login.py +0 -139
- package/python/test_codesys_online.py +0 -259
- package/python/test_installer_packages.py +0 -217
- package/python/test_installer_verification.py +0 -307
- package/python/test_worker.py +0 -154
package/dist/images.js
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
// packages/build/src/images.ts
|
|
2
|
+
import { copyFile, cp as cp2, mkdir as mkdir2, mkdtemp as mkdtemp2, rm as rm2 } from "node:fs/promises";
|
|
3
|
+
import { tmpdir as tmpdir2 } from "node:os";
|
|
4
|
+
import { resolve as resolve3 } from "node:path";
|
|
5
|
+
import { dockerImage } from "@tsplc/config/build";
|
|
6
|
+
|
|
7
|
+
// packages/build/src/docker-context.ts
|
|
8
|
+
import { cp, mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
|
|
9
|
+
import { createRequire } from "node:module";
|
|
10
|
+
import { tmpdir } from "node:os";
|
|
11
|
+
import { basename, dirname, resolve as resolve2 } from "node:path";
|
|
12
|
+
import { z } from "zod";
|
|
13
|
+
|
|
14
|
+
// packages/build/src/package-path.ts
|
|
15
|
+
import { resolve } from "node:path";
|
|
16
|
+
import { fileURLToPath } from "node:url";
|
|
17
|
+
var packageDirectory = resolve(fileURLToPath(new URL("..", import.meta.url)));
|
|
18
|
+
|
|
19
|
+
// packages/build/src/docker-context.ts
|
|
20
|
+
var includeSource = (source) => {
|
|
21
|
+
const name = basename(source);
|
|
22
|
+
return name !== "__pycache__" && !name.endsWith(".pyc") && !name.endsWith(".test.ts") && !name.endsWith(".fixtures.ts") && !(name.startsWith("test_") && name.endsWith(".py"));
|
|
23
|
+
};
|
|
24
|
+
var containerPackages = [
|
|
25
|
+
{
|
|
26
|
+
entry: "@tsplc/config/build",
|
|
27
|
+
directory: "shared-config",
|
|
28
|
+
files: ["src", "templates", "package.json"]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
entry: "@tsplc/iec",
|
|
32
|
+
directory: "shared-iec",
|
|
33
|
+
files: ["src", "package.json"]
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
var manifestDependencies = z.object({
|
|
37
|
+
name: z.string(),
|
|
38
|
+
dependencies: z.record(z.string(), z.string()).default({})
|
|
39
|
+
});
|
|
40
|
+
function containerDependencies(manifests) {
|
|
41
|
+
const selected = new Map;
|
|
42
|
+
for (const manifest of manifests) {
|
|
43
|
+
for (const [name, version] of Object.entries(manifest.dependencies)) {
|
|
44
|
+
if (name.startsWith("@tsplc/")) {
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
const existing = selected.get(name);
|
|
48
|
+
if (existing && existing.version !== version) {
|
|
49
|
+
throw new Error(`The builder image cannot install ${name}: ${existing.owner} pins ${existing.version} and ${manifest.name} pins ${version}.`);
|
|
50
|
+
}
|
|
51
|
+
selected.set(name, { version, owner: manifest.name });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return Object.fromEntries([...selected].map(([name, { version }]) => [name, version]));
|
|
55
|
+
}
|
|
56
|
+
var readManifest = async (directory) => manifestDependencies.parse(JSON.parse(await readFile(resolve2(directory, "package.json"), "utf8")));
|
|
57
|
+
async function prepareDockerContext() {
|
|
58
|
+
const context = await mkdtemp(resolve2(tmpdir(), "tsplc-docker-"));
|
|
59
|
+
try {
|
|
60
|
+
for (const directory of ["src", "python", "docker", "runtime"]) {
|
|
61
|
+
await cp(resolve2(packageDirectory, directory), resolve2(context, directory), {
|
|
62
|
+
recursive: true,
|
|
63
|
+
filter: includeSource
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
const manifests = [await readManifest(packageDirectory)];
|
|
67
|
+
for (const { entry, directory, files } of containerPackages) {
|
|
68
|
+
const root = resolve2(dirname(createRequire(import.meta.url).resolve(entry)), "..");
|
|
69
|
+
manifests.push(await readManifest(root));
|
|
70
|
+
await mkdir(resolve2(context, directory));
|
|
71
|
+
for (const file of files) {
|
|
72
|
+
await cp(resolve2(root, file), resolve2(context, directory, file), {
|
|
73
|
+
recursive: true,
|
|
74
|
+
filter: includeSource
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
await writeFile(resolve2(context, "package.json"), JSON.stringify({
|
|
79
|
+
type: "module",
|
|
80
|
+
dependencies: containerDependencies(manifests)
|
|
81
|
+
}));
|
|
82
|
+
return context;
|
|
83
|
+
} catch (cause) {
|
|
84
|
+
await rm(context, { recursive: true, force: true });
|
|
85
|
+
throw cause;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// packages/build/src/images.ts
|
|
90
|
+
var builderImage = dockerImage;
|
|
91
|
+
var gatewayImage = "tsplc-edge-gateway:4.22.0.0";
|
|
92
|
+
var runtimeImage = "tsplc-control-linux-sl:4.22.0.0";
|
|
93
|
+
var publishedImage = (image, version) => `ghcr.io/rip-technologies/${image.split(":")[0]}:${version}`;
|
|
94
|
+
var setupPlatformFor = (server) => {
|
|
95
|
+
if (server === "linux/aarch64" || server === "linux/arm64") {
|
|
96
|
+
return "linux/arm64";
|
|
97
|
+
}
|
|
98
|
+
if (server === "linux/x86_64" || server === "linux/amd64") {
|
|
99
|
+
return "linux/amd64";
|
|
100
|
+
}
|
|
101
|
+
return null;
|
|
102
|
+
};
|
|
103
|
+
async function buildBuilderImage(options) {
|
|
104
|
+
const installerContext = await mkdtemp2(resolve3(tmpdir2(), "codesys-installer-"));
|
|
105
|
+
let context;
|
|
106
|
+
try {
|
|
107
|
+
context = await prepareDockerContext();
|
|
108
|
+
const cache = resolve3(installerContext, "winetricks");
|
|
109
|
+
await mkdir2(cache);
|
|
110
|
+
if (options.winetricksCache) {
|
|
111
|
+
await cp2(options.winetricksCache, cache, { recursive: true });
|
|
112
|
+
}
|
|
113
|
+
if (options.installer) {
|
|
114
|
+
await copyFile(options.installer, resolve3(installerContext, "codesys.exe"));
|
|
115
|
+
}
|
|
116
|
+
const arm = options.setupPlatform === "linux/arm64";
|
|
117
|
+
await options.docker([
|
|
118
|
+
"build",
|
|
119
|
+
"--platform",
|
|
120
|
+
"linux/amd64",
|
|
121
|
+
"--build-arg",
|
|
122
|
+
`SETUP_BASE=${arm ? "arm-setup" : "base"}`,
|
|
123
|
+
"--build-arg",
|
|
124
|
+
`SETUP_PLATFORM=${options.setupPlatform}`,
|
|
125
|
+
"--build-arg",
|
|
126
|
+
`INSTALLER_SOURCE=${options.installer ? "installer-local" : "installer-download"}`,
|
|
127
|
+
"--progress",
|
|
128
|
+
"plain",
|
|
129
|
+
"--build-context",
|
|
130
|
+
`installer=${installerContext}`,
|
|
131
|
+
"-f",
|
|
132
|
+
resolve3(context, "docker/Dockerfile"),
|
|
133
|
+
"-t",
|
|
134
|
+
options.tag,
|
|
135
|
+
context
|
|
136
|
+
]);
|
|
137
|
+
} finally {
|
|
138
|
+
await Promise.all([
|
|
139
|
+
rm2(installerContext, { recursive: true, force: true }),
|
|
140
|
+
...context ? [rm2(context, { recursive: true, force: true })] : []
|
|
141
|
+
]);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
var buildGatewayImage = (options) => options.docker([
|
|
145
|
+
"build",
|
|
146
|
+
"--platform",
|
|
147
|
+
"linux/amd64",
|
|
148
|
+
"--progress",
|
|
149
|
+
"plain",
|
|
150
|
+
"-t",
|
|
151
|
+
options.tag,
|
|
152
|
+
resolve3(packageDirectory, "docker/edge-gateway")
|
|
153
|
+
]);
|
|
154
|
+
export {
|
|
155
|
+
buildBuilderImage,
|
|
156
|
+
buildGatewayImage,
|
|
157
|
+
builderImage,
|
|
158
|
+
gatewayImage,
|
|
159
|
+
publishedImage,
|
|
160
|
+
runtimeImage,
|
|
161
|
+
setupPlatformFor
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
//# debugId=C74E6BB5B1A5A76B64756E2164756E21
|
|
165
|
+
//# sourceMappingURL=images.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/images.ts", "../src/docker-context.ts", "../src/package-path.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import { copyFile, cp, mkdir, mkdtemp, rm } from \"node:fs/promises\";\nimport { tmpdir } from \"node:os\";\nimport { resolve } from \"node:path\";\nimport { dockerImage } from \"@tsplc/config/build\";\nimport { prepareDockerContext } from \"./docker-context.ts\";\nimport { packageDirectory } from \"./package-path.ts\";\n\nexport const builderImage = dockerImage;\n\nexport const gatewayImage = \"tsplc-edge-gateway:4.22.0.0\";\n\n/** The local CODESYS Control for Linux SL runtime; it is always built here, never published. */\nexport const runtimeImage = \"tsplc-control-linux-sl:4.22.0.0\";\n\n/** The registry name each tsPLC version's copy of a local image is published under. */\nexport const publishedImage = (image: string, version: string) =>\n\t`ghcr.io/rip-technologies/${image.split(\":\")[0]}:${version}`;\n\n/** The platform the vendor installer runs on; the compiler image itself is always AMD64. */\nexport type SetupPlatform = \"linux/amd64\" | \"linux/arm64\";\n\n/** The setup platform for a Docker server's `{{.OSType}}/{{.Architecture}}`, or null when it has none. */\nexport const setupPlatformFor = (server: string): SetupPlatform | null => {\n\tif (server === \"linux/aarch64\" || server === \"linux/arm64\") {\n\t\treturn \"linux/arm64\";\n\t}\n\tif (server === \"linux/x86_64\" || server === \"linux/amd64\") {\n\t\treturn \"linux/amd64\";\n\t}\n\treturn null;\n};\n\n/**\n * Builds the builder image from the full recipe. `installer` is a local CODESYS installer,\n * or null to download the official one; `winetricksCache` seeds the prerequisite downloads.\n * `docker` runs one Docker client command, so each caller keeps its own terminal handling.\n */\nexport async function buildBuilderImage(options: {\n\ttag: string;\n\tsetupPlatform: SetupPlatform;\n\tinstaller: string | null;\n\twinetricksCache: string | null;\n\tdocker: (args: string[]) => Promise<void>;\n}) {\n\tconst installerContext = await mkdtemp(\n\t\tresolve(tmpdir(), \"codesys-installer-\"),\n\t);\n\tlet context: string | undefined;\n\ttry {\n\t\tcontext = await prepareDockerContext();\n\t\tconst cache = resolve(installerContext, \"winetricks\");\n\t\tawait mkdir(cache);\n\t\tif (options.winetricksCache) {\n\t\t\tawait cp(options.winetricksCache, cache, { recursive: true });\n\t\t}\n\t\tif (options.installer) {\n\t\t\tawait copyFile(\n\t\t\t\toptions.installer,\n\t\t\t\tresolve(installerContext, \"codesys.exe\"),\n\t\t\t);\n\t\t}\n\t\tconst arm = options.setupPlatform === \"linux/arm64\";\n\t\t// FEX handles ARM setup's 32-bit prerequisites; the compiler runtime stays AMD64.\n\t\tawait options.docker([\n\t\t\t\"build\",\n\t\t\t\"--platform\",\n\t\t\t\"linux/amd64\",\n\t\t\t\"--build-arg\",\n\t\t\t`SETUP_BASE=${arm ? \"arm-setup\" : \"base\"}`,\n\t\t\t\"--build-arg\",\n\t\t\t`SETUP_PLATFORM=${options.setupPlatform}`,\n\t\t\t\"--build-arg\",\n\t\t\t`INSTALLER_SOURCE=${options.installer ? \"installer-local\" : \"installer-download\"}`,\n\t\t\t\"--progress\",\n\t\t\t\"plain\",\n\t\t\t\"--build-context\",\n\t\t\t`installer=${installerContext}`,\n\t\t\t\"-f\",\n\t\t\tresolve(context, \"docker/Dockerfile\"),\n\t\t\t\"-t\",\n\t\t\toptions.tag,\n\t\t\tcontext,\n\t\t]);\n\t} finally {\n\t\tawait Promise.all([\n\t\t\trm(installerContext, { recursive: true, force: true }),\n\t\t\t...(context ? [rm(context, { recursive: true, force: true })] : []),\n\t\t]);\n\t}\n}\n\nexport const buildGatewayImage = (options: {\n\ttag: string;\n\tdocker: (args: string[]) => Promise<void>;\n}) =>\n\toptions.docker([\n\t\t\"build\",\n\t\t\"--platform\",\n\t\t\"linux/amd64\",\n\t\t\"--progress\",\n\t\t\"plain\",\n\t\t\"-t\",\n\t\toptions.tag,\n\t\tresolve(packageDirectory, \"docker/edge-gateway\"),\n\t]);\n",
|
|
6
|
+
"import { cp, mkdir, mkdtemp, readFile, rm, writeFile } from \"node:fs/promises\";\nimport { createRequire } from \"node:module\";\nimport { tmpdir } from \"node:os\";\nimport { basename, dirname, resolve } from \"node:path\";\nimport { z } from \"zod\";\nimport { packageDirectory } from \"./package-path.ts\";\n\nconst includeSource = (source: string) => {\n\tconst name = basename(source);\n\treturn (\n\t\tname !== \"__pycache__\" &&\n\t\t!name.endsWith(\".pyc\") &&\n\t\t!name.endsWith(\".test.ts\") &&\n\t\t!name.endsWith(\".fixtures.ts\") &&\n\t\t!(name.startsWith(\"test_\") && name.endsWith(\".py\"))\n\t);\n};\n\n/** The workspace packages container code imports, each copied with the files Bun runs it from. */\nconst containerPackages = [\n\t{\n\t\tentry: \"@tsplc/config/build\",\n\t\tdirectory: \"shared-config\",\n\t\tfiles: [\"src\", \"templates\", \"package.json\"],\n\t},\n\t{\n\t\tentry: \"@tsplc/iec\",\n\t\tdirectory: \"shared-iec\",\n\t\tfiles: [\"src\", \"package.json\"],\n\t},\n];\n\nconst manifestDependencies = z.object({\n\tname: z.string(),\n\tdependencies: z.record(z.string(), z.string()).default({}),\n});\n\n/**\n * The third-party packages the image installs: what this package and each package the\n * context carries depend on, at the versions their manifests pin.\n */\nexport function containerDependencies(\n\tmanifests: z.infer<typeof manifestDependencies>[],\n) {\n\tconst selected = new Map<string, { version: string; owner: string }>();\n\tfor (const manifest of manifests) {\n\t\tfor (const [name, version] of Object.entries(manifest.dependencies)) {\n\t\t\tif (name.startsWith(\"@tsplc/\")) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tconst existing = selected.get(name);\n\t\t\tif (existing && existing.version !== version) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`The builder image cannot install ${name}: ${existing.owner} pins ${existing.version} and ${manifest.name} pins ${version}.`,\n\t\t\t\t);\n\t\t\t}\n\t\t\tselected.set(name, { version, owner: manifest.name });\n\t\t}\n\t}\n\treturn Object.fromEntries(\n\t\t[...selected].map(([name, { version }]) => [name, version]),\n\t);\n}\n\nconst readManifest = async (directory: string) =>\n\tmanifestDependencies.parse(\n\t\tJSON.parse(await readFile(resolve(directory, \"package.json\"), \"utf8\")),\n\t);\n\nexport async function prepareDockerContext() {\n\tconst context = await mkdtemp(resolve(tmpdir(), \"tsplc-docker-\"));\n\ttry {\n\t\tfor (const directory of [\"src\", \"python\", \"docker\", \"runtime\"]) {\n\t\t\tawait cp(\n\t\t\t\tresolve(packageDirectory, directory),\n\t\t\t\tresolve(context, directory),\n\t\t\t\t{\n\t\t\t\t\trecursive: true,\n\t\t\t\t\tfilter: includeSource,\n\t\t\t\t},\n\t\t\t);\n\t\t}\n\t\tconst manifests = [await readManifest(packageDirectory)];\n\t\tfor (const { entry, directory, files } of containerPackages) {\n\t\t\tconst root = resolve(\n\t\t\t\tdirname(createRequire(import.meta.url).resolve(entry)),\n\t\t\t\t\"..\",\n\t\t\t);\n\t\t\tmanifests.push(await readManifest(root));\n\t\t\tawait mkdir(resolve(context, directory));\n\t\t\tfor (const file of files) {\n\t\t\t\tawait cp(resolve(root, file), resolve(context, directory, file), {\n\t\t\t\t\trecursive: true,\n\t\t\t\t\tfilter: includeSource,\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tawait writeFile(\n\t\t\tresolve(context, \"package.json\"),\n\t\t\tJSON.stringify({\n\t\t\t\ttype: \"module\",\n\t\t\t\tdependencies: containerDependencies(manifests),\n\t\t\t}),\n\t\t);\n\t\treturn context;\n\t} catch (cause) {\n\t\tawait rm(context, { recursive: true, force: true });\n\t\tthrow cause;\n\t}\n}\n",
|
|
7
|
+
"import { resolve } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\n\n// Both source modules and published bundles live one directory below the package root.\nexport const packageDirectory = resolve(\n\tfileURLToPath(new URL(\"..\", import.meta.url)),\n);\n"
|
|
8
|
+
],
|
|
9
|
+
"mappings": ";AAAA,yBAAmB,cAAI,mBAAO,gBAAS;AACvC,mBAAS;AACT,oBAAS;AACT;;;ACHA;AACA;AACA;AACA,uCAA4B;AAC5B;;;ACJA;AACA;AAGO,IAAM,mBAAmB,QAC/B,cAAc,IAAI,IAAI,MAAM,YAAY,GAAG,CAAC,CAC7C;;;ADCA,IAAM,gBAAgB,CAAC,WAAmB;AAAA,EACzC,MAAM,OAAO,SAAS,MAAM;AAAA,EAC5B,OACC,SAAS,iBACT,CAAC,KAAK,SAAS,MAAM,KACrB,CAAC,KAAK,SAAS,UAAU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