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

Shared assemblies #328

Merged
merged 3 commits into from
Nov 26, 2021
Merged

Shared assemblies #328

merged 3 commits into from
Nov 26, 2021

Conversation

fboucquez
Copy link
Owner

@fboucquez fboucquez commented Nov 23, 2021

This pr moves all the network's assemblies to a top-level commonplace.

  • Easier to maintain, only one assembly needs to be updated and it's reflected for all the networks.
  • When adding new networks, only the network.yml and nemesis block files need to be added. Assemblies would be free.

NOTE
In PR https://github.com/symbol/symbol-bootstrap/pull/331 the user can provide its own network.yml or assembly.yml (advance feature)

Examples:
symbol-bootstrap start --preset a-future-testnet-network.yml --assembly dual
symbol-bootstrap start --preset garush-network.yml --assembly my-custom-assembly.yml

Copy link
Contributor

@segfaultxavi segfaultxavi left a comment

Choose a reason for hiding this comment

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

Some styling suggestions...

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
feature: allowing user provided --assembly and --preset
@fboucquez fboucquez force-pushed the shared_assemblies branch 3 times, most recently from e1dbf1a to f6e38f7 Compare November 25, 2021 02:15
@fboucquez fboucquez changed the title DRAFT Shared assemblies Shared assemblies Nov 25, 2021
@fboucquez fboucquez force-pushed the shared_assemblies branch 2 times, most recently from d810e8b to 441eac1 Compare November 25, 2021 02:53
fix: added new lines when generating unit test reports
fix: improved README.md
@fboucquez fboucquez marked this pull request as ready for review November 25, 2021 03:09
@fboucquez
Copy link
Owner Author

@Jaguar0625 , could you review this one when you have the time?

Copy link
Contributor

@Jaguar0625 Jaguar0625 left a comment

Choose a reason for hiding this comment

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

i can't comment in presets/assemblies/assembly-peer.yml, but shouldn't localNetworks be under nodes?

src/service/ConfigLoader.ts Outdated Show resolved Hide resolved
src/service/ConfigLoader.ts Show resolved Hide resolved
src/service/ConfigService.ts Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
test/service/ConfigLoader.test.ts Outdated Show resolved Hide resolved
test/service/ConfigLoader.test.ts Outdated Show resolved Hide resolved
test/service/ConfigLoader.test.ts Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Nov 26, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@fboucquez fboucquez merged commit 2b6d707 into dev Nov 26, 2021
@fboucquez fboucquez deleted the shared_assemblies branch November 26, 2021 18:56
@fboucquez fboucquez mentioned this pull request Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants