hashgraph / solo

An opinionated CLI tool to deploy and manage standalone test networks.
Apache License 2.0
27 stars 7 forks source link

feat: Implement solo context use #863

Open Ivo-Yankov opened 3 days ago

Ivo-Yankov commented 3 days ago

Description

This pull request changes the following:

Related Issues

github-actions[bot] commented 3 days ago

Unit Test Results - Linux

1 files  ±  0  3 suites   - 33   0s ⏱️ -3s 7 tests  - 102  7 ✅  - 102  0 💤 ±0  0 ❌ ±0  7 runs   - 111  7 ✅  - 111  0 💤 ±0  0 ❌ ±0 

Results for commit e5db03f0. ± Comparison against base commit 13ea46d7.

This pull request removes 109 and adds 7 tests. Note that renamed tests count towards both. ``` getConfig tracks property usage ‑ BaseCommand runShell getConfig tracks property usage prepareValuesForSoloChart should set the value of a key to the contents of a file ‑ ProfileManager determine chart values for a profile prepareValuesForSoloChart should set the value of a key to the contents of a file should be able to load a profile file ‑ ProfileManager should be able to load a profile file should be able to load version from package json ‑ Helpers should be able to load version from package json should clone array for input ‑ Helpers should clone array for input should construct correct DataValidationError ‑ Errors should construct correct DataValidationError should construct correct IllegalArgumentError ‑ Errors should construct correct IllegalArgumentError should construct correct MissingArgumentError ‑ Errors should construct correct MissingArgumentError should construct correct ResourceNotFoundError ‑ Errors should construct correct ResourceNotFoundError should construct correct SoloError ‑ Errors should construct correct SoloError … ``` ``` should prompt for all flags if none are provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for all flags if none are provided should prompt for cluster if no value is provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for cluster if no value is provided should prompt for context if no value is provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for context if no value is provided should prompt for namespace if no value is provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for namespace if no value is provided should update local configuration with provided values ‑ ContextCommandTasks unit tests updateLocalConfig should update local configuration with provided values should use cluster from kubectl if no value is provided and quiet=true ‑ ContextCommandTasks unit tests updateLocalConfig should use cluster from kubectl if no value is provided and quiet=true should use namespace from kubectl if no value is provided and quiet=true ‑ ContextCommandTasks unit tests updateLocalConfig should use namespace from kubectl if no value is provided and quiet=true ```

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

github-actions[bot] commented 3 days ago

Unit Test Results - Windows

1 files  ±  0  3 suites   - 33   0s ⏱️ -15s 7 tests  - 102  7 ✅  - 102  0 💤 ±0  0 ❌ ±0  7 runs   - 111  7 ✅  - 111  0 💤 ±0  0 ❌ ±0 

Results for commit e5db03f0. ± Comparison against base commit 13ea46d7.

This pull request removes 109 and adds 7 tests. Note that renamed tests count towards both. ``` getConfig tracks property usage ‑ BaseCommand runShell getConfig tracks property usage prepareValuesForSoloChart should set the value of a key to the contents of a file ‑ ProfileManager determine chart values for a profile prepareValuesForSoloChart should set the value of a key to the contents of a file should be able to load a profile file ‑ ProfileManager should be able to load a profile file should be able to load version from package json ‑ Helpers should be able to load version from package json should clone array for input ‑ Helpers should clone array for input should construct correct DataValidationError ‑ Errors should construct correct DataValidationError should construct correct IllegalArgumentError ‑ Errors should construct correct IllegalArgumentError should construct correct MissingArgumentError ‑ Errors should construct correct MissingArgumentError should construct correct ResourceNotFoundError ‑ Errors should construct correct ResourceNotFoundError should construct correct SoloError ‑ Errors should construct correct SoloError … ``` ``` should prompt for all flags if none are provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for all flags if none are provided should prompt for cluster if no value is provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for cluster if no value is provided should prompt for context if no value is provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for context if no value is provided should prompt for namespace if no value is provided ‑ ContextCommandTasks unit tests updateLocalConfig should prompt for namespace if no value is provided should update local configuration with provided values ‑ ContextCommandTasks unit tests updateLocalConfig should update local configuration with provided values should use cluster from kubectl if no value is provided and quiet=true ‑ ContextCommandTasks unit tests updateLocalConfig should use cluster from kubectl if no value is provided and quiet=true should use namespace from kubectl if no value is provided and quiet=true ‑ ContextCommandTasks unit tests updateLocalConfig should use namespace from kubectl if no value is provided and quiet=true ```

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