mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
fix(release): serialize OpenAI installer e2e turns
This commit is contained in:
@@ -606,7 +606,7 @@ run_profile() {
|
||||
agent_model="$(set_agent_model "$profile" \
|
||||
"openai/gpt-5.5" \
|
||||
"openai/gpt-5.4-mini")"
|
||||
openclaw --profile "$profile" config set models.providers.openai '{"baseUrl":"https://api.openai.com/v1","models":[],"timeoutSeconds":600,"agentRuntime":{"id":"pi"}}' --strict-json >/dev/null
|
||||
openclaw --profile "$profile" config set models.providers.openai "{\"baseUrl\":\"https://api.openai.com/v1\",\"models\":[],\"timeoutSeconds\":${AGENT_TURN_TIMEOUT_SECONDS},\"agentRuntime\":{\"id\":\"pi\"}}" --strict-json >/dev/null
|
||||
image_model="$(set_image_model "$profile" \
|
||||
"openai/gpt-5.4-image-2")"
|
||||
else
|
||||
|
||||
@@ -523,7 +523,7 @@ const releasePathBundledChannelLanes = [
|
||||
const releasePathPackageInstallOpenAiLanes = [
|
||||
npmLane(
|
||||
"install-e2e-openai",
|
||||
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e",
|
||||
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=900 OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL=0 pnpm test:install:e2e",
|
||||
{
|
||||
resources: ["service"],
|
||||
weight: 3,
|
||||
|
||||
@@ -118,7 +118,7 @@ describe("docker build helper", () => {
|
||||
const scenarios = readFileSync(DOCKER_E2E_SCENARIOS_PATH, "utf8");
|
||||
|
||||
expect(scenarios).toContain(
|
||||
'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e"',
|
||||
'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=900 OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL=0 pnpm test:install:e2e"',
|
||||
);
|
||||
expect(scenarios).toContain(
|
||||
'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=anthropic OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-anthropic:local pnpm test:install:e2e"',
|
||||
|
||||
@@ -736,7 +736,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
expect(plan.lanes.map(summarizeLane)).toEqual([
|
||||
{
|
||||
command:
|
||||
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e",
|
||||
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=900 OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL=0 pnpm test:install:e2e",
|
||||
imageKind: "bare",
|
||||
live: false,
|
||||
name: "install-e2e-openai",
|
||||
|
||||
Reference in New Issue
Block a user