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

Remove bcovrin-dev, set second (aliased) bcovrin-test for local multiledger #1050

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

loneil
Copy link
Collaborator

@loneil loneil commented Mar 27, 2024

As bcovrin-dev is deprecated we can't use it any more in Traction. So handle that in a couple ways

Deployments'
For dev and PR deployments just remove BCovrin-dev as an option. These have other combos of candy and sovrin so they have other ledgers as well as bcovrin-test.

Default helm values
Just remove bcovrin-dev, leave only bcovrin-test.
Default helm is overridden everywhere we use it and there's the dev and pr examples in here of how to specify multiple ledgers if someone needs them.

Local Docker
We do want multiple ledgers on local dev for multi-ledger development and tenant UI development.
Not going to use candy or sovrin on local dev. We stand up 2 local endorser instances in the docker environment, so just have each of those using the same ledger (bcovrin-test), but alias the IDs and endorser details differently so it's interpreted as "multiple" ledgers.
Replace bcovrin-dev with "bcovrin-test-1" (all endorser setup is "endorser-1" etc etc, so keep that convention).

Tried this out locally and it's working as expected.

Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
@loneil
Copy link
Collaborator Author

loneil commented Mar 27, 2024

Tagged a bunch of people on this in case anyone has any thoughts/opinions/gotchas they can think of.

@loneil loneil merged commit 3471f07 into main Mar 28, 2024
7 checks passed
@loneil loneil deleted the chore/removeBcovrinDev branch April 2, 2024 23:17
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.

2 participants