test ci
This commit is contained in:
parent
a1b5443a1b
commit
9129627416
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -398,9 +398,6 @@ SOFTWARE.
|
|||
|
||||
@buf/blacksmith_vm-agent.connectrpc_es
|
||||
|
||||
@bufbuild/protobuf
|
||||
(Apache-2.0 AND BSD-3-Clause)
|
||||
|
||||
@connectrpc/connect
|
||||
Apache-2.0
|
||||
|
||||
|
|
|
@ -114,15 +114,7 @@ export async function startBuildkitd(parallelism: number, addr: string, setupOnl
|
|||
const logStream = fs.createWriteStream('/tmp/buildkitd.log', {flags: 'a'});
|
||||
let buildkitd: ChildProcess;
|
||||
if (!setupOnly) {
|
||||
buildkitd = spawn('sudo', [
|
||||
'buildkitd',
|
||||
'--debug',
|
||||
'--config=buildkitd.toml',
|
||||
'--allow-insecure-entitlement',
|
||||
'security.insecure',
|
||||
'--allow-insecure-entitlement',
|
||||
'network.host'
|
||||
], {
|
||||
buildkitd = spawn('sudo', ['buildkitd', '--debug', '--config=buildkitd.toml', '--allow-insecure-entitlement', 'security.insecure', '--allow-insecure-entitlement', 'network.host'], {
|
||||
stdio: ['ignore', 'pipe', 'pipe']
|
||||
});
|
||||
} else {
|
||||
|
@ -181,7 +173,7 @@ export async function getStickyDisk(options?: {signal?: AbortSignal}): Promise<{
|
|||
}
|
||||
core.debug(`Getting sticky disk for ${stickyDiskKey}`);
|
||||
|
||||
const response = await client.getStickyDisk(
|
||||
const response = (await client.getStickyDisk(
|
||||
{
|
||||
stickyDiskKey: stickyDiskKey,
|
||||
region: process.env.BLACKSMITH_REGION || 'eu-central',
|
||||
|
@ -194,7 +186,7 @@ export async function getStickyDisk(options?: {signal?: AbortSignal}): Promise<{
|
|||
{
|
||||
signal: options?.signal
|
||||
}
|
||||
);
|
||||
)) as {exposeId?: string; diskIdentifier?: string};
|
||||
return {
|
||||
expose_id: response.exposeId || '',
|
||||
device: response.diskIdentifier || ''
|
||||
|
|
Loading…
Reference in New Issue