diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c24da2c9cc..2d59521e94 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -66,8 +66,8 @@ updates: # These lines are generated from packages/stack/src/Artifacts.ts (the single version table # for slim-capable services); updates to them arrive through slim-release-published.yml, not # Dependabot. Kong and pg14 (supabase/postgres) have no slim build either, but are bumped by - # hand, not by Dependabot. Dependabot keeps bumping only the images that remain genuinely - # upstream-only: migra, pg_prove, pgadmin-schema-diff. + # hand, not by Dependabot. Dependabot still watches migra, pg_prove, and pgadmin-schema-diff, + # but nothing publishes new migra or pg_prove tags, so those two stay at their current pins. ignore: - dependency-name: "library/kong" - dependency-name: "axllent/mailpit" diff --git a/.github/workflows/build-cli-artifacts.yml b/.github/workflows/build-cli-artifacts.yml index a66ca86419..817d3128cc 100644 --- a/.github/workflows/build-cli-artifacts.yml +++ b/.github/workflows/build-cli-artifacts.yml @@ -33,12 +33,8 @@ on: type: number default: 4 secrets: - SENTRY_DSN: - required: false POSTHOG_API_KEY: required: false - POSTHOG_ENDPOINT: - required: false DF_FIREWALL_TOKEN: required: false @@ -52,9 +48,8 @@ jobs: timeout-minutes: ${{ inputs.timeout_minutes }} env: VERSION: ${{ inputs.version }} - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} - POSTHOG_ENDPOINT: ${{ secrets.POSTHOG_ENDPOINT }} + POSTHOG_ENDPOINT: ${{ vars.POSTHOG_ENDPOINT }} # Fail the build if the macOS signing tool is missing — release artifacts # must be signed (CLI-1621). Local builds without rcodesign degrade to a # warning instead. diff --git a/.github/workflows/publish-migra.yml b/.github/workflows/publish-migra.yml deleted file mode 100644 index ac061f0d3c..0000000000 --- a/.github/workflows/publish-migra.yml +++ /dev/null @@ -1,93 +0,0 @@ -name: Publish migra - -on: - workflow_dispatch: -permissions: - contents: read - -jobs: - settings: - runs-on: ubuntu-latest - outputs: - image_tag: supabase/migra:${{ steps.version.outputs.migra }} - steps: - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 - with: - load: true - context: https://github.com/djrobstep/migra.git - tags: supabase/migra:builder - - id: version - # Replace space with equal to get the raw version string, ie. migra=3.0.1663481299 - run: | - docker run --rm -a STDOUT supabase/migra:builder pip show migra \ - | grep 'Version' \ - | sed -E 's/Version: (.*)/migra=\1/g' \ - >> "$GITHUB_OUTPUT" - shell: bash - - build_image: - needs: - - settings - strategy: - matrix: - include: - - runner: [self-hosted, X64] - arch: amd64 - - runner: arm-runner - arch: arm64 - runs-on: ${{ matrix.runner }} - timeout-minutes: 180 - steps: - - run: docker context create builders - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - with: - endpoint: builders - - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - id: build - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 - with: - push: true - context: https://github.com/djrobstep/migra.git - tags: ${{ needs.settings.outputs.image_tag }}_${{ matrix.arch }} - platforms: linux/${{ matrix.arch }} - cache-from: type=gha,scope=${{ github.ref_name }}-migra-${{ matrix.arch }} - cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-migra-${{ matrix.arch - }} - - merge_manifest: - needs: - - settings - - build_image - runs-on: ubuntu-latest - steps: - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Merge multi-arch manifests - env: - IMAGE_TAG: ${{ needs.settings.outputs.image_tag }} - run: | - docker buildx imagetools create -t "${IMAGE_TAG}" \ - "${IMAGE_TAG}_amd64" \ - "${IMAGE_TAG}_arm64" - - publish: - needs: - - settings - - merge_manifest - permissions: - contents: read - packages: write - id-token: write - # Call workflow explicitly because events from actions cannot trigger more actions - uses: ./.github/workflows/mirror-image.yml - with: - image: ${{ needs.settings.outputs.image_tag }} - secrets: - PROD_AWS_ROLE: ${{ secrets.PROD_AWS_ROLE }} diff --git a/.github/workflows/publish-pg-prove.yml b/.github/workflows/publish-pg-prove.yml deleted file mode 100644 index f2b1ad1c07..0000000000 --- a/.github/workflows/publish-pg-prove.yml +++ /dev/null @@ -1,93 +0,0 @@ -name: Publish pg_prove - -on: - workflow_dispatch: -permissions: - contents: read - -jobs: - settings: - runs-on: ubuntu-latest - outputs: - image_tag: supabase/pg_prove:${{ steps.version.outputs.pg_prove }} - steps: - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 - with: - load: true - context: https://github.com/horrendo/pg_prove.git - target: builder - tags: supabase/pg_prove:builder - - id: version - # Replace space with equal to get the raw version string, ie. pg_prove=3.36 - run: | - docker run --rm -a STDOUT supabase/pg_prove:builder pg_prove --version \ - | tr ' ' '=' \ - >> "$GITHUB_OUTPUT" - shell: bash - - build_image: - needs: - - settings - strategy: - matrix: - include: - - runner: [self-hosted, X64] - arch: amd64 - - runner: arm-runner - arch: arm64 - runs-on: ${{ matrix.runner }} - timeout-minutes: 180 - steps: - - run: docker context create builders - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - with: - endpoint: builders - - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - id: build - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 - with: - push: true - context: https://github.com/horrendo/pg_prove.git - tags: ${{ needs.settings.outputs.image_tag }}_${{ matrix.arch }} - platforms: linux/${{ matrix.arch }} - cache-from: type=gha,scope=${{ github.ref_name }}-pg_prove-${{ matrix.arch }} - cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-pg_prove-${{ - matrix.arch }} - - merge_manifest: - needs: - - settings - - build_image - runs-on: ubuntu-latest - steps: - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Merge multi-arch manifests - env: - IMAGE_TAG: ${{ needs.settings.outputs.image_tag }} - run: | - docker buildx imagetools create -t "${IMAGE_TAG}" \ - "${IMAGE_TAG}_amd64" \ - "${IMAGE_TAG}_arm64" - - publish: - needs: - - settings - - merge_manifest - permissions: - contents: read - packages: write - id-token: write - # Call workflow explicitly because events from actions cannot trigger more actions - uses: ./.github/workflows/mirror-image.yml - with: - image: ${{ needs.settings.outputs.image_tag }} - secrets: - PROD_AWS_ROLE: ${{ secrets.PROD_AWS_ROLE }} diff --git a/.github/workflows/release-shared.yml b/.github/workflows/release-shared.yml index 4fa19bbd07..6c8245a40f 100644 --- a/.github/workflows/release-shared.yml +++ b/.github/workflows/release-shared.yml @@ -39,12 +39,8 @@ on: type: string default: supabase secrets: - SENTRY_DSN: - required: false POSTHOG_API_KEY: required: false - POSTHOG_ENDPOINT: - required: false GH_APP_PRIVATE_KEY: required: false ANTHROPIC_API_KEY: @@ -64,9 +60,7 @@ jobs: with: version: ${{ inputs.version }} secrets: - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} - POSTHOG_ENDPOINT: ${{ secrets.POSTHOG_ENDPOINT }} DF_FIREWALL_TOKEN: ${{ secrets.DF_FIREWALL_TOKEN }} build-github: @@ -79,9 +73,7 @@ jobs: timeout_minutes: 45 build_timeout_minutes: 20 secrets: - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} - POSTHOG_ENDPOINT: ${{ secrets.POSTHOG_ENDPOINT }} DF_FIREWALL_TOKEN: ${{ secrets.DF_FIREWALL_TOKEN }} smoke-test: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f32d098ac..9a0fd6e88e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -356,9 +356,7 @@ jobs: dry_run: ${{ needs.plan.outputs.dry_run == 'true' }} channel: ${{ needs.plan.outputs.channel }} secrets: - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} - POSTHOG_ENDPOINT: ${{ secrets.POSTHOG_ENDPOINT }} GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} DF_FIREWALL_TOKEN: ${{ secrets.DF_FIREWALL_TOKEN }}