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: Add '--mirror-node-version' flag to override default mirror node version #616

Merged

Conversation

instamenta
Copy link
Contributor

Description

Add new optional '--mirror-node-version' flag to override default mirror node version. It can be supplied on the 'solo mirror-node deploy' command and changes the image tag.

Related Issues

@instamenta instamenta self-assigned this Sep 19, 2024
@instamenta instamenta requested review from leninmehedy and a team as code owners September 19, 2024 11:01
@instamenta instamenta linked an issue Sep 19, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Sep 19, 2024

Unit Test Results - Linux

  1 files  ±0   19 suites  ±0   28s ⏱️ +3s
119 tests ±0  119 ✅ ±0  0 💤 ±0  0 ❌ ±0 
145 runs  ±0  145 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 91b8c08. ± Comparison against base commit 71345e6.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 19, 2024

Unit Test Results - Windows

  1 files  ±0   19 suites  ±0   54s ⏱️ -1s
119 tests ±0  119 ✅ ±0  0 💤 ±0  0 ❌ ±0 
145 runs  ±0  145 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 91b8c08. ± Comparison against base commit 71345e6.

♻️ This comment has been updated with latest results.

Copy link
Contributor

E2E Test Report

 10 files  ±0   20 suites  ±0   49m 16s ⏱️ +59s
168 tests ±0  168 ✅ ±0  0 💤 ±0  0 ❌ ±0 
171 runs  ±0  171 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 1c59ff1. ± Comparison against base commit 11880c5.

Copy link
Contributor

github-actions bot commented Sep 19, 2024

E2E Test Report

 10 files  ±0   20 suites  ±0   48m 14s ⏱️ - 1m 48s
170 tests +2  170 ✅ +2  0 💤 ±0  0 ❌ ±0 
173 runs  +2  173 ✅ +2  0 💤 ±0  0 ❌ ±0 

Results for commit 91b8c08. ± Comparison against base commit 71345e6.

♻️ This comment has been updated with latest results.

Copy link

codacy-production bot commented Sep 19, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.01% (target: -1.00%) 90.91%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (71345e6) 4067 3293 80.97%
Head commit (91b8c08) 4074 (+7) 3299 (+6) 80.98% (+0.01%)

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 (#616) 11 10 90.91%

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 Sep 19, 2024

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.83%. Comparing base (71345e6) to head (91b8c08).
Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
src/commands/prompts.mjs 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #616      +/-   ##
==========================================
- Coverage   80.86%   80.83%   -0.03%     
==========================================
  Files          37       37              
  Lines        4880     4885       +5     
  Branches      683      684       +1     
==========================================
+ Hits         3946     3949       +3     
- Misses        934      936       +2     
Files with missing lines Coverage Δ
src/commands/flags.mjs 96.05% <100.00%> (+0.05%) ⬆️
src/commands/mirror_node.mjs 66.24% <100.00%> (+0.43%) ⬆️
src/core/chart_manager.mjs 89.55% <100.00%> (ø)
src/commands/prompts.mjs 63.19% <0.00%> (-0.90%) ⬇️

Impacted file tree graph

Signed-off-by: instamenta <[email protected]>
Signed-off-by: instamenta <[email protected]>
@instamenta instamenta merged commit e4932c4 into main Sep 20, 2024
30 of 31 checks passed
@instamenta instamenta deleted the 00495-add-a-means-to-configure-solos-mirror-node-version branch September 20, 2024 07:12
swirlds-automation added a commit that referenced this pull request Oct 4, 2024
## [0.31.0](v0.30.1...v0.31.0) (2024-10-04)

### Features

* Add '--mirror-node-version' flag to override default mirror node version ([#616](#616)) ([e4932c4](e4932c4))
* add quiet flag ([#621](#621)) ([b068c8f](b068c8f))
* convert hugo docs workflow calls to use Taskfile task ([#642](#642)) ([ae8d8bb](ae8d8bb))
* ensured user-provided values file takes precedence over solo-generated values ([#615](#615)) ([1b0ffc9](1b0ffc9))
* **logging:** Add the new custom process output class and inject it into the default list renderer options ([#622](#622)) ([efa1783](efa1783))
* separate commands for solo node delete ([#597](#597)) ([b251276](b251276))
* Separate network upgrade and freeze from node update/add/delete command ([#628](#628)) ([9b17937](9b17937))

### Bug Fixes

* Direct calling of node stop and start commands ([#636](#636)) ([7749b04](7749b04))
* **docs:** resolve issues due to npx in taskfile for the custom-network-config example ([038e6df](038e6df))
* jsdoc failed but ci job not failed ([#608](#608)) ([3f838f6](3f838f6))
* specify jvm env variables explicitly for local profile ([#405](#405)) ([3db7e08](3db7e08))
* **tests:** start Kind cluster on demand if not having a kube config errors ([#624](#624)) ([538e40d](538e40d))
* upgrade eslint config away from abandoned plugin ([#643](#643)) ([84d3dc5](84d3dc5))
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 0.31.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a means to configure Solo's mirror node version
3 participants