mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-25 00:27:12 +01:00
* chore(wallet-utils): Moving wallet utils to common package * chore(suite-common) Device types moved to common package * chore(suite-common): Moving tests from suite to common package * chore(test): wallet utils tests moved to common suite package * chore: replace message system types from suite-types from common package * chore: import global JestMocks in suite and wallet-utils * chore: decrease jest global coverage thresholds for suite tests * chore: fix import for suite-config * chore: update refactored build paths and pckg for web and web-landing
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
build & push image:
|
|
stage: setup environment
|
|
when: manual
|
|
before_script:
|
|
- docker login $CI_DEPENDENCY_PROXY_SERVER -u $CI_DEPENDENCY_PROXY_USER -p $CI_DEPENDENCY_PROXY_PASSWORD
|
|
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
|
|
variables:
|
|
DOCKER_TLS_CERTDIR: ""
|
|
CONTAINER_NAME: "$CI_REGISTRY/satoshilabs/trezor/trezor-suite/base"
|
|
image: $CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX/docker
|
|
services:
|
|
- docker:dind
|
|
script:
|
|
- docker pull $CONTAINER_NAME:latest || true
|
|
- docker build --build-arg CI_DOCKER_PROXY="$CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX/" --no-cache --tag $CONTAINER_NAME:$CI_COMMIT_SHA --tag $CONTAINER_NAME:latest ./docker/ci-base
|
|
- docker push $CONTAINER_NAME:$CI_COMMIT_SHA
|
|
- docker push $CONTAINER_NAME:latest
|
|
|
|
install:
|
|
stage: setup environment
|
|
script:
|
|
- ci/scripts/check_branch_name.sh $CI_COMMIT_BRANCH
|
|
- ci/scripts/check_lockfile.sh
|
|
- yarn
|
|
- yarn build:libs
|
|
artifacts:
|
|
expire_in: 60 minutes
|
|
paths:
|
|
- "packages/*/lib/*"
|
|
- "packages/suite-data/files/browser-detection/*"
|
|
- "packages/suite-data/files/guide/*"
|
|
- "packages/connect-iframe/build/*"
|
|
- "suite-common/suite-types/src/messageSystem.ts"
|