1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-16 17:42:02 +00:00

ci: set GIT_SUBMODULE_STRATEGY to none where not submodules are not needed

I've decided to omit some places (e.g. build crypto) where it might be
confusing if some submodules dependency is introduced. Well, that
concerns tests stages as well, but I guess it is more likely for the
build stage.

Updates #108
This commit is contained in:
Tomas Susanka 2019-04-28 12:15:24 +02:00
parent 7c58d7d24e
commit fe3d67e259
4 changed files with 11 additions and 0 deletions

View File

@ -29,6 +29,8 @@ build core unix:
test core unix unit: test core unix unit:
stage: test stage: test
variables:
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
dependencies: dependencies:
- build core unix - build core unix
script: script:
@ -37,6 +39,8 @@ test core unix unit:
test core unix device: test core unix device:
stage: test stage: test
variables:
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
dependencies: dependencies:
- build core unix - build core unix
script: script:
@ -45,6 +49,8 @@ test core unix device:
test core unix monero: test core unix monero:
stage: test stage: test
variables:
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
dependencies: dependencies:
- build core unix - build core unix
script: script:

View File

@ -2,6 +2,7 @@ environment:
stage: environment stage: environment
image: docker:latest image: docker:latest
variables: variables:
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
CONTAINER_NAME: "$CI_REGISTRY/trezor/trezor-firmware/environment" CONTAINER_NAME: "$CI_REGISTRY/trezor/trezor-firmware/environment"
services: services:
- docker:dind - docker:dind

View File

@ -44,6 +44,8 @@ build legacy emu:
# TODO: aren't some tests from .travis.yml missing? # TODO: aren't some tests from .travis.yml missing?
test legacy emu: test legacy emu:
variables:
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
stage: test stage: test
dependencies: dependencies:
- build legacy emu - build legacy emu

View File

@ -1,6 +1,8 @@
image: registry.corp.sldev.cz/trezor/trezor-firmware/environment image: registry.corp.sldev.cz/trezor/trezor-firmware/environment
test storage: test storage:
variables:
GIT_SUBMODULE_STRATEGY: none # no need to fetch submodules
stage: test stage: test
dependencies: [] dependencies: []
script: script: