Skip to content

feat: GitOps release pipeline with TestPyPI staging and setuptools-scm#30

Merged
placerda merged 3 commits into
developfrom
feature/gitops-release-pipeline
Mar 23, 2026
Merged

feat: GitOps release pipeline with TestPyPI staging and setuptools-scm#30
placerda merged 3 commits into
developfrom
feature/gitops-release-pipeline

Conversation

@Dongbumlee
Copy link
Copy Markdown
Collaborator

  • Migrate versioning from static pyproject.toml to setuptools-scm (version derived automatically from git tags, no manual bumps)
  • Split release workflow into 3 files with reusable build:
    • _build.yml: reusable build workflow (test + package)
    • staging.yml: release/* branch -> TestPyPI + verify
    • release.yml: v* tag -> TestPyPI + verify -> PyPI (approval) -> GitHub Release
  • CLI smoke test: agentops --version, --help, init in temp directory
  • Fix secret reference PIPY_TOKEN -> PYPI_TOKEN, add TEST_PYPI_TOKEN
  • Two GitHub environments: staging (TestPyPI) and release (PyPI, approval gate)
  • Add consistent workflow index header across all CI/CD files

Dongbumlee and others added 3 commits March 23, 2026 12:23
- Migrate versioning from static pyproject.toml to setuptools-scm
  (version derived automatically from git tags, no manual bumps)
- Split release workflow into 3 files with reusable build:
  - _build.yml: reusable build workflow (test + package)
  - staging.yml: release/* branch -> TestPyPI + verify
  - release.yml: v* tag -> TestPyPI + verify -> PyPI (approval) -> GitHub Release
- CLI smoke test: agentops --version, --help, init in temp directory
- Fix secret reference PIPY_TOKEN -> PYPI_TOKEN, add TEST_PYPI_TOKEN
- Two GitHub environments: staging (TestPyPI) and release (PyPI, approval gate)
- Add consistent workflow index header across all CI/CD files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Step-by-step guide covering staging (TestPyPI) and production (PyPI)
release workflows, setuptools-scm versioning, environment setup,
release checklist, and troubleshooting.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@placerda placerda merged commit 5164836 into develop Mar 23, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants