@@ -59,16 +59,14 @@ jobs:
5959 PACKAGE_SPEC : ${{ inputs.package_spec }}
6060 run : echo "Approved npm Telegram beta E2E for ${PACKAGE_SPEC}"
6161
62- prepare_docker_e2e_image :
63- name : Prepare Docker E2E image
64- needs : validate_dispatch_ref
62+ run_npm_telegram_beta_e2e :
63+ name : Run published npm Telegram E2E
64+ needs : approve_release_manager
6565 runs-on : blacksmith-32vcpu-ubuntu-2404
66- timeout-minutes : 90
66+ timeout-minutes : 60
67+ environment : qa-live-shared
6768 permissions :
6869 contents : read
69- packages : write
70- outputs :
71- image : ${{ steps.image.outputs.image }}
7270 env :
7371 DOCKER_BUILD_SUMMARY : " false"
7472 DOCKER_BUILD_RECORD_UPLOAD : " false"
@@ -79,61 +77,20 @@ jobs:
7977 ref : ${{ github.sha }}
8078 fetch-depth : 1
8179
82- - name : Resolve Docker E2E image tag
83- id : image
84- shell : bash
85- env :
86- SELECTED_SHA : ${{ github.sha }}
87- run : |
88- set -euo pipefail
89- repository="${GITHUB_REPOSITORY,,}"
90- image="ghcr.io/${repository}-docker-e2e:${SELECTED_SHA}"
91- echo "image=$image" >> "$GITHUB_OUTPUT"
92- echo "Docker E2E image: \`$image\`" >> "$GITHUB_STEP_SUMMARY"
93-
9480 - name : Set up Blacksmith Docker Builder
9581 uses : useblacksmith/setup-docker-builder@ac083cc84672d01c60d5e8561d0a939b697de542 # v1
9682
97- - name : Log in to GHCR
98- uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
99- with :
100- registry : ghcr.io
101- username : ${{ github.actor }}
102- password : ${{ github.token }}
103-
104- - name : Build and push Docker E2E image
83+ - name : Build Docker E2E image
10584 uses : useblacksmith/build-push-action@cbd1f60d194a98cb3be5523b15134501eaf0fbf3 # v2
10685 with :
10786 context : .
10887 file : ./scripts/e2e/Dockerfile
10988 target : build
11089 platforms : linux/amd64
111- tags : ${{ steps.image.outputs.image }}
90+ tags : openclaw-docker-e2e:local
91+ load : true
92+ push : false
11293 provenance : false
113- push : true
114-
115- run_npm_telegram_beta_e2e :
116- name : Run published npm Telegram E2E
117- needs : [approve_release_manager, prepare_docker_e2e_image]
118- runs-on : blacksmith-32vcpu-ubuntu-2404
119- timeout-minutes : 60
120- environment : qa-live-shared
121- permissions :
122- contents : read
123- packages : read
124- steps :
125- - name : Checkout main
126- uses : actions/checkout@v6
127- with :
128- ref : ${{ github.sha }}
129- fetch-depth : 1
130-
131- - name : Log in to GHCR
132- uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
133- with :
134- registry : ghcr.io
135- username : ${{ github.actor }}
136- password : ${{ github.token }}
13794
13895 - name : Setup Node environment
13996 uses : ./.github/actions/setup-node-env
@@ -178,7 +135,7 @@ jobs:
178135 env :
179136 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
180137 OPENCLAW_SKIP_DOCKER_BUILD : " 1"
181- OPENCLAW_DOCKER_E2E_IMAGE : ${{ needs.prepare_docker_e2e_image.outputs.image }}
138+ OPENCLAW_DOCKER_E2E_IMAGE : openclaw-docker-e2e:local
182139 OPENCLAW_NPM_TELEGRAM_PACKAGE_SPEC : ${{ inputs.package_spec }}
183140 OPENCLAW_NPM_TELEGRAM_PROVIDER_MODE : ${{ inputs.provider_mode }}
184141 OPENCLAW_NPM_TELEGRAM_CREDENTIAL_SOURCE : convex
0 commit comments