ci: reorder titles of Jobs for a better overview

pull/496/head
Tomas Susanka 5 years ago committed by Pavol Rusnak
parent 26bbc5ee61
commit 55f52e2d70
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -30,9 +30,10 @@ variables:
- tools/**/* - tools/**/*
- vendor/**/* - vendor/**/*
# Core # Core
build core firmware regular: core fw regular build:
stage: build stage: build
<<: *only_changes_core <<: *only_changes_core
script: script:
@ -52,7 +53,7 @@ build core firmware regular:
- trezor-*.*.*-$CI_COMMIT_SHORT_SHA.bin - trezor-*.*.*-$CI_COMMIT_SHORT_SHA.bin
expire_in: 1 week expire_in: 1 week
build core firmware bitcoinonly: core fw btconly build:
stage: build stage: build
<<: *only_changes_core <<: *only_changes_core
variables: variables:
@ -71,14 +72,14 @@ build core firmware bitcoinonly:
- trezor-*.*.*-$CI_COMMIT_SHORT_SHA-bitcoinonly.bin - trezor-*.*.*-$CI_COMMIT_SHORT_SHA-bitcoinonly.bin
expire_in: 1 week expire_in: 1 week
build core unix regular: core unix regular build:
stage: build stage: build
<<: *only_changes_core <<: *only_changes_core
script: script:
- cd core - cd core
- pipenv run make build_unix - pipenv run make build_unix
build core unix frozen regular: core unix frozen regular build:
stage: build stage: build
<<: *only_changes_core <<: *only_changes_core
script: script:
@ -91,7 +92,7 @@ build core unix frozen regular:
- core/src/trezor/res/resources.py - core/src/trezor/res/resources.py
expire_in: 1 week expire_in: 1 week
build core unix frozen bitcoinonly: core unix frozen btconly build:
stage: build stage: build
<<: *only_changes_core <<: *only_changes_core
variables: variables:
@ -107,7 +108,7 @@ build core unix frozen bitcoinonly:
- core/src/trezor/res/resources.py - core/src/trezor/res/resources.py
expire_in: 1 week expire_in: 1 week
build core unix frozen debug: core unix frozen debug build:
stage: build stage: build
<<: *only_changes_core <<: *only_changes_core
variables: variables:
@ -123,7 +124,7 @@ build core unix frozen debug:
# Crypto # Crypto
build crypto: crypto build:
stage: build stage: build
only: only:
changes: changes:
@ -145,7 +146,7 @@ build crypto:
# Legacy # Legacy
# TODO: add clang https://github.com/trezor/trezor-firmware/issues/44 # TODO: add clang https://github.com/trezor/trezor-firmware/issues/44
build legacy firmware regular: legacy fw regular build:
stage: build stage: build
<<: *only_changes_legacy <<: *only_changes_legacy
variables: variables:
@ -164,7 +165,7 @@ build legacy firmware regular:
- trezor-*.*.*-$CI_COMMIT_SHORT_SHA.bin - trezor-*.*.*-$CI_COMMIT_SHORT_SHA.bin
expire_in: 1 week expire_in: 1 week
build legacy firmware debug: legacy fw debug build:
stage: build stage: build
<<: *only_changes_legacy <<: *only_changes_legacy
variables: variables:
@ -174,7 +175,7 @@ build legacy firmware debug:
- cd legacy - cd legacy
- pipenv run script/cibuild - pipenv run script/cibuild
build legacy firmware bitcoinonly: legacy fw btconly build:
stage: build stage: build
<<: *only_changes_legacy <<: *only_changes_legacy
variables: variables:
@ -194,7 +195,7 @@ build legacy firmware bitcoinonly:
- trezor-*.*.*-$CI_COMMIT_SHORT_SHA-bitcoinonly.bin - trezor-*.*.*-$CI_COMMIT_SHORT_SHA-bitcoinonly.bin
expire_in: 1 week expire_in: 1 week
build legacy emu regular: legacy emu regular build:
stage: build stage: build
<<: *only_changes_legacy <<: *only_changes_legacy
variables: variables:
@ -209,7 +210,7 @@ build legacy emu regular:
- legacy/firmware/trezor.elf - legacy/firmware/trezor.elf
expire_in: 1 week expire_in: 1 week
build legacy emu bitcoinonly: legacy emu btconly build:
stage: build stage: build
<<: *only_changes_legacy <<: *only_changes_legacy
variables: variables:

