Skip to content
Merged
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
33 changes: 0 additions & 33 deletions .github/actions/nix-install-self-hosted/action.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ami-release-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Set PostgreSQL versions
id: set-versions
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
role-duration-seconds: 7200

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
aws-region: ${{ env.AWS_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-extension-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Check for new extension versions
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Run portability check
uses: ./.github/actions/nix-build-retry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cli-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Check Docker image changes
id: check
Expand All @@ -50,7 +50,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Create Docker context
run: docker context create builders
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-image-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Check Docker image changes
id: check
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Create Docker context
run: docker context create builders
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/dockerhub-release-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- name: Generate build matrix
id: set-matrix
run: |
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- name: Set PostgreSQL version environment variable
run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV

Expand All @@ -100,7 +100,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- run: docker context create builders
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
with:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
with:
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Debug Input from Prepare
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/manual-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
matrix_config: ${{ steps.set-matrix.outputs.matrix_config }}
steps:
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- name: Generate build matrix
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- name: Set PostgreSQL version environment variable
run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV

Expand All @@ -97,7 +97,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- run: docker context create builders
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
with:
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
with:
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Debug Input from Prepare
run: |
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install nix
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install nix
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
Expand All @@ -129,16 +129,13 @@ jobs:
- name: Checkout Repo
if: ${{ matrix.attr != '' }}
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install nix (ephemeral)
if: ${{ matrix.attr != '' && matrix.runs_on.group != 'self-hosted-runners-nix' }}
uses: ./.github/actions/nix-install-ephemeral
- name: Install nix
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
role-to-assume: ${{ secrets.DEV_AWS_ROLE }}
- name: Install nix (self-hosted)
if: ${{ matrix.attr != '' && matrix.runs_on.group == 'self-hosted-runners-nix' }}
uses: ./.github/actions/nix-install-self-hosted
- name: nix build
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/nix-build-retry
Expand All @@ -162,7 +159,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install nix
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
Expand All @@ -188,7 +185,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install nix
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
Expand Down Expand Up @@ -216,7 +213,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install nix
if: ${{ matrix.attr != '' }}
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
nix-signing-key: ${{ secrets.NIX_SIGN_SECRET_KEY }}
Expand Down Expand Up @@ -312,7 +309,7 @@ jobs:
path: base

- name: Install nix
uses: ./head/.github/actions/nix-install-ephemeral
uses: ./head/.github/actions/install-nix

# HEAD side already done in eval
- name: Download head drvPaths
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nix-dependency-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: "false"
env:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: "false"
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Set PostgreSQL versions
id: set-versions
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Grab release version
id: process_release_version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-nix-pgupgrade-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- name: Set PostgreSQL versions
id: set-versions
env:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Grab release version
id: process_release_version
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Grab release version
id: process_release_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qemu-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo "POSTGRES_MAJOR_VERSION=${{ matrix.postgres_version }}" >> $GITHUB_ENV

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Run checks if triggered manually
if: ${{ github.event_name == 'workflow_dispatch' && matrix.arch == 'arm64' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix
- name: Set PostgreSQL versions
id: set-versions
run: |
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Checkout Repo
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- uses: ./.github/actions/nix-install-ephemeral
- uses: ./.github/actions/install-nix

- name: Resolve git sha
id: resolve-git-sha
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testinfra-ami-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: supabase/postgres/.github/actions/shared-checkout@HEAD

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Set PostgreSQL versions
id: set-versions
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
role-duration-seconds: 7200

- name: Install nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix
with:
push-to-cache: true
aws-region: ${{ env.AWS_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-flake-lock-non-critical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral
uses: ./.github/actions/install-nix

- name: Update non-critical flake inputs
run: |
Expand Down
Loading
Loading