-
Notifications
You must be signed in to change notification settings - Fork 4
Tcp signer setup with docker #253
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
852a9d1
to
38b2a64
Compare
cdf67fd
to
42d2dae
Compare
dc839a9
to
50cc8a0
Compare
1c040a3
to
c271c25
Compare
4b294e6
to
623f6e2
Compare
623f6e2
to
8e640fe
Compare
6052381
to
ae64872
Compare
|
marcos-iov
approved these changes
May 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A new
regtest-key-files-and-hsms.js
config file was created to include tcp signer config. For the second federation change, 2 feds configs were changed to use the tcp signer, while 1 remained as keyfile to keep testing the keyfile logic. The same was done with the third federation change.logbacks
directory (that was inside container-action/rit-local-configswas deleted with all its
.xmlfiles. Now we only have one
base-logback-config.xmlfile in
config. From this, the logback
.xmlfiles will be created dynamically from the paths inside the
regtest....js` config files.A new
Dockerifle
was added to the root directory of the project, used to run the tests inside a docker container locally. Useful to simulate how it would run in the GitHub Actions job.A new
tcpsigner
directory was added to the root directory of the project. This contains the tcp signer and manager binaries, built in Ubuntu 24 and designed to be used in Ubuntu. On MacOS, the tcpsigner need to run on Docker, that's why there is aDockerfile
inside thetcpsigner
directory, along with anrun.sh
script that builds and runs the tcpsigner, and anentrypoing.sh
that starts the tcpsigner and manager from inside docker.When running the tests from inside docker (running the command
npm run run-with-docer
), then the tcp signers binaries will be executed directly, since this docker container runs Ubuntu 24. You can try running the tcpsigner manually by running./run.sh -h
, or passing different parameters.