1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-28 22:15:42 +00:00

ci: use git fetch; remove submodule strategy from specific places

This commit is contained in:
Tomas Susanka 2019-05-23 13:59:30 +02:00
parent b4ac121a46
commit d3980521ef
4 changed files with 4 additions and 10 deletions

View File

@ -1,4 +1,8 @@
variables: variables:
# Using git fetch is faster.
# See https://docs.gitlab.com/ce/user/project/pipelines/settings.html#git-strategy
GIT_STRATEGY: "fetch"
# Init submodules. # Init submodules.
# See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy # See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy
GIT_SUBMODULE_STRATEGY: "recursive" GIT_SUBMODULE_STRATEGY: "recursive"

View File

@ -39,8 +39,6 @@ build core unix frozen:
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 frozen - build core unix frozen
script: script:
@ -49,8 +47,6 @@ 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 frozen - build core unix frozen
script: script:
@ -59,8 +55,6 @@ 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 frozen - build core unix frozen
script: script:

View File

@ -47,8 +47,6 @@ 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,8 +1,6 @@
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: