1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
matejcik
cb34b508b9 chore(ci): update name of poetry --remove-untracked option 2023-04-27 13:37:16 +02:00
grdddj
219ecc8b49 fix(ci): increase PYTEST_TIMEOUT to 400 seconds
With 300, it was sometimes timing out in CI.

[no changelog]
2023-03-23 17:35:09 +01:00
Martin Milata
7408f169cb ci: drop cached-nix-shell 2023-02-21 10:23:46 +01:00
Martin Milata
12b2ea01e8 ci: don't use cached-nix-shell in hardware tests 2023-02-15 10:34:32 +01:00
matejcik
9d7342e0aa ci: conditionally use cached-nix-shell in env setup 2023-02-13 08:49:47 +01:00
Martin Milata
1e4b42792d ci(nix): use cached-nix-shell for speed
[no changelog]
2023-02-08 23:01:35 +01:00
matejcik
6af119fcdd fix(ci): make sure poetry environment is clean of leftovers 2022-03-24 14:30:20 +01:00
Martin Milata
49a27a0b3c ci: fix nix setup for hardware tests 2022-01-12 13:14:11 +01:00
vdovhanych
0024d72340 ci: add arm build for core unix and legacy emulators 2021-12-21 16:25:11 +01:00
Martin Milata
73c600d3f5 ci: also run regular tt tests on hw
Break off hardware test tasks into separate file.
2021-02-05 12:58:21 +01:00
Pavol Rusnak
4fdb62c2e2 chore(python): replace pipenv with poetry 2020-10-07 16:21:00 +02:00
Tomas Susanka
225966ea7c ci: fix date epoch in shell.nix not in Gitlab yml file
This way we fix also local environments for devs with NixOS.
Updates 988c7f65af.
2020-09-30 09:29:43 +02:00
matejcik
988c7f65af ci: appease nixos+bdist-wheel 2020-09-29 11:30:40 +02:00
Pavol Rusnak
b9a447834b
ci(gitlab): use clone git strategy 2020-09-22 14:22:24 +02:00
Tomas Susanka
e6889245e8 ci: set core/legacy version in .gitlab.yml 2020-07-06 19:07:00 +02:00
Pavol Rusnak
82c0c40367
ci: make nix-shell available on darwin in before_script 2020-07-03 21:52:47 +02:00
Tomas Susanka
2b4de8e270
ci: use nix docker image 2020-07-03 17:33:59 +02:00
Tomas Susanka
1634baa1e5 ci: remove 'only changes' 2020-04-20 20:14:24 +02:00
matejcik
3869a05677 ci: add a generic timeout to GitLab pytest runs 2020-03-09 10:31:40 +01:00
matejcik
8c75c94125 ci: ensure system Python 3.7 is used even if other pythons are available 2020-02-11 11:53:34 +01:00
Tomas Susanka
f4c38af825 ci: use 'extends' instead of yaml anchors
We might refactor the ci folder a bit more using this but I believe it
is fine for now.

Should solve #835.
2020-02-10 16:12:46 +00:00
Milan Rossa
33b7e378c2
core/ci: add coverage target, introduce posttest stage 2020-01-09 15:26:40 +01:00
Marek Mahut
8e3f3fa7d3 gitlab-ci: checking if pipenv exists 2019-10-16 10:27:27 +02:00
Tomas Susanka
54de6b9fac ci: deploy frozen emulators to upgrade tests 2019-09-10 14:42:14 +02:00
Tomas Susanka
b5c909417e ci: split jobs based on stage not project 2019-08-19 14:47:12 +02:00
matejcik
d521903963 python: clarify requirements, enable tox in CI 2019-08-12 12:57:25 +02:00
matejcik
c76d69eb20 ci: use pipenv sync 2019-08-12 12:57:25 +02:00
Tomas Susanka
aa0f64c79f ci: update docker; no need for TLS in internal env
https://gitlab.com/gitlab-org/gitlab-runner/issues/4501
2019-07-29 15:23:26 +02:00
Tomas Susanka
3909e727b0 ci: improve pipenv caching 2019-05-24 09:18:00 +02:00
Tomas Susanka
d3980521ef ci: use git fetch; remove submodule strategy from specific places 2019-05-23 13:59:30 +02:00
Tomas Susanka
7c58d7d24e ci: split gitlab configuration files and store them in a 'ci' folder
The core/build-docker.sh si broken, but so it was already in master and
is tracked to be fixed in #108.
2019-04-28 09:31:41 +02:00
Pavol Rusnak
236ca1ae83
legacy: enable Bitcoin only firmware 2019-04-27 16:16:33 +02:00
Pavol Rusnak
13195831d5
gitlab: build also legacy firmware with debug link 2019-04-26 18:41:01 +02:00
Pavol Rusnak
9f7228a763
gitlab: use prefix for prebuild targets 2019-04-26 18:06:10 +02:00
Tomas Susanka
ee6a06a51e ci: split crypto into build and test stages 2019-04-26 17:40:40 +02:00
Tomas Susanka
34fa641a9b ci: define dependencies in core tests
to skip artifacts that are not needed
2019-04-26 16:47:13 +02:00
Tomas Susanka
48abff67df ci: build legacy emulator and pass to tests
updates #108
2019-04-26 16:47:13 +02:00
Tomas Susanka
442c8c15e0 ci: add prebuild stage 2019-04-26 15:46:01 +02:00
Tomas Susanka
3854fa38cc ci: test storage 2019-04-25 16:50:56 +02:00
Tomas Susanka
8f0f6e4aed ci: do not define dependencies; skip them if artifacts are not needed
Artifacts are passed on by default, so we do not have to define
them in 'dependencies' when we need them. On the contrary, we define them in
case we do not need them.
2019-04-25 16:02:07 +02:00
Tomas Susanka
f3924138fc ci: run make in paralel; use git depth 2019-04-24 16:34:17 +02:00
Tomas Susanka
8ec40bdccb ci: use artifacts to pass builds to testing 2019-04-24 14:24:31 +02:00
Tomas Susanka
7fb1137ae4 ci: test legacy 2019-04-23 17:52:10 +02:00
Tomas Susanka
24bd4f84da ci: gitlab init
Lot of things are missing, this is to at least have something in master. Todo:
- add legacy, python and storage tests
- fix crypto
- cache
- pass builds from build stage to tests using artefacts

and many others
2019-04-23 15:57:24 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
Pavol Rusnak
4dcd3b5812
build: fix shebang and remove prodtest from build-docker 2019-03-25 19:14:44 +01:00
Pavol Rusnak
1a24824136
gitlab: fix last commit 2019-03-25 15:57:20 +01:00
Pavol Rusnak
478df1c2a9
gitlab: store artefacts of each build 2019-03-25 15:34:35 +01:00
Vladimir Volek
6ea25bd386 docker: build emulator image and push it to registry 2019-01-10 14:30:29 +01:00