Repository navigation
ci: stop uploading sqlmesh-tests to Tobiko's private registry - #6265
Conversation
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 <mdaytn@gmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
nicksspirit
left a comment
There was a problem hiding this comment.
Changes look good, we should merge this first before the other CI pr you created.
Description
Why
After publishing to PyPI, the release workflow packages
tests/assqlmesh-testsand uploads it to Tobiko's private package registry. #2270 added this in March 2024 so Tobiko's other repos could run SQLMesh's core tests, and #5729 carried it over when CI moved to GitHub Actions. SQLMesh is now a Linux Foundation project, so a community release shouldn't publish to one company's private registry, and this repo shouldn't hold that registry's credentials.The upload also runs after the PyPI upload, so if Tobiko's registry fails, the release run fails even though the package is already on PyPI.
How
.github/workflows/release.yaml..github/scripts/update-pypirc.sh, which only that step used.Toby has agreed to removing the upload. If anything still needs
sqlmesh-tests, its owner can build the package from a public release tag withmake package-tests.After this merges, a repo admin can delete the
TOBIKO_PRIVATE_PYPI_URLandTOBIKO_PRIVATE_PYPI_KEYsecrets. Thepublish-testsMakefile target still uploads totobiko-private. I've left it for a follow-up, since nothing in CI calls it after this change.Test Plan
release.yamlstill parses and that thepublishjob now ends with "Publish Python package".git grepfinds no remaining references toupdate-pypirc.shor theTOBIKO_PRIVATE_*secrets. The only remainingtobiko-privatereference is thepublish-testsMakefile target.v*.*.*tag, so this PR's CI doesn't exercise it. The next release is the first real run.Checklist
make styleand fixed any issues (not applicable: no files covered by the style hooks changed)make fast-test) (not applicable: CI config only)git commit -s) per the DCOSummary by CodeRabbit