@ -1,6 +1,6 @@
image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/environment image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/environment
prebuild style: style prebuild:
stage: prebuild stage: prebuild
only: only:
changes: changes:
@ -11,7 +11,7 @@ prebuild style:
script: script:
- pipenv run make style_check - pipenv run make style_check
prebuild common: common prebuild:
stage: prebuild stage: prebuild
only: only:
changes: changes:
@ -21,7 +21,7 @@ prebuild common:
script: script:
- pipenv run make defs_check - pipenv run make defs_check
prebuild gen: gen prebuild:
stage: prebuild stage: prebuild
only: only:
changes: changes:

@ -26,31 +26,32 @@ image: registry.gitlab.com/satoshilabs/trezor/trezor-firmware/environment
- tools/**/* - tools/**/*
- vendor/**/* - vendor/**/*
# Core # Core
test core unix unit: core unix unit test:
stage: test stage: test
<<: *only_changes_core <<: *only_changes_core
dependencies: dependencies:
- build core unix frozen regular - core unix frozen regular build
script: script:
- cd core - cd core
- pipenv run make test - pipenv run make test
test core unix device: core unix device test:
stage: test stage: test
<<: *only_changes_core <<: *only_changes_core
dependencies: dependencies:
- build core unix frozen regular - core unix frozen regular build
script: script:
- cd core - cd core
- pipenv run make test_emu - pipenv run make test_emu
test core unix device bitcoinonly: core unix btconly device test:
stage: test stage: test
<<: *only_changes_core <<: *only_changes_core
dependencies: dependencies:
- build core unix frozen bitcoinonly - core unix frozen btconly build
variables: variables:
MICROPYTHON: "../build/unix/micropython-bitcoinonly" MICROPYTHON: "../build/unix/micropython-bitcoinonly"
TREZOR_PYTEST_SKIP_ALTCOINS: 1 TREZOR_PYTEST_SKIP_ALTCOINS: 1
@ -58,11 +59,11 @@ test core unix device bitcoinonly:
- cd core - cd core
- pipenv run make test_emu - pipenv run make test_emu
test core unix monero: core unix monero test:
stage: test stage: test
<<: *only_changes_core <<: *only_changes_core
dependencies: dependencies:
- build core unix frozen regular - core unix frozen regular build
script: script:
- cd core - cd core
- pipenv run make test_emu_monero - pipenv run make test_emu_monero
@ -70,14 +71,14 @@ test core unix monero:
# Crypto # Crypto
test crypto: crypto test:
stage: test stage: test
only: only:
changes: changes:
- ci/**/* - ci/**/*
- crypto/**/* - crypto/**/*
dependencies: dependencies:
- build crypto - crypto build
script: script:
- cd crypto - cd crypto
- ./tests/aestst - ./tests/aestst
@ -89,22 +90,22 @@ test crypto:
# Legacy # Legacy
test legacy emu: legacy emu test:
stage: test stage: test
<<: *only_changes_legacy <<: *only_changes_legacy
dependencies: dependencies:
- build legacy emu regular - legacy emu regular build
variables: variables:
EMULATOR: "1" EMULATOR: "1"
script: script:
- cd legacy - cd legacy
- pipenv run script/test - pipenv run script/test
test legacy emu bitcoinonly: legacy emu btconly test:
stage: test stage: test
<<: *only_changes_legacy <<: *only_changes_legacy
dependencies: dependencies:
- build legacy emu bitcoinonly - legacy emu btconly build
variables: variables:
EMULATOR: "1" EMULATOR: "1"
EMULATOR_BINARY: "firmware/trezor-bitcoinonly.elf" EMULATOR_BINARY: "firmware/trezor-bitcoinonly.elf"
@ -116,7 +117,7 @@ test legacy emu bitcoinonly:
# Python # Python
test python: python test:
stage: test stage: test
only: only:
changes: changes:
@ -129,7 +130,7 @@ test python:
# Storage # Storage
test storage: storage test:
stage: test stage: test
only: only:
changes: changes:
@ -144,13 +145,13 @@ test storage:
# Other # Other
test upgrade: upgrade test:
stage: test stage: test
<<: *only_changes_core <<: *only_changes_core
<<: *only_changes_legacy <<: *only_changes_legacy
dependencies: dependencies:
- build core unix frozen debug - core unix frozen debug build
- build legacy emu regular - legacy emu regular build
script: script:
- tests/upgrade_tests/download_emulators.sh - tests/upgrade_tests/download_emulators.sh
- pipenv run pytest tests/upgrade_tests - pipenv run pytest tests/upgrade_tests

Loading…
Cancel
Save