Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): refactor ci/cd to avoid code duplication #353

Merged
merged 17 commits into from
Oct 21, 2024

Conversation

corrieriluca
Copy link
Member

@corrieriluca corrieriluca commented Oct 20, 2024

This pull request involves significant updates to the GitHub Actions workflows and some minor configuration changes. The main changes include the creation of new workflows for building, pushing, and continuous integration, as well as updates to existing workflows and configuration files.

GitHub Actions Workflows:

  • New Workflows:

    • Added a build-and-push.yaml workflow for building and pushing Docker images with multi-platform support. (.github/workflows/build-and-push.yaml). Fixes feat(ci): distribute build on multiple runners #340
    • Created a ci.yaml from the merge of main.yaml and pr.yaml that were identical (.github/workflows/ci.yaml)
  • Updated Actions Versions (this will close several Renovate PRs):

    • Updated conventional-commits.yaml to use a specific version of actions/setup-node. (.github/workflows/conventional-commits.yaml)
    • Updated docs.yaml to use specific versions of actions/setup-python and actions/cache. (.github/workflows/docs.yaml)
    • Modified release.yaml to use specific versions of actions/setup-go and goreleaser/goreleaser-action. (.github/workflows/release.yaml) [1] [2] [3]

Configuration Changes:

  • Goreleaser Configuration:

    • Updated .goreleaser.yaml to version 2 and made minor formatting changes. (.goreleaser.yaml) [1] [2]
  • Dockerfile:

    • Changed the FROM instruction to use uppercase AS for the build stage. (Dockerfile)

@corrieriluca corrieriluca force-pushed the chore/update-ci-actions branch from 7640356 to 3f3b1ae Compare October 20, 2024 16:00
@corrieriluca corrieriluca changed the title chore(ci): update actions versions feat(ci): refactor ci/cd to avoid duplications Oct 20, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.99%. Comparing base (7212da8) to head (f33779f).
Report is 25 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #353      +/-   ##
==========================================
+ Coverage   44.53%   50.99%   +6.46%     
==========================================
  Files          64       73       +9     
  Lines        4188     4334     +146     
==========================================
+ Hits         1865     2210     +345     
+ Misses       2196     1935     -261     
- Partials      127      189      +62     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@corrieriluca corrieriluca changed the title feat(ci): refactor ci/cd to avoid duplications feat(ci): refactor ci/cd to avoid code duplication Oct 20, 2024
@LucasMrqes LucasMrqes merged commit 5e2aafd into main Oct 21, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(ci): distribute build on multiple runners
3 participants