-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Use custom firmware #49
Comments
user story: I have a local checkout of the firmware repo with some things built. I want to run Suite e2e tests via trezor-user-env, against the locally built thing. Options:
|
We have agreed to try the option 3, where the binary file is already available (non-frozen build will need to be compiled, but it is a quick process). Probably main question right now is: do we want to run the whole thing locally or using CI? (we can support even both)
Steps needed to be done in every case:
CI route
Local route
|
We want both. CI usecase: running Suite e2e tests in the firmware pipeline -> Suite e2e job must pick the artifact built in previous stage. Local usecase: local development, I might want to quickly iterate over a small number of Suite tests. I will then push the branch to CI where the CI job runs all of it. |
I will start with the local version and see how it goes. Implementing that in CI seems much harder from my standpoint, as I am not very familiar with that (we would somehow need to mount the whole
Can the artifact be reached and downloaded by URL? It seems like the easiest solution, so that we only give this URL to |
Prototype of the local version was made into trezor/trezor-suite#4107 |
Do we really need to support locally built emulator? I am wondering how necessary that is. I can imagine it being useful but seems like smth we can live without. We have device tests for some quick check if everything works as it should. I have a small preference to sideline that and focus on the CI way. But I think we should take a step back and discuss what is the main use-case for this because it seems to me we are trying to solve two different things.
Maybe we can discuss this on a meeting? |
FWIW we like to run the Connect tests with a locally built emulator while developing the Cardano app and although it's possible, it's quite complicated right now (compared to passing in the path to the emulator as it was before). Additionally it's quite error prone as there a lot of steps and for example today we weren't able to get the tests pass on a new laptop for some unknown reason (getting |
That would be certainly beneficial, to clearly define what we would like to have. |
Currently we are working only with prefetched FW, it would be nice to have a possibility to work with custom build or custom
trezor-firmware/branch
or customtrezor-firmware-fork/branch
Usecase: testing connect against not merged branches/pull requests in trezor-firmware repo
The text was updated successfully, but these errors were encountered: