hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

build: automate publishing to Maven Central

Open jjohannes opened this issue 1 year ago • 12 comments

Description:

  • Fully automate publishing to Maven Central (by utilizing https://github.com/gradle-nexus/publish-plugin)
  • Publish all Modules of services (hedera-node)
  • Publish all Modules of storage (block-node)

As a side effect, assemble and qualityGate now also build the Javadoc and find Javadoc errors. This PR fixes the errors that were found.

Note: new/reworked convention plugin files follow the naming pattern that will be used consistently with #12997

Related issue(s):

Fixes #11237

Notes for reviewer:

Checklist

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

jjohannes avatar Feb 26 '24 10:02 jjohannes

Node: HAPI Test (Restart) Results

2 tests   2 :white_check_mark:  5m 23s :stopwatch: 2 suites  0 :zzz: 2 files    0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 11:02 github-actions[bot]

Node: HAPI Test (Node Death Reconnect) Results

2 tests   2 :white_check_mark:  6m 55s :stopwatch: 2 suites  0 :zzz: 2 files    0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 11:02 github-actions[bot]

Node: HAPI Test (Token) Results

235 tests   233 :white_check_mark:  19m 20s :stopwatch:  17 suites    2 :zzz:  17 files      0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 11:02 github-actions[bot]

Node: HAPI Test (Crypto) Results

335 tests   335 :white_check_mark:  42m 45s :stopwatch:  25 suites    0 :zzz:  25 files      0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 11:02 github-actions[bot]

Node: E2E Test Results

    1 files      1 suites   25m 26s :stopwatch: 311 tests 311 :heavy_check_mark: 0 :zzz: 0 :x: 333 runs  333 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit c4310bf8.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 11:02 github-actions[bot]

Node: HAPI Test (Misc) Results

459 tests   449 :white_check_mark:  43m 49s :stopwatch:  77 suites   10 :zzz:  77 files      0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 12:02 github-actions[bot]

Node: HAPI Test (Time Consuming) Results

21 tests   21 :white_check_mark:  54m 30s :stopwatch:  3 suites   0 :zzz:  3 files     0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 12:02 github-actions[bot]

Node: HAPI Test (Smart Contract) Results

592 tests   592 :white_check_mark:  1h 19m 1s :stopwatch:  63 suites    0 :zzz:  63 files      0 :x:

Results for commit b7c39772.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 12:02 github-actions[bot]

Node: Integration Test Results

    5 files      5 suites   1h 6m 34s :stopwatch: 322 tests 322 :heavy_check_mark: 0 :zzz: 0 :x: 333 runs  333 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit c4310bf8.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 12:02 github-actions[bot]

Node: Unit Test Results

  2 280 files  ±0    2 280 suites  ±0   3h 28m 22s :stopwatch: + 1h 8m 50s 118 804 tests +2  118 737 :white_check_mark: +2  67 :zzz: ±0  0 :x: ±0  127 289 runs  +2  127 222 :white_check_mark: +2  67 :zzz: ±0  0 :x: ±0 

Results for commit b7c39772. ± Comparison against base commit 936032ab.

This pull request removes 3976 and adds 3741 tests. Note that renamed tests count towards both.

  
             IssuerDN: CN=s-aaaa
            SubjectDN: CN=s-aaaa
           Final Date: Fri Jan 01 00:00:00 UTC 2100
           Public Key: RSA Public Key [2e:28:bc:1e:d3:83:25:92:8e:cb:98:b1:b6:84:06:9c:d5:d8:14:d5],[56:66:d1:a4]
           Start Date: Sat Jan 01 00:00:00 UTC 2000
         SerialNumber: 12482092706667292405
        modulus: c1a0ff5d2372b53d12d12bb87dd03f5e…
        modulus: c1a0ff5d2372b53d12d12bb87dd03f5…
…
com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [4] 

com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [6] 

com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [7]   
  
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [10] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@dae8ada2
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [11] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@8304875c
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [12] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@bdb88569
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [13] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@40fa07b9
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [14] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@e15d02d
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [15] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@5894eee2
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [16] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@8069ed5
…

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 26 '24 13:02 github-actions[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.80%. Comparing base (f2ac254) to head (fa07dce). Report is 1 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #11731      +/-   ##
=============================================
- Coverage      61.80%   61.80%   -0.01%     
+ Complexity     30620    30619       -1     
=============================================
  Files           3382     3382              
  Lines         138320   138320              
  Branches       14528    14528              
=============================================
- Hits           85488    85485       -3     
- Misses         49133    49136       +3     
  Partials        3699     3699              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 26 '24 13:02 codecov[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.81%. Comparing base (fbcf796) to head (c4310bf). Report is 384 commits behind head on develop.

:exclamation: Current head c4310bf differs from pull request most recent head b7c3977. Consider uploading reports for the commit b7c3977 to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #11731      +/-   ##
=============================================
+ Coverage      61.60%   61.81%   +0.20%     
- Complexity     30675    30731      +56     
=============================================
  Files           3400     3394       -6     
  Lines         139317   138855     -462     
  Branches       14567    14558       -9     
=============================================
+ Hits           85822    85828       +6     
+ Misses         49748    49321     -427     
+ Partials        3747     3706      -41     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Feb 29 '24 07:02 codecov-commenter