Skip to content

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 8 commits into from
May 8, 2025
Merged

Conversation

jeremy-then
Copy link
Contributor

@jeremy-then jeremy-then commented Apr 26, 2025

  1. 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.

  2. logbacks directory (that was inside container-action/rit-local-configswas deleted with all its.xmlfiles. Now we only have onebase-logback-config.xmlfile inconfig. From this, the logback .xmlfiles will be created dynamically from the paths inside theregtest....js` config files.

  3. 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.

  4. 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 a Dockerfile inside the tcpsigner directory, along with an run.sh script that builds and runs the tcpsigner, and an entrypoing.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.

@jeremy-then jeremy-then self-assigned this Apr 26, 2025
@jeremy-then jeremy-then requested a review from a team as a code owner April 26, 2025 03:02
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch 3 times, most recently from 852a9d1 to 38b2a64 Compare April 26, 2025 03:41
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch from cdf67fd to 42d2dae Compare April 26, 2025 04:13
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch 2 times, most recently from dc839a9 to 50cc8a0 Compare April 29, 2025 16:16
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch 2 times, most recently from 1c040a3 to c271c25 Compare April 30, 2025 18:14
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch from 4b294e6 to 623f6e2 Compare May 1, 2025 23:25
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch from 623f6e2 to 8e640fe Compare May 1, 2025 23:32
@jeremy-then jeremy-then force-pushed the tcp-signer-setup-with-docker branch from 6052381 to ae64872 Compare May 1, 2025 23:52
@jeremy-then jeremy-then changed the title [DO NOT MERGE] Tcp signer setup with docker Tcp signer setup with docker May 2, 2025
Copy link

sonarqubecloud bot commented May 2, 2025

@marcos-iov marcos-iov merged commit 126b0b7 into main May 8, 2025
9 checks passed
@marcos-iov marcos-iov deleted the tcp-signer-setup-with-docker branch May 8, 2025 19:25
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