fix: run Electron artifact builds in the bounded worker [CI SKIP]

This commit is contained in:
2026-11-02 17:39:58 +09:00
parent ca4a819506
commit 6007e99985
9 changed files with 163 additions and 100 deletions
+6
View File
@@ -62,3 +62,9 @@ test('prepare-only never builds an application', () => {
assert.equal(result.status, 0, result.stderr);
assert.ok(!result.calls.some((a) => a[0] === 'buildx' && a[1] === 'build'));
});
test('Electron artifacts use the same bounded worker and local output exporter', () => {
const result = run({}, ['--artifact-output', '/tmp/artifacts', '-f', '/tmp/artifact.Dockerfile', '/tmp/context']);
assert.equal(result.status, 0, result.stderr);
assert.deepEqual(result.calls.at(-1), ['buildx', 'build', '--builder', 'studio-limited', '--output', 'type=local,dest=/tmp/artifacts', '--progress', 'plain', '-f', '/tmp/artifact.Dockerfile', '/tmp/context']);
});