Commit Graph

298 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Pavol Rusnak 98ea241e97
ci: use alternative list syntax for needs
4 years ago
Tomas Susanka 99e0faafb6 test(core): print fixtures suggestion after the test
4 years ago
Tomas Susanka 225966ea7c ci: fix date epoch in shell.nix not in Gitlab yml file
4 years ago
matejcik 1f5c08c9a2 ci: add .gitlab-ci.yml as explicit trigger whenever ci/** is a trigger
4 years ago
matejcik e4785d47e0 style: apply black 20.8b1
4 years ago
Tomas Susanka 5edd0a55f3 ci: document arduino pins
4 years ago
Tomas Susanka c7b6d98cfc tests/upgrade-tests: modify paths in release jobs and add job for MacOS
4 years ago
Tomas Susanka c52c93aea0 ci: add core btconly debug build and deploy it during release
4 years ago
Tomas Susanka 00593dc6d6 ci: fix builds for MacOS
4 years ago
Tomas Susanka db020c7a47 ci: run HW tests for secfix branches
4 years ago
Tomas Susanka 141d9099f5 ci: remove release candidates deploy
4 years ago
Martin Milata 71c5bc4e3b ci: fail if coverage falls under threshold
4 years ago
Tomas Susanka 13c11e756e ci: replace 'dependends' with 'needs'
4 years ago
Pavol Rusnak c3892b75bd
ci: test python on Pipfile.lock/poetry.lock
4 years ago
Pavol Rusnak e0ee8266ec
poetry: add pyproject.toml + lock file
4 years ago
Tomas Susanka 01ac2ec48d ci: run release commit message check only on one Gitlab
4 years ago
Tomas Susanka fa39948683 ci: fix release commit check
4 years ago
Pavol Rusnak ac9047a438
ci/build: fix typo in "core fw btconly t1 build"
4 years ago
Tomas Susanka fb583cf0fa ci: fix release commit message check
4 years ago
Pavol Rusnak efc5ccdaf0
core: remove src1
4 years ago
Pavol Rusnak 063aba910d core: rename emulator to trezor-emu-core
4 years ago
Pavol Rusnak f71958b63f
ci: build T1 firmware
4 years ago
Tomas Susanka 698b632acb ci: add btconly debug build and run hardware tests for it
4 years ago
Pavol Rusnak 8d94b13d3a
ci/test: fix coverage by moving the files to correct subdir
4 years ago
Tomas Susanka e6889245e8 ci: set core/legacy version in .gitlab.yml
4 years ago
Tomas Susanka 040b4a1ee7 ci: fix VERSION export from version.h
4 years ago
Pavol Rusnak 82c0c40367
ci: make nix-shell available on darwin in before_script
4 years ago
Pavol Rusnak 25a2e690fe
ci/test: set C.UTF-8 locale for Python tests
4 years ago
Tomas Susanka 2b4de8e270
ci: use nix docker image
4 years ago
Pavol Rusnak 8f6a6c098e
ci/Dockerfile: use nix-shell instead of nix-env
4 years ago
Pavol Rusnak 09a212dca0
nix: use the latest snapshot of nixos-unstable
4 years ago
Pavol Rusnak 6d1e97884c
nix: add procps and wget
4 years ago
Pavol Rusnak 937336e6b6
nix: add bash, use openssl instead of libressl
4 years ago
Pavol Rusnak 6c09c61978
nix: unify ci/shell.nix and shell.nix
4 years ago
Tomas Susanka 0c734dc8fd ci: remove shell hook
4 years ago
Tomas Susanka 6ebb388905 ci: add debug firmwares to releases
4 years ago
Tomas Susanka 39f5b065d3 tests/hardware: add sleep to update_firmware and always publish artifacts
4 years ago
Pavol Rusnak 74450ee4bb docker: rename container name to trezor-firmware-build.nix
4 years ago
Pavol Rusnak 2930251eeb docker: don't use nixos/nix as base, use alpine from scratch
4 years ago
Pavol Rusnak 1d68c9b386 ci: use NixOS in Docker
4 years ago
Tomas Susanka 5440f1db27 ci: fix release legacy btconly deploy
4 years ago
Pavol Rusnak ae2d5813f0
ci/Dockerfile: set PIPENV_CACHE_DIR
4 years ago
Pavol Rusnak 86e20d07bd
ci/Dockerfile: update trezor_monero_tests binary
4 years ago
Tomas Susanka 742b23e382 ci/fido2: check if another emu is not running
4 years ago
Tomas Susanka 05aabc64bb docs: document CI jobs
4 years ago
Tomas Susanka 503bbb0eb3 ci: add check for release branches
4 years ago
Tomas Susanka 1634baa1e5 ci: remove 'only changes'
4 years ago
Tomas Susanka 24fff39314 ci: add tpmb
4 years ago
Tomas Susanka 1be5e577ee ci: move report files 'mv' to after_script
4 years ago
Tomas Susanka f82e28ee6f ci: fix upgrade tests deploy when commit has two tags
4 years ago
Tomas Susanka 6901cb7cdf ci: simplify regular expressions for release and tags
4 years ago
Tomas Susanka 2b031990f8 ci: run hardware tests nightly and for releases
4 years ago
Marek Mahut 4264e87319 ci: add hardware tests for T1
4 years ago
Tomas Susanka 17392f94b8 ci: set artifacts' name using the job name and commit hash
4 years ago
Tomas Susanka 30a267c83d ci: check if commit message contains fixup on travis
4 years ago
Tomas Susanka e3b674a42e ci: move ui reports to the root to simplify artifacts browsing
4 years ago
Tomas Susanka 89929c7a8c tests/ui: create report what differs from master
4 years ago
Tomas Susanka c418e628ac ci: omit unix/emu label in test jobs
4 years ago
matejcik 8c75c94125 ci: ensure system Python 3.7 is used even if other pythons are available
4 years ago
matejcik 37ab510622 ci: remove sleeps for coverage, restore Monero
4 years ago
Tomas Susanka 8a499b3067 ci: run coverage only for core
4 years ago
Tomas Susanka f4c38af825 ci: use 'extends' instead of yaml anchors
4 years ago
Tomas Susanka 1480f5a25c ci: remove coverage from monero test
4 years ago
Tomas Susanka 30684bc46b tests/ui: fix deploy script
4 years ago
Tomas Susanka e9c5e47ab4 ci: add Pipfile.lock to 'only_changes'
4 years ago
matejcik 04fe99af8e ci: turn mypy check into a part of style-check
4 years ago
matejcik 06909aef7d ci: no dependencies for python test
4 years ago
matejcik 34332cc294 ci: do not store resources for frozen builds
4 years ago
matejcik e2f71a1acc ci: use frozen debug builds for emulator tests
4 years ago
matejcik 6cf48bf485 ci: use explicit trezor.log location
4 years ago
matejcik 32b269ad43 ci: fix path for core-bitcoinonly test
4 years ago
Pavol Rusnak 9a884a5dc5
ci/tests: disable test_LongEcho in HIDTest, remove retry
4 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
4 years ago
Milan Rossa 33b7e378c2
core/ci: add coverage target, introduce posttest stage
4 years ago
Tomas Susanka 1103a14c48 tests/ui: move reports and add index.html
4 years ago
Tomas Susanka 96ec85686e tests/ui: success html file
4 years ago
Tomas Susanka 68425fbb8c ci: add junit to ui tests
4 years ago
Tomas Susanka 362dbce606 ci: rename tmp folder to ui_test_records
4 years ago
Tomas Susanka 56257eb6a5 tests/ui: code review fixes
4 years ago
Tomas Susanka fe690a6b6b tests/ui: embed images as base64 to diff.html
4 years ago
Tomas Susanka 3dfbe7aa98 ci: upload ui tests fixtures
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Tomas Susanka bc0c10bf3e ci: always upload test.yml artifacts
4 years ago
Tomas Susanka a28f29708f ci: add junit for a nice tests overview
4 years ago
Tomas Susanka b6e2c2d14b ci/tests: add core emulator logs as artifacts
5 years ago
Pavol Rusnak d63f613238
ci/docker: use gcc-arm-embedded 9
5 years ago
Pavol Rusnak 0a0cd797e3
ci/tests: use new Monero tests binary
5 years ago
Pavol Rusnak 13af405158
ci/test: remove retry attribute for "core unix monero test"
5 years ago
Dusan Klinec d81f43f7a4 tests: use new monero testing binary v0.15.0.0
5 years ago
Pavol Rusnak 07cdebeb9b
ci/legacy: don't build bootloader twice
5 years ago
Tomas Susanka a799be335a ci: add core debug fw build
5 years ago
Tomas Susanka 7016391893 ci: add artifacts to legacy fw debug build
5 years ago
Pavol Rusnak 8aeec95bae
ci: include full links to issues
5 years ago
Tomas Susanka c1f7239c2d ci: add click and persistence tests
5 years ago
Tomas Susanka 0811733185 ci: run mypy without limitation
5 years ago
Tomas Susanka b530e7c105 ci: add fido2 tests to ci
5 years ago
Tomas Susanka 0b1b9a2f79 ci: add mypy
5 years ago
Tomas Susanka 74bc28b3cb ci: deploy firmwares to the internal server
5 years ago
Marek Mahut 76f20fbaa5 ci/build: adding darwin emulator build
5 years ago
Tomas Susanka 737ebeec1c ci: add 'retry' to flaky tests (Monero and U2F)
5 years ago
Tomas Susanka 6ef0b8c4f2 ci: add missing '/' to DEPLOY_BASE_DIR variable
5 years ago
Pavol Rusnak d8cdfea743
build: update protobuf dependency to 3.6.1
5 years ago
Pavol Rusnak adcaf83eb2
ci: changes to *.pyi should also trigger gen_check
5 years ago
Pavol Rusnak c5bae693e3
ci: build u2f test suite
5 years ago
Pavol Rusnak 650db2a5c0
ci: add u2f tests to CI
5 years ago
matejcik 0fc5e545d3 ci: update download_emulators path
5 years ago
Tomas Susanka 54de6b9fac ci: deploy frozen emulators to upgrade tests
5 years ago
matejcik 8814837a9e ci: split "test upgrade" for core and legacy (fixes #501)
5 years ago
matejcik f5f78c0a99 ci: also run python test when common changes
5 years ago
Tomas Susanka 55f52e2d70
ci: reorder titles of Jobs for a better overview
5 years ago
Pavol Rusnak 26bbc5ee61
ci: rebuild core/legacy binaries when tests are changed,
5 years ago
Pavol Rusnak e3df251f84
ci: enable only:changes to limit the number of required tasks
5 years ago
Pavol Rusnak e04555e3e5
ci: add "regular" to regular builds
5 years ago
Pavol Rusnak db86092319
crypto: fix valgrind issue with ed25519-donna, clean local variables
5 years ago
Pavol Rusnak cc3f7b8d48
ci: include version+githash into artefact filenames
5 years ago
Pavol Rusnak fc1f90875b
legacy: fix firmware build in CI with MEMORY_PROTECT=0
5 years ago
Pavol Rusnak 82fdf7e03d
ci: cleanup Dockerfile
5 years ago
Pavol Rusnak 2fe34aa33b
ci: add check that Bitcoin only firmware does not contain non-Bitcoin functionality
5 years ago
Tomas Susanka 077735f57b ci: introduce upgrade tests
5 years ago
Pavol Rusnak b1f435e178
ci: test BITCOIN_ONLY firmware
5 years ago
Pavol Rusnak 9a42612c41
ci: use explicit artifacts (don't use untracked: true)
5 years ago
Pavol Rusnak f40d926d16
legacy: fix emulator bitcoin only build
5 years ago
Tomas Susanka f43652f2ea ci: set no-verbose for wget for cleaner outputs
5 years ago
Tomas Susanka b5c909417e ci: split jobs based on stage not project
5 years ago
Tomas Susanka bd3b93e521 ci: enable sizecheck; typo
5 years ago
matejcik b9547ea948 ci: take python 3.5 from Debian, not from source
5 years ago
Tomas Susanka 8b7e72e0de ci: add python 3.5, 3.6 and 3.8 to environment
5 years ago
matejcik d521903963 python: clarify requirements, enable tox in CI
5 years ago
matejcik 834981f599 ci: verify behavior, remove TODO
5 years ago
Tomas Susanka 9f4f704856 ci: run environment only when manually triggered
5 years ago
Tomas Susanka 80601994bf ci: change docker image's url to new gitlab
5 years ago
Tomas Susanka 3ae3bf6d03 ci: change container name in registry
5 years ago
Tomas Susanka aa0f64c79f ci: update docker; no need for TLS in internal env
5 years ago
Pavol Rusnak ebc22e5ccb
ci/legacy: don't build bootloader/demo in bitcoinonly+debug targets
5 years ago
Tomas Susanka 83a5ae3def ci: download monero tests binary in docker
5 years ago
Tomas Susanka 8842215506 ci: hardcode docker image versions
5 years ago
Tomas Susanka bf3d20b3e8 ci: run environment stage if ci folder has changes
5 years ago
Pavol Rusnak 5f1586e049
core: regenerate templates
5 years ago
Tomas Susanka d3980521ef ci: use git fetch; remove submodule strategy from specific places
5 years ago
matejcik fdd92404d2 ci: run codegen checks
5 years ago
Pavol Rusnak f7d41cbbd7
core+legacy: drop NOUI and HEADLESS, SDL_VIDEODRIVER works fine
5 years ago
matejcik 04a8aadb09 ci: install clang-format 6
5 years ago
matejcik bc77cad5e4 ci: add clang-format to Dockerfile
5 years ago
matejcik fbd6e435b8 ci: simplify running defs checks
5 years ago
Pavol Rusnak 9f924576ba
ci/core: enable unix frozen build in the ci
5 years ago
Pavol Rusnak 4b8c418dbc
core: fix docker build
5 years ago
Tomas Susanka fe3d67e259 ci: set GIT_SUBMODULE_STRATEGY to none where not submodules are not needed
5 years ago
Tomas Susanka 7c58d7d24e ci: split gitlab configuration files and store them in a 'ci' folder
5 years ago