fix: run Electron artifact builds in the bounded worker [CI SKIP]
This commit is contained in:
@@ -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']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user