π― Epic: GitHub Actions Support for Platform Portability
Implement GitHub Actions workflow components equivalent to our GitLab CI pipeline, enabling hephy-builder to work seamlessly across both platforms.
π Current State
- β
GitLab CI: Full implementation in
.gitlab-ci.yml (495 lines, production ready)
- β GitHub Actions: Not yet implemented
- π Design:
PLATFORM_PORTABILITY.md contains initial architecture planning
ποΈ Architecture Vision
Component-Based Design
hephy-builder/
βββ github/
β βββ workflows/
β β βββ hephy-build.yml # Reusable workflow
β β βββ hephy-deploy.yml # Optional deployment
β βββ actions/
β βββ prepare/ # Change detection action
β βββ build/ # Multi-arch build action
β βββ manifest/ # Manifest creation action
βββ gitlab/
β βββ hephy-build.yml # Include template
β βββ components/ # Job templates
βββ shared/
βββ scripts/ # Platform-agnostic scripts
βββ configs/ # Default configurations
π§ Implementation Phases
Phase 1: Core Workflow Translation
Phase 2: Reusable Actions
Phase 3: Platform Abstraction
Phase 4: Enterprise Features
π Technical Requirements
GitHub Actions Workflow Features
- Multi-arch support: Leverage GitHub's
runs-on matrix for amd64/arm64
- ECR authentication: AWS configure-credentials action integration
- Change detection: Port
hack/prepare_diff.sh to GitHub context
- Artifact management: Use GitHub Actions artifacts for build coordination
- Conditional execution: Smart job skipping based on architecture needs
Backward Compatibility
- β
Zero breaking changes: Existing GitLab CI continues unchanged
- β
Configuration compatibility: Same
build-config.yaml format
- β
Registry support: All existing destinations (ECR, Docker Hub, etc.)
π― Success Criteria
Functional Parity
Developer Experience
Testing Validation
π Related Issues
This epic supports:
π‘ Implementation Strategy
Incremental Development
- Start with simple workflow: Single-arch builds first
- Add multi-arch support: Leverage GitHub's runner matrix
- Extract reusable actions: Package for community use
- Add platform abstraction: Support both GitLab and GitHub
Community Impact
- Lower barrier to entry: GitHub Actions more accessible than GitLab CI
- Broader adoption: Tap into GitHub's massive developer base
- Enterprise appeal: Support both major Git platforms
- Open source growth: Easier for contributors to test and contribute
π Resources
GitHub Actions Documentation
Reference Implementations
- Existing GitLab CI pipeline (
.gitlab-ci.yml)
hack/prepare_diff.sh change detection logic
- Multi-arch manifest creation patterns
Testing Infrastructure
- GitHub-hosted runners (amd64/arm64)
- ECR registry access
- Test repositories for validation
This is a high-impact issue that transforms hephy-builder from "GitLab-only" to "platform-portable" - a key differentiator in the modern CI/CD landscape.
π― Epic: GitHub Actions Support for Platform Portability
Implement GitHub Actions workflow components equivalent to our GitLab CI pipeline, enabling hephy-builder to work seamlessly across both platforms.
π Current State
.gitlab-ci.yml(495 lines, production ready)PLATFORM_PORTABILITY.mdcontains initial architecture planningποΈ Architecture Vision
Component-Based Design
π§ Implementation Phases
Phase 1: Core Workflow Translation
.gitlab-ci.ymlPhase 2: Reusable Actions
kingdon-ci/hephy-builder-actionrepositoryPhase 3: Platform Abstraction
.hephy/config.yamlformat for platform-agnostic configurationPhase 4: Enterprise Features
π Technical Requirements
GitHub Actions Workflow Features
runs-onmatrix for amd64/arm64hack/prepare_diff.shto GitHub contextBackward Compatibility
build-config.yamlformatπ― Success Criteria
Functional Parity
Developer Experience
Testing Validation
π Related Issues
This epic supports:
π‘ Implementation Strategy
Incremental Development
Community Impact
π Resources
GitHub Actions Documentation
Reference Implementations
.gitlab-ci.yml)hack/prepare_diff.shchange detection logicTesting Infrastructure
This is a high-impact issue that transforms hephy-builder from "GitLab-only" to "platform-portable" - a key differentiator in the modern CI/CD landscape.