summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt korwel <[email protected]>2025-07-04 18:32:58 -0700
committerGitHub <[email protected]>2025-07-05 01:32:58 +0000
commit7aa67f324c97c6cd7109301ff6a68b0d326c02a7 (patch)
tree99999e2fbf801962b4805583a5397502749938e1
parente90e0015eacda0cf8315e30b72305e026f3768b3 (diff)
Mk sign nightly release commits (#3264)
-rw-r--r--.gcp/release-docker.yaml12
-rw-r--r--.github/workflows/scheduled-nightly-release.yml12
2 files changed, 15 insertions, 9 deletions
diff --git a/.gcp/release-docker.yaml b/.gcp/release-docker.yaml
index b85072cb..8ef0deec 100644
--- a/.gcp/release-docker.yaml
+++ b/.gcp/release-docker.yaml
@@ -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'
diff --git a/.github/workflows/scheduled-nightly-release.yml b/.github/workflows/scheduled-nightly-release.yml
index f55d5570..657416b1 100644
--- a/.github/workflows/scheduled-nightly-release.yml
+++ b/.github/workflows/scheduled-nightly-release.yml
@@ -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 }}