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

ci: Updating GitHub actions to use semantic versioning. #16598

Closed
wants to merge 42 commits into from

Conversation

san-est
Copy link
Contributor

@san-est san-est commented Nov 14, 2024

Description:
This PR aims to update the release workflows to use semantic versioning. The changes that have been done are re-work of node-flow-deploy-release-artifact.yaml and node-zxc-build-release-artifact.yaml. I've also added .releaserc.json.

Related issue(s):

Fixes #14967
Fixes #11781

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@san-est san-est added the github_actions Pull requests that update GitHub Actions code label Nov 14, 2024
@san-est san-est added this to the v0.57 milestone Nov 14, 2024
@san-est san-est self-assigned this Nov 14, 2024
Copy link

codacy-production bot commented Nov 14, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (1e4a206) 95739 65129 68.03%
Head commit (d0aee00) 95739 (+0) 65129 (+0) 68.03% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#16598) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.30%. Comparing base (7229541) to head (57b2fe9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #16598   +/-   ##
=========================================
  Coverage     67.30%   67.30%           
  Complexity    21996    21996           
=========================================
  Files          2582     2582           
  Lines         96248    96248           
  Branches      10055    10055           
=========================================
  Hits          64775    64775           
  Misses        27779    27779           
  Partials       3694     3694           

Impacted file tree graph

Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks really good! A few --very minor-- change requests and then it looks like we'll need to generate an NPM_TOKEN

.github/workflows/node-flow-deploy-release-artifact.yaml Outdated Show resolved Hide resolved
.github/workflows/node-flow-deploy-release-artifact.yaml Outdated Show resolved Hide resolved
.github/workflows/node-zxc-build-release-artifact.yaml Outdated Show resolved Hide resolved
@san-est san-est force-pushed the semantic-release-workflow-update branch from c0338a4 to 4dd189d Compare November 15, 2024 16:34
Signed-off-by: Vasil Boyadzhiev <vasil.boyadzhiev@limechain.tech>
@san-est san-est force-pushed the semantic-release-workflow-update branch from 4dd189d to f3856c7 Compare November 15, 2024 16:39
@san-est san-est marked this pull request as ready for review November 18, 2024 08:46
@san-est san-est requested review from a team as code owners November 18, 2024 08:46
@san-est san-est requested a review from leninmehedy November 18, 2024 08:46
rbarkerSL
rbarkerSL previously approved these changes Nov 19, 2024
Copy link
Contributor

@rbarkerSL rbarkerSL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Has this been tested yet?
@andrewb1269hg @san-est

@andrewb1269hg
Copy link
Contributor

I have a meeting with Nathan and Roger tomorrow to chat about the appropriate testing process to ensure we test this adequately before merging it to the mainline.

Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
@andrewb1269hg andrewb1269hg force-pushed the semantic-release-workflow-update branch from 77f22da to d5b496a Compare December 6, 2024 19:13
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
@rbarkerSL rbarkerSL modified the milestones: v0.57, v0.59 Jan 7, 2025
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
@andrewb1269hg
Copy link
Contributor

This is a draft PR at this time.

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (7229541) 96031 68318 71.14%
Head commit (57b2fe9) 96031 (+0) 68318 (+0) 71.14% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#16598) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Andrew Brandt <andrew.brandt@hashgraph.com>
@andrewb1269hg andrewb1269hg force-pushed the semantic-release-workflow-update branch from 35836a8 to 0cd6036 Compare January 8, 2025 21:29
@andrewb1269hg andrewb1269hg deleted the semantic-release-workflow-update branch January 8, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
4 participants