-
Notifications
You must be signed in to change notification settings - Fork 211
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
[Merged by Bors] - Add CLI tool to generate an identity file #3167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
additionally we need to package it somehow. probably add it to the spacemesh docker image for simplicity
@@ -84,6 +84,7 @@ COPY . . | |||
# And compile the project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, docker build fails on the curl
line 57 unless I add the -k flag (ignore certificates), but also I've been working from a WSL on a Windows machine so it could be a local issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely something local, it works on the rest of prs and other dev environments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder what would be a better name for the binary. maybe genp2pid
or more verbose gen-p2p-identity
?
@@ -84,6 +84,7 @@ COPY . . | |||
# And compile the project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely something local, it works on the rest of prs and other dev environments
hare p2p: get-libs | ||
cd cmd/$@ ; go build -o $(BIN_DIR)go-$@$(EXE) $(GOTAGS) . | ||
cd $@ ; go build -o $(BIN_DIR)go-$@$(EXE) $(GOTAGS) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this actually needs to be removed, i forgot about it
bors try |
tryBuild failed: |
…and remove redundant Makefile dependency
🔒 Permission denied Existing reviewers: click here to make orgr a reviewer |
@dshulyak, I've fixed the comments, linter should pass now |
bors try |
tryBuild failed: |
bors try |
tryBuild succeeded: |
bors merge |
## Motivation Closes #3157 ## Changes Change the ensureIdentity to public EnsureIdentity, Add a CLI tool that calls EnsureIdentity ## DevOps Notes <!-- Please uncheck these items as applicable to make DevOps aware of changes that may affect releases --> - [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources) - [x] This PR does not affect public APIs - [x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.) - [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
Build failed: |
new test is somewhat flaky. i will take a look |
bors merge |
## Motivation Closes #3157 ## Changes Change the ensureIdentity to public EnsureIdentity, Add a CLI tool that calls EnsureIdentity ## DevOps Notes <!-- Please uncheck these items as applicable to make DevOps aware of changes that may affect releases --> - [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources) - [x] This PR does not affect public APIs - [x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.) - [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
Build failed: |
bors merge |
## Motivation Closes #3157 ## Changes Change the ensureIdentity to public EnsureIdentity, Add a CLI tool that calls EnsureIdentity ## DevOps Notes <!-- Please uncheck these items as applicable to make DevOps aware of changes that may affect releases --> - [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources) - [x] This PR does not affect public APIs - [x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.) - [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
Pull request successfully merged into develop. Build succeeded: |
Motivation
Closes #3157
Changes
Change the ensureIdentity to public EnsureIdentity,
Add a CLI tool that calls EnsureIdentity
DevOps Notes