Files
trezor-suite/ci/environment.yml
Jan Bouchner 23a8ae6a09 chore: suite utils (wallet and few others from suite) and types to common package (#5874)
* 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
2022-08-01 19:08:06 +02:00

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"