Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Comments

feat: migrate to shared-workflows#38

Merged
mairas merged 1 commit intomainfrom
feat/use-shared-workflows
Nov 21, 2025
Merged

feat: migrate to shared-workflows#38
mairas merged 1 commit intomainfrom
feat/use-shared-workflows

Conversation

@mairas
Copy link
Contributor

@mairas mairas commented Nov 21, 2025

Summary

  • Add versioning scripts for shared-workflows compatibility
  • Replace workflow implementations with thin callers to hatlabs/shared-workflows
  • Adopt upstream+revision versioning pattern (e.g., v4.0.7+1_pre)

Details

This PR migrates the CI/CD workflows to use the centralized shared-workflows:

  • pr.yml → calls pr-checks.yml
  • main.yml → calls build-release.yml (with ARM64 runner)
  • release.yml → calls publish-stable.yml

New scripts added for shared-workflows compatibility:

  • calculate-revision.sh - auto-incrementing revision numbers
  • generate-changelog.sh - dynamic debian/changelog generation
  • rename-packages.sh - ARM64 package naming with distro+component suffix

Required Action

The repository needs APT_REPO_PAT secret to be configured (the shared-workflows uses this name instead of REPO_DISPATCH_PAT).

Breaking Change

This changes the versioning pattern from simple tags (v4.0.7) to revision-based tags (v4.0.7+1_pre).

Test plan

  • PR checks pass (tests run via shared workflow)
  • Verify APT_REPO_PAT secret is configured
  • After merge, main branch CI/CD creates pre-release with new tag format

Part of: halos-org/halos#32

🤖 Generated with Claude Code

Add versioning scripts and replace workflow implementations with
thin callers to hatlabs/shared-workflows:

- Add calculate-revision.sh for auto-incrementing revisions
- Add generate-changelog.sh for dynamic changelog generation
- Add rename-packages.sh for ARM64 package naming
- Update workflows to use shared-workflows

Uses ARM64 runner for builds (ubuntu-latest-arm64).

This adopts the upstream+revision versioning pattern for consistent
CI/CD across all Hat Labs repositories.

Note: Repository needs APT_REPO_PAT secret (previously REPO_DISPATCH_PAT).

Part of: halos-org/halos#32

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@mairas mairas merged commit 5edde04 into main Nov 21, 2025
1 check passed
@mairas mairas deleted the feat/use-shared-workflows branch November 21, 2025 22:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant