-
Notifications
You must be signed in to change notification settings - Fork 7
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: Separate network upgrade and freeze from node update/add/delete command #628
feat: Separate network upgrade and freeze from node update/add/delete command #628
Conversation
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Unit Test Results - Linux 1 files ±0 19 suites ±0 28s ⏱️ -1s Results for commit b5303d3. ± Comparison against base commit 5b9d19d. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
…om-node-updateadddelete-command
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Unit Test Results - Windows 1 files ±0 19 suites ±0 54s ⏱️ -2s Results for commit b5303d3. ± Comparison against base commit 5b9d19d. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Signed-off-by: Ivo Yankov <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #628 +/- ##
==========================================
- Coverage 80.25% 79.65% -0.60%
==========================================
Files 37 42 +5
Lines 5009 5068 +59
Branches 767 705 -62
==========================================
+ Hits 4020 4037 +17
- Misses 988 1030 +42
Partials 1 1
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
…om-node-updateadddelete-command # Conflicts: # src/commands/node.mjs # src/core/helpers.mjs
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
…om-node-updateadddelete-command # Conflicts: # .github/workflows/flow-build-application.yaml # .github/workflows/flow-pull-request-checks.yaml # .github/workflows/templates/config.yaml # .github/workflows/zxc-code-analysis.yaml # .github/workflows/zxc-env-vars.yaml # package.json # src/commands/node.mjs # src/core/helpers.mjs
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
…d-freeze-from-node-updateadddelete-command # Conflicts: # src/commands/node.mjs
…om-node-updateadddelete-command # Conflicts: # src/commands/node.mjs # test/e2e/e2e_node_util.js
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
## [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))
🎉 This PR is included in version 0.31.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Adds the following new commands:
solo node prepare-upgrade
solo node freeze-upgrade
solo node download-generated-files
Adds an initial code structure for a refactor of
node.mjs
. The logic related to allnode
commands will be structured like this:When the refactor is completed
node.mjs
will be deleted. All initializations and command definitions will be moved tocommands/node/index.mjs
. This PR proposes the definition of a single command to be structured like this, using the newYargsCommand
class:handler
functions should be moved tocommands/node/handlers.mjs
(this is not present in the PR). Handlers combine separate task methods fromtasks.mjs
.configs.mjs
is responsible for building theconfig
objects. The configBuilder functions are called during the initialization step of every command.requiredFlags
- Those flags have to be defined when calling the command.requiredFlagsWithDisabledPrompt
- those are required to be present, but can be omitted when calling the command, in which case the value will be populated from cache. If no value is found an error will be thrown.optionalFlags
- value is not required. Seecommands/node/flags.mjs
for the proposed structure.Related Issues