mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 18:42:25 +00:00
fix(parallels): bound macos smoke downloads
This commit is contained in:
@@ -809,7 +809,9 @@ rm -f /tmp/openclaw-parallels-macos-gateway.log`);
|
||||
private installLatestRelease(): void {
|
||||
this.guestSh(
|
||||
`export OPENCLAW_NO_ONBOARD=1
|
||||
curl -fsSL ${shellQuote(this.options.installUrl)} -o /tmp/openclaw-install.sh
|
||||
curl -fsSL --connect-timeout 10 --max-time 120 --retry 2 --retry-delay 2 ${shellQuote(
|
||||
this.options.installUrl,
|
||||
)} -o /tmp/openclaw-install.sh
|
||||
bash /tmp/openclaw-install.sh --version ${shellQuote(this.installVersion)}
|
||||
${guestOpenClaw} --version`,
|
||||
);
|
||||
@@ -837,7 +839,9 @@ ${guestOpenClaw} --version`);
|
||||
}
|
||||
const tgzUrl = this.server.urlFor(this.artifact.path);
|
||||
this.guestSh(`printf 'install-source: host-tgz %s\\n' ${shellQuote(tgzUrl)}
|
||||
curl -fsSL ${shellQuote(tgzUrl)} -o /tmp/${tempName}
|
||||
curl -fsSL --connect-timeout 10 --max-time 120 --retry 2 --retry-delay 2 ${shellQuote(
|
||||
tgzUrl,
|
||||
)} -o /tmp/${tempName}
|
||||
${guestNpm} install -g /tmp/${tempName}
|
||||
${guestOpenClaw} --version`);
|
||||
}
|
||||
|
||||
@@ -1255,6 +1255,9 @@ if (isPrlctl) {
|
||||
expect(macos).toContain('rm -rf "$HOME/.npm/_cacache"');
|
||||
expect(macos.match(/\.onboard-ref", 420/g)).toHaveLength(2);
|
||||
expect(macos).toContain('echo "npm install attempt $attempt failed; retrying in 5s"');
|
||||
expect(macos.match(/curl -fsSL --connect-timeout 10 --max-time 120 --retry 2/g)).toHaveLength(
|
||||
2,
|
||||
);
|
||||
});
|
||||
|
||||
it("provisions portable Git before Windows dev update lanes", () => {
|
||||
|
||||
Reference in New Issue
Block a user