mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Mk sign nightly release commits (#3264)
This commit is contained in:
@@ -34,8 +34,8 @@ steps:
|
||||
else
|
||||
echo "Development/RC release detected. Using commit SHA as tag."
|
||||
fi
|
||||
echo "Determined image tag: $FINAL_TAG"
|
||||
echo "$FINAL_TAG" > /workspace/image_tag.txt
|
||||
echo "Determined image tag: $$FINAL_TAG"
|
||||
echo "$$FINAL_TAG" > /workspace/image_tag.txt
|
||||
|
||||
# Step 7: Build sandbox container image
|
||||
- name: 'us-west1-docker.pkg.dev/gemini-code-dev/gemini-code-containers/gemini-code-builder'
|
||||
@@ -44,8 +44,8 @@ steps:
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
export GEMINI_SANDBOX_IMAGE_TAG=$(cat /workspace/image_tag.txt)
|
||||
echo "Using Docker image tag for build: $GEMINI_SANDBOX_IMAGE_TAG"
|
||||
export GEMINI_SANDBOX_IMAGE_TAG=$$(cat /workspace/image_tag.txt)
|
||||
echo "Using Docker image tag for build: $$GEMINI_SANDBOX_IMAGE_TAG"
|
||||
npm run build:sandbox:fast
|
||||
env:
|
||||
- 'GEMINI_SANDBOX=$_CONTAINER_TOOL'
|
||||
@@ -57,8 +57,8 @@ steps:
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
export GEMINI_SANDBOX_IMAGE_TAG=$(cat /workspace/image_tag.txt)
|
||||
echo "Using Docker image tag for publish: $GEMINI_SANDBOX_IMAGE_TAG"
|
||||
export GEMINI_SANDBOX_IMAGE_TAG=$$(cat /workspace/image_tag.txt)
|
||||
echo "Using Docker image tag for publish: $$GEMINI_SANDBOX_IMAGE_TAG"
|
||||
npm run publish:sandbox
|
||||
env:
|
||||
- 'GEMINI_SANDBOX=$_CONTAINER_TOOL'
|
||||
|
||||
12
.github/workflows/scheduled-nightly-release.yml
vendored
12
.github/workflows/scheduled-nightly-release.yml
vendored
@@ -33,15 +33,21 @@ jobs:
|
||||
run: npm run preflight
|
||||
|
||||
- name: Run Integration Tests (without Docker)
|
||||
uses: nick-invision/retry@v2
|
||||
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08
|
||||
env:
|
||||
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||
with:
|
||||
timeout_minutes: 10
|
||||
max_attempts: 3
|
||||
retry_wait_seconds: 30
|
||||
command: npm run test:integration:sandbox:none
|
||||
|
||||
- name: Run Integration Tests (with Docker)
|
||||
uses: nick-invision/retry@v2
|
||||
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08
|
||||
env:
|
||||
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||
with:
|
||||
timeout_minutes: 10
|
||||
max_attempts: 3
|
||||
retry_wait_seconds: 30
|
||||
command: npm run test:integration:sandbox:docker
|
||||
@@ -63,6 +69,6 @@ jobs:
|
||||
gh issue create \
|
||||
--title "Nightly Release Failed on $(date +'%Y-%m-%d')" \
|
||||
--body "The scheduled nightly release workflow failed. See the full run for details: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--label "bug,nightly-failure"
|
||||
--label "type: bug,nightly-failure"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user