Skip to content

Add release workflow (draft release, GHCR image, tag, devops dispatch)#36

Merged
automergerpr-permission-manager[bot] merged 5 commits into
masterfrom
feature/release-workflow
May 14, 2026
Merged

Add release workflow (draft release, GHCR image, tag, devops dispatch)#36
automergerpr-permission-manager[bot] merged 5 commits into
masterfrom
feature/release-workflow

Conversation

@F-WRunTime
Copy link
Copy Markdown
Member

@F-WRunTime F-WRunTime commented May 14, 2026

Summary

Adds .github/workflows/release.yml on pushes to release:

  • Draft GitHub release for v$(cat package/version)
  • Docker: build root Dockerfile, push to ghcr.io/runtimeverification/kompass with tags ubuntu-jammy-<package/version> and ubuntu-jammy-latest (KMIR_VERSION from deps/kmir_release)
  • Rollback: delete draft release if image push fails
  • Tag + publish: tag v<version> from origin/release, finalize release, repository_dispatch to devops (JENKINS_GITHUB_PAT) for dependent updates

Runners

  • release-docker: [self-hosted, linux, normal]
  • tag-release: [self-hosted, linux, flyweight]

Permissions

Workflow uses contents: write and packages: write for releases and GHCR.

F-WRunTime and others added 3 commits May 14, 2026 11:15
Mirror the mir-semantics release pipeline: draft release on push to
release, build and push the Kompass container to GHCR, tag and
finalize the release, notify devops dependents, and populate Nix
caches (k-framework and k-framework-binary) with a Cachix pin
check for the kompass flake output.

Co-authored-by: Cursor <cursoragent@cursor.com>
Run tag-release on flyweight runners; drop Cachix/kup jobs and
check-cachix-pin.sh now that the release path is Docker-only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@F-WRunTime F-WRunTime changed the title Add release workflow (draft release, GHCR image, tag, Nix caches) Add release workflow (draft release, GHCR image, tag, devops dispatch) May 14, 2026
@F-WRunTime F-WRunTime requested review from Copilot and mariaKt May 14, 2026 17:34
@F-WRunTime F-WRunTime self-assigned this May 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a release workflow for pushes to the release branch and bumps the Kompass package version to 0.1.22.

Changes:

  • Adds .github/workflows/release.yml to draft a GitHub release, build/push GHCR Docker images, tag the release branch, publish the release, and dispatch dependent updates.
  • Updates project/package version metadata from 0.1.21 to 0.1.22.
  • Refreshes uv.lock to reflect the version update.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml Adds the automated release, Docker publish, tag, finalize, and devops dispatch workflow.
package/version Bumps the release version to 0.1.22.
pyproject.toml Updates the Python package version to 0.1.22.
uv.lock Updates locked project metadata for the new version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml
F-WRunTime and others added 2 commits May 14, 2026 11:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

Comment on lines +32 to +36
gh release create "${VERSION}" \
--repo runtimeverification/kompass \
--draft \
--title ${VERSION} \
--target ${{ github.sha }}

- name: Tag Release Branch
run: |
git tag "v$(cat package/version)" origin/release
Copy link
Copy Markdown
Contributor

@mariaKt mariaKt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, approved.

@automergerpr-permission-manager automergerpr-permission-manager Bot merged commit 9351ea2 into master May 14, 2026
9 checks passed
@automergerpr-permission-manager automergerpr-permission-manager Bot deleted the feature/release-workflow branch May 14, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants