Feature/update build automation#16
Open
alexlovelltroy wants to merge 3 commits into
Open
Conversation
…kout, and golangci-lint Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…ild automation dockers + docker_manifests → dockers_v2 — replaces ~65 lines of architecture-specific image templates + separate manifest declarations with a single 29-line block. GoReleaser now runs one docker buildx build that builds and pushes the manifest atomically. ARM support later is a one-line addition to platforms. OCI labels move from --label=… strings into a proper annotations map. changelog.use: github — uses GitHub's compare API to append @handle attribution on each release note entry, which is meaningful for an open-source project. Adds groups for structured release notes: Features / Bug Fixes / Others, using conventional-commit patterns. Also excludes chore: commits alongside the existing docs: and test:. Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
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.
Description
This pull request modernizes and improves the project's CI/CD workflows and release configuration. The main focus is on updating GitHub Actions to their latest versions, refactoring Docker image build and release processes, and introducing a new workflow for building and publishing the
ipmi-simcomponent. Additionally, the release configuration is updated to use the latest best practices and to improve changelog grouping.CI/CD Workflow Updates:
Updated all GitHub Actions in workflow files (such as
actions/checkout,actions/setup-go,docker/login-action,goreleaser/goreleaser-action, etc.) to their latest major versions for improved security, stability, and features.Added a new workflow,
.github/workflows/build_ipmi_sim.yaml, to build and publish theipmi-simDocker image when relevant files change or on manual dispatch. This workflow uses the latest Docker build and metadata actions and reads the version fromipmi_sim/VERSION. [1] [2]Release Configuration Improvements:
Refactored
.goreleaser.yamlto usedockers_v2for Docker image builds, simplifying image/tag definitions and annotations, and removed the olddockersanddocker_manifestssections. This aligns the release process with current GoReleaser best practices.Enhanced the changelog configuration in
.goreleaser.yamlto use GitHub as the source and to group entries by features, bug fixes, and others, while filtering out less relevant commit types.Build System Improvements:
Dockerfileto use theTARGETPLATFORMbuild argument, enabling multi-platform builds and making the image build process more flexible and future-proof.Other:
ipmi_sim/VERSIONto0.1.0to support the new build and publish workflow.Checklist
make test(or equivalent) locally and all tests passgit commit -s) with my real name and email<filename>.licensesidecarLICENSES/directoryType of Change
For more info, see Contributing Guidelines.