Skip to content

Migrate Jenkinsfile.monarch-ci from Poetry to uv#198

Merged
kevinschaper merged 1 commit into
masterfrom
migrate-monarch-ci-jenkinsfile-to-uv
May 7, 2026
Merged

Migrate Jenkinsfile.monarch-ci from Poetry to uv#198
kevinschaper merged 1 commit into
masterfrom
migrate-monarch-ci-jenkinsfile-to-uv

Conversation

@kevinschaper

Copy link
Copy Markdown
Collaborator

Summary

Master is now a uv project (after #197) but `Jenkinsfile.monarch-ci` still ran `poetry install` and was failing on the kozahub-metadata-schema git dep:

```
Because kg-phenio depends on kozahub-metadata-schema (*) which doesn't
match any versions, version solving failed.
```

Same migration as the other Jenkinsfile and qc.yml: install uv at the start of Build, replace `poetry install` with `uv sync`, and `poetry run python3 X` with `uv run python X`. Drop `/opt/poetry/bin` from PATH; put the workspace's `~/.local/bin` on PATH instead so subsequent stages can call uv.

Also brings this pipeline up to par with the other Jenkinsfile in release-metadata terms:

  • New `Metadata` stage between `Merge` and `Publish` that emits `output/release-metadata.yaml`.
  • `release_assets/` now includes `release-metadata.yaml` so the GitHub release exposes the build receipt to monarch-ingest.

Master is now a uv project (PR #197) but Jenkinsfile.monarch-ci still
ran `poetry install`, which fails:

  Because kg-phenio depends on kozahub-metadata-schema (*) which doesn't
  match any versions, version solving failed.

Same migration as the other Jenkinsfile and qc.yml: install uv, replace
poetry install with `uv sync`, and `poetry run python3 X` with
`uv run python X`. Drop /opt/poetry/bin from PATH; put the workspace's
~/.local/bin on PATH instead so subsequent stages can call uv.

Also brings this pipeline up to par with the other Jenkinsfile in
release-metadata terms:
- New Metadata stage between Merge and Publish that emits
  output/release-metadata.yaml.
- The release asset list now includes release-metadata.yaml so the
  GitHub release exposes the build receipt to monarch-ingest.
@kevinschaper
kevinschaper merged commit 255f91b into master May 7, 2026
3 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.

1 participant