Mk sign nightly release commits (#3264)

This commit is contained in:
matt korwel 2025-07-04 18:32:58 -07:00 committed by GitHub
parent e90e0015ea
commit 7aa67f324c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 9 deletions

View File

@ -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'

View File

@ -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 }}