From b9466c5742c763f2acab8e04d0b4cfe5bb0e03d2 Mon Sep 17 00:00:00 2001 From: mday-io Date: Wed, 25 Nov 2026 16:07:59 -0500 Subject: [PATCH] ci: stop uploading sqlmesh-tests to Tobiko's private registry The release workflow packaged tests/ as sqlmesh-tests and uploaded it to Tobiko's private package registry after publishing to PyPI. Remove that upload and the script that configured the registry, so releases no longer need the TOBIKO_PRIVATE_PYPI_URL and TOBIKO_PRIVATE_PYPI_KEY secrets. Signed-off-by: mday-io --- .github/scripts/update-pypirc.sh | 8 -------- .github/workflows/release.yaml | 7 ------- 2 files changed, 15 deletions(-) delete mode 100755 .github/scripts/update-pypirc.sh diff --git a/.github/scripts/update-pypirc.sh b/.github/scripts/update-pypirc.sh deleted file mode 100755 index c5cbb13339..0000000000 --- a/.github/scripts/update-pypirc.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -echo "[distutils]" >> ~/.pypirc -echo "index-servers = tobiko-private" >> ~/.pypirc -echo "[tobiko-private]" >> ~/.pypirc -echo "repository = $TOBIKO_PRIVATE_PYPI_URL" >> ~/.pypirc -echo "username = _json_key_base64" >> ~/.pypirc -echo "password = $TOBIKO_PRIVATE_PYPI_KEY" >> ~/.pypirc diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 145f301769..209e7ea7e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,13 +55,6 @@ jobs: env: TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - - name: Update pypirc for private repository - run: ./.github/scripts/update-pypirc.sh - env: - TOBIKO_PRIVATE_PYPI_URL: ${{ secrets.TOBIKO_PRIVATE_PYPI_URL }} - TOBIKO_PRIVATE_PYPI_KEY: ${{ secrets.TOBIKO_PRIVATE_PYPI_KEY }} - - name: Publish Python Tests package - run: unset TWINE_USERNAME TWINE_PASSWORD && make publish-tests gh-release: runs-on: ubuntu-24.04