Set up complete CI/CD for monorepo#11
Merged
Merged
Conversation
Workflows:
- ci.yml: Path-filtered build/test/lint for each tool
- auto-release-{cfl,jtk}.yml: Auto-create tags on feat:/fix: commits
- release-{cfl,jtk}.yml: GoReleaser builds triggered by tags
- chocolatey-publish-{cfl,jtk}.yml: Manual Chocolatey publishing
- winget-publish-{cfl,jtk}.yml: Manual Winget publishing
- test-chocolatey.yml: Validate Chocolatey packaging
- test-winget.yml: Validate Winget manifests
GoReleaser:
- .goreleaser-cfl.yml / .goreleaser-jtk.yml at repo root
- Builds for darwin/linux/windows on amd64/arm64
- Generates .deb, .rpm packages
- Updates Homebrew tap automatically
Packaging updates:
- All URLs point to atlassian-cli repo
- Tag format: {tool}-v{version} (e.g., cfl-v0.9.150)
- Use golangci-lint-action@v7 for golangci-lint v2 support - Fix PowerShell variable initialization in chocolatey tests - Use pre-installed winget on windows-latest runners
Copy manifests to temp dir with test values to avoid README.md being picked up by winget validate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the full CI/CD pipeline for the atlassian-cli monorepo with path filtering, independent release tracks, and multi-platform builds.
Workflows Created
ci.ymlauto-release-cfl.ymlauto-release-jtk.ymlrelease-cfl.ymlcfl-v*release-jtk.ymljtk-v*chocolatey-publish-cfl.ymlchocolatey-publish-jtk.ymlwinget-publish-cfl.ymlwinget-publish-jtk.ymltest-chocolatey.ymltest-winget.ymlGoReleaser Configs
.goreleaser-cfl.ymland.goreleaser-jtk.ymlat repo rootPackaging Updates
{tool}-v{version}(e.g.,cfl-v0.9.150,jtk-v0.1.75)Test plan
Required Secrets (for releases)
Before first release, ensure these secrets are configured:
TAP_GITHUB_TOKEN- PAT to push tags + update Homebrew tapCHOCOLATEY_API_KEY- Chocolatey API keyWINGET_GITHUB_TOKEN- PAT for Winget PR submissionsCloses #10