Skip to content

Commit b6863e7

Browse files
authored
Merge branch 'main' into main
2 parents 203f1c8 + 36ab2a9 commit b6863e7

File tree

107 files changed

+4613
-1974
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+4613
-1974
lines changed

.ci/continuous.release.cloudbuild.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ steps:
4747
tar -xf zig.tar.xz -C /zig-tools --strip-components=1
4848
4949
- id: "install-macos-sdk"
50-
name: golang:1
50+
name: "gcr.io/cloud-builders/gcloud:latest"
5151
waitFor: ['-']
5252
volumes:
5353
- name: 'macos-sdk'
@@ -57,8 +57,8 @@ steps:
5757
set -e
5858
apt-get update && apt-get install -y xz-utils
5959
echo "Downloading macOS 14.5 SDK..."
60-
curl -fL -o sdk.tar.xz https://github.com/alexey-lysiuk/macos-sdk/releases/download/14.5/MacOSX14.5.tar.xz
61-
60+
gcloud storage cp gs://${_ASSETS_BUCKET}/MacOSX14.5.tar.xz sdk.tar.xz
61+
6262
mkdir -p /macos-sdk/MacOSX14.5.sdk
6363
echo "Unpacking macOS 14.5 SDK..."
6464
tar -xf sdk.tar.xz -C /macos-sdk/MacOSX14.5.sdk --strip-components=1
@@ -310,4 +310,5 @@ substitutions:
310310
_AR_REPO_NAME: toolbox-dev
311311
_OLD_BUCKET_NAME: genai-toolbox-dev
312312
_BUCKET_NAME: mcp-toolbox-for-databases-dev
313+
_ASSETS_BUCKET: toolbox-build-assets
313314
_DOCKER_URI: ${_AR_HOSTNAME}/${PROJECT_ID}/${_AR_REPO_NAME}/toolbox

.ci/versioned.release.cloudbuild.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ steps:
6363
tar -xf zig.tar.xz -C /zig-tools --strip-components=1
6464
6565
- id: "install-macos-sdk"
66-
name: golang:1
66+
name: "gcr.io/cloud-builders/gcloud:latest"
6767
waitFor: ['-']
6868
volumes:
6969
- name: 'macos-sdk'
@@ -73,8 +73,8 @@ steps:
7373
set -e
7474
apt-get update && apt-get install -y xz-utils
7575
echo "Downloading macOS 14.5 SDK..."
76-
curl -fL -o sdk.tar.xz https://github.com/alexey-lysiuk/macos-sdk/releases/download/14.5/MacOSX14.5.tar.xz
77-
76+
gcloud storage cp gs://${_ASSETS_BUCKET}/MacOSX14.5.tar.xz sdk.tar.xz
77+
7878
mkdir -p /macos-sdk/MacOSX14.5.sdk
7979
echo "Unpacking macOS 14.5 SDK..."
8080
tar -xf sdk.tar.xz -C /macos-sdk/MacOSX14.5.sdk --strip-components=1
@@ -375,5 +375,6 @@ substitutions:
375375
_AR_REPO_NAME: toolbox
376376
_OLD_BUCKET_NAME: genai-toolbox
377377
_BUCKET_NAME: mcp-toolbox-for-databases
378+
_ASSETS_BUCKET: toolbox-build-assets
378379
_DOCKER_URI: ${_AR_HOSTNAME}/${PROJECT_ID}/${_AR_REPO_NAME}/toolbox
379380
_PUSH_LATEST: "false" # Substituted in trigger

.github/workflows/cloud_build_failure_reporter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: 'ubuntu-latest'
3838

3939
steps:
40-
- uses: 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' # v8
40+
- uses: 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' # v9
4141
with:
4242
script: |-
4343
// parse test names

.github/workflows/cloudflare_sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
rm -rf .git
4141
- name: Cloudflare Deploy
42-
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3
42+
uses: cloudflare/wrangler-action@9acf94ace14e7dc412b076f2c5c20b8ce93c79cd # v3
4343
with:
4444
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4545
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

.github/workflows/deploy_dev_docs_to_cf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Setup Hugo
5050
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
5151
with:
52-
hugo-version: "0.160.0"
52+
hugo-version: "0.160.1"
5353
extended: true
5454

5555
- name: Setup Node
@@ -58,7 +58,7 @@ jobs:
5858
node-version: "22"
5959

6060
- name: Cache dependencies
61-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
61+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
6262
with:
6363
path: ~/.npm
6464
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/deploy_previous_version_docs_to_cf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Hugo and Node
7777
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
7878
with:
79-
hugo-version: "0.160.0"
79+
hugo-version: "0.160.1"
8080
extended: true
8181
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
8282
with:

.github/workflows/deploy_versioned_docs_to_cf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Hugo
4444
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
4545
with:
46-
hugo-version: "0.160.0"
46+
hugo-version: "0.160.1"
4747
extended: true
4848

4949
- name: Setup Node

.github/workflows/docs_preview_build_cf.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Hugo
4848
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
4949
with:
50-
hugo-version: "0.160.0"
50+
hugo-version: "0.160.1"
5151
extended: true
5252

5353
- name: Setup Node
@@ -74,7 +74,7 @@ jobs:
7474
echo ${{ env.PR_NUMBER }} > ../artifact-payload/pr_number.txt
7575
7676
- name: Upload Artifact
77-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
77+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
7878
with:
7979
name: cf-preview-data
8080
path: artifact-payload/
@@ -98,7 +98,7 @@ jobs:
9898
pull-requests: write
9999
steps:
100100
- name: Remove deploy-preview label
101-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
101+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
102102
with:
103103
script: |
104104
try {

.github/workflows/docs_preview_clean_cf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
fi
6363
6464
- name: Comment
65-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
65+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
6666
with:
6767
script: |
6868
github.rest.issues.createComment({

.github/workflows/docs_preview_deploy_cf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ jobs:
7171
7272
- name: Deploy to Cloudflare Pages
7373
id: cf_deploy
74-
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3
74+
uses: cloudflare/wrangler-action@9acf94ace14e7dc412b076f2c5c20b8ce93c79cd # v3
7575
with:
7676
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
7777
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
7878
command: pages deploy downloaded-artifact/public --project-name toolbox-docs --branch pr-${{ steps.get_pr.outputs.pr_number }}
7979

8080
- name: Post Preview URL Comment
81-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
81+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
8282
with:
8383
script: |
8484
const prNumber = parseInt('${{ steps.get_pr.outputs.pr_number }}', 10);

0 commit comments

Comments
 (0)