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
pull/120/head v0-working2
Tomas Susanka 5 years ago
parent 7c58d7d24e
commit fe3d67e259

@ -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:

@ -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

@ -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

@ -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:

Loading…
Cancel
Save