Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:
run: npm run build

- name: Deploy to Cloudflare
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# wrangler-action v4 defaults to the Wrangler 4 CLI, a separate
# migration. Pinned so this change is only the runtime move.
# Unpinning is tracked in #331.
wranglerVersion: "3"
workingDirectory: docs
command: deploy

Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/release-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fi

- name: Install Helm
uses: azure/setup-helm@v4
uses: azure/setup-helm@v5

- name: Update chart version
run: |
Expand Down Expand Up @@ -84,10 +84,17 @@ jobs:
cp chart-pkg/index.yaml deploy/

- name: Deploy index.yaml to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# website/ and docs/ pin the Wrangler CLI in their package-lock.json
# and the action picks that up; this job has no npm project to hold
# one, so it is the single site that needs the version stated. Exact,
# not a bare major: "3" is a range the action resolves to the newest
# 3.x at deploy time, which is the drift this pin exists to stop.
# Tracked with the other two in #331.
wranglerVersion: "3.114.17"
command: pages deploy deploy --project-name traceway-charts --commit-dirty=true

- name: Summary
Expand Down
25 changes: 17 additions & 8 deletions .github/workflows/release-traceway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,26 +196,35 @@ jobs:
build-docker:
runs-on: ubuntu-latest
needs: release
env:
# build-push-action v6+ generates a build summary and uploads a build
# record artifact per build. The summary is worth keeping -- all five
# builds below write cache-to: type=gha,mode=max, and it is the only
# place per-build cache-hit ratios show up without re-running a release.
# The records inherit the repo-wide artifact retention by default, so
# five of them accumulate per release; a week is long enough to debug
# the release that produced them.
DOCKER_BUILD_RECORD_RETENTION_DAYS: 7
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push full image
id: docker_build_full
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile
Expand All @@ -228,7 +237,7 @@ jobs:

- name: Build and push minimal image
id: docker_build_minimal
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile.minimal
Expand All @@ -241,7 +250,7 @@ jobs:

- name: Build and push SQLite image
id: docker_build_sqlite
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile.sqlite
Expand All @@ -258,7 +267,7 @@ jobs:
# impractically slow. arm64 users build Dockerfile.duckdb natively.
- name: Build and push DuckDB image
id: docker_build_duckdb
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile.duckdb
Expand All @@ -275,7 +284,7 @@ jobs:
# synthetic checks.
- name: Build and push Browser image
id: docker_build_browser
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .
file: ./Dockerfile.browser
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ jobs:
run: npm run build

- name: Deploy to Cloudflare
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# wrangler-action v4 defaults to the Wrangler 4 CLI, a separate
# migration on a production deploy path. Pinned so this change is
# only the runtime move.
# Unpinning is tracked in #331.
wranglerVersion: "3"
workingDirectory: website
command: deploy

Expand Down