Skip to content

Commit ce95a93

Browse files
committed
Merge remote-tracking branch 'origin/develop' into martonboros/postgres-17-env-closure-size-eb81a5
2 parents 25b0efe + 53aef2c commit ce95a93

41 files changed

Lines changed: 952 additions & 141 deletions

Some content is hidden

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

‎.github/actions/check-docker-image-changes/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
id: current
2929
shell: bash
3030
run: |
31-
HASH=$(nix run --accept-flake-config .#docker-image-inputs -- hash)
31+
HASH=$(nix run .#docker-image-inputs -- hash)
3232
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
3333
echo "Current Docker image inputs hash: $HASH"
3434
@@ -44,7 +44,7 @@ runs:
4444
git checkout FETCH_HEAD -- . 2>/dev/null || true
4545
4646
# Get hash from base branch
47-
BASE_HASH=$(nix run --accept-flake-config .#docker-image-inputs -- hash 2>/dev/null || echo "")
47+
BASE_HASH=$(nix run .#docker-image-inputs -- hash 2>/dev/null || echo "")
4848
4949
# Restore current branch
5050
git checkout HEAD -- .

‎.github/actions/nix-build-retry/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'Nix build with retry'
22
description: |
3-
Runs `nix build --accept-flake-config -L` and retries on transient network
3+
Runs `nix build -L` and retries on transient network
44
errors (codeload.github.com 5xx, DNS, TLS, connection resets). Genuine build
55
failures exit immediately without retrying.
66
inputs:
@@ -47,7 +47,7 @@ runs:
4747
echo "::group::nix build attempt ${attempt}/${ATTEMPTS}: ${ATTR} ${EXTRA_ARGS}"
4848
# Stream to console AND capture for post-hoc pattern matching.
4949
# PIPESTATUS preserves nix's exit code through the tee.
50-
nix build --accept-flake-config -L ${EXTRA_ARGS} "${ATTR}" 2>&1 | tee "$log_file"
50+
nix build -L ${EXTRA_ARGS} "${ATTR}" 2>&1 | tee "$log_file"
5151
rc=${PIPESTATUS[0]}
5252
echo "::endgroup::"
5353
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Check Extension Updates
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 6 * * 1'
7+
8+
jobs:
9+
check-extension-versions:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17+
18+
- name: Install Nix
19+
uses: ./.github/actions/nix-install-ephemeral
20+
21+
- name: Check for new extension versions
22+
env:
23+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
run: nix run .#check-ext-versions
25+
26+
- name: Create Pull Request
27+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
28+
with:
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
commit-message: "chore: update extension versions"
31+
title: "chore: update extension versions"
32+
body: |
33+
DO NOT MERGE
34+
35+
Automated weekly check of `nix/ext/versions.json` against upstream GitHub tags.
36+
draft: true
37+
branch: auto-update-extension-versions
38+
base: develop
39+
labels: |
40+
dependencies
41+
automated
42+
don't merge

‎.github/workflows/cli-smoke-test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
- name: Run CLI smoke test
7171
run: |
7272
echo "Running CLI smoke test for PostgreSQL ${{ matrix.pg_version }}..."
73-
nix run --accept-flake-config .#cli-smoke-test -- --no-build ${{ matrix.pg_version }}
73+
nix run .#cli-smoke-test -- --no-build ${{ matrix.pg_version }}
7474
timeout-minutes: 10
7575

7676
- name: Show logs on failure
7777
if: failure()
7878
run: |
7979
echo "=== Supabase Status ==="
80-
nix run --accept-flake-config .#supabase-cli -- status || true
80+
nix run .#supabase-cli -- status || true
8181
8282
echo "=== Docker containers ==="
8383
docker ps -a
@@ -88,7 +88,7 @@ jobs:
8888
- name: Cleanup
8989
if: always()
9090
run: |
91-
nix run --accept-flake-config .#supabase-cli -- stop --no-backup || true
91+
nix run .#supabase-cli -- stop --no-backup || true
9292
9393
skip-notification:
9494
name: CLI Smoke Test (Skipped)

‎.github/workflows/docker-image-test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,19 @@ jobs:
8686
if: ${{ matrix.target == '' }}
8787
run: |
8888
echo "=== Image Size Analysis for ${{ matrix.name }} ==="
89-
nix run --accept-flake-config .#image-size-analyzer -- --image Dockerfile-${{ matrix.name }} --no-build
89+
nix run .#image-size-analyzer -- --image Dockerfile-${{ matrix.name }} --no-build
9090
9191
- name: Run Docker image tests
9292
if: ${{ matrix.target == '' }}
9393
run: |
9494
echo "=== Running tests for ${{ matrix.name }} ==="
95-
nix run --accept-flake-config .#docker-image-test -- --no-build Dockerfile-${{ matrix.name }}
95+
nix run .#docker-image-test -- --no-build Dockerfile-${{ matrix.name }}
9696
9797
- name: Run multigres Docker image tests
9898
if: ${{ matrix.target != '' }}
9999
run: |
100100
echo "=== Running tests for ${{ matrix.name }} ==="
101-
nix run --accept-flake-config .#docker-image-test -- --no-build --target ${{ matrix.target }} ${{ matrix.dockerfile }}
101+
nix run .#docker-image-test -- --no-build --target ${{ matrix.target }} ${{ matrix.dockerfile }}
102102
103103
- name: Show container logs on failure
104104
if: failure()

0 commit comments

Comments
 (0)