



















@@ -59,16 +59,14 @@ jobs:
5959PACKAGE_SPEC: ${{ inputs.package_spec }}
6060run: echo "Approved npm Telegram beta E2E for ${PACKAGE_SPEC}"
616162-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
6565runs-on: blacksmith-32vcpu-ubuntu-2404
66-timeout-minutes: 90
66+timeout-minutes: 60
67+environment: qa-live-shared
6768permissions:
6869contents: read
69-packages: write
70-outputs:
71-image: ${{ steps.image.outputs.image }}
7270env:
7371DOCKER_BUILD_SUMMARY: "false"
7472DOCKER_BUILD_RECORD_UPLOAD: "false"
@@ -79,61 +77,20 @@ jobs:
7977ref: ${{ github.sha }}
8078fetch-depth: 1
817982- - 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
9581uses: useblacksmith/setup-docker-builder@ac083cc84672d01c60d5e8561d0a939b697de542 # v1
968297- - 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
10584uses: useblacksmith/build-push-action@cbd1f60d194a98cb3be5523b15134501eaf0fbf3 # v2
10685with:
10786context: .
10887file: ./scripts/e2e/Dockerfile
10988target: build
11089platforms: linux/amd64
111-tags: ${{ steps.image.outputs.image }}
90+tags: openclaw-docker-e2e:local
91+load: true
92+push: false
11293provenance: 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 }}
1379413895 - name: Setup Node environment
13996uses: ./.github/actions/setup-node-env
@@ -178,7 +135,7 @@ jobs:
178135env:
179136OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
180137OPENCLAW_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
182139OPENCLAW_NPM_TELEGRAM_PACKAGE_SPEC: ${{ inputs.package_spec }}
183140OPENCLAW_NPM_TELEGRAM_PROVIDER_MODE: ${{ inputs.provider_mode }}
184141OPENCLAW_NPM_TELEGRAM_CREDENTIAL_SOURCE: convex
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。