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

dkg: add --publish flag to upload lock file #1781

Merged
merged 6 commits into from
Feb 9, 2023
Merged

Conversation

LukeHackett12
Copy link
Contributor

Adds publish flag to dkg and create cluster commands to upload the lock file generated to out api. This introduces the new concept of our launchpad api, so added a configurable address with prod as default.

category: feature
ticket: #1492

@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Base: 54.69% // Head: 54.67% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (3ae8235) compared to base (16530f9).
Patch coverage: 48.68% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1781      +/-   ##
==========================================
- Coverage   54.69%   54.67%   -0.03%     
==========================================
  Files         166      167       +1     
  Lines       21989    22067      +78     
==========================================
+ Hits        12027    12065      +38     
- Misses       8385     8412      +27     
- Partials     1577     1590      +13     
Impacted Files Coverage Δ
cmd/dkg.go 5.71% <0.00%> (-0.74%) ⬇️
app/obolapi/api.go 45.45% <45.45%> (ø)
dkg/dkg.go 57.58% <53.84%> (-0.11%) ⬇️
cmd/createcluster.go 53.26% <66.66%> (+0.43%) ⬆️
app/vmock.go 76.16% <0.00%> (-1.56%) ⬇️
app/app.go 59.80% <0.00%> (-0.32%) ⬇️
eth2util/enr/enr.go 71.85% <0.00%> (+0.42%) ⬆️
core/priority/prioritiser.go 60.37% <0.00%> (+1.88%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@LukeHackett12 LukeHackett12 marked this pull request as ready for review February 8, 2023 19:45
cmd/createcluster.go Outdated Show resolved Hide resolved
launchpad/api.go Outdated Show resolved Hide resolved
launchpad/api.go Outdated Show resolved Hide resolved
launchpad/api.go Outdated Show resolved Hide resolved
cmd/createcluster.go Outdated Show resolved Hide resolved
dkg/dkg.go Outdated Show resolved Hide resolved
launchpad/api.go Outdated Show resolved Hide resolved
cmd/createcluster.go Outdated Show resolved Hide resolved
cmd/createcluster.go Outdated Show resolved Hide resolved
cmd/dkg.go Outdated Show resolved Hide resolved
dkg/dkg.go Outdated Show resolved Hide resolved
launchpad/api.go Outdated Show resolved Hide resolved
launchpad/api.go Outdated Show resolved Hide resolved
dkg/dkg.go Show resolved Hide resolved
cmd/createcluster.go Outdated Show resolved Hide resolved
dkg/dkg.go Show resolved Hide resolved
dkg/dkg.go Outdated Show resolved Hide resolved
dkg/dkg_test.go Outdated Show resolved Hide resolved
cmd/dkg.go Outdated Show resolved Hide resolved
dkg/dkg_test.go Outdated
expectedReceives--
}

t.Log("All keystores received 🎉")
}

if publish {
require.Equal(t, <-receivedLockfile, true)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you expect more than 1 receivedLockfile

cmd/createcluster.go Outdated Show resolved Hide resolved
@LukeHackett12 LukeHackett12 added the merge when ready Indicates bulldozer bot may merge when all checks pass label Feb 9, 2023
@obol-bulldozer obol-bulldozer bot merged commit 3909805 into main Feb 9, 2023
@obol-bulldozer obol-bulldozer bot deleted the luke/publish-lock branch February 9, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants