1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-13 18:18:09 +00:00

Turn on other integration steps

This commit is contained in:
Vladimir Volek 2019-01-17 12:20:44 +01:00
parent 8660f25c60
commit fecade3311

View File

@ -1,148 +1,148 @@
image: node:9.3.0 image: node:9.3.0
# variables: variables:
# CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress" CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
# cache: cache:
# key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
# paths: paths:
# - node_modules - node_modules
# - cache/Cypress - cache/Cypress
stages: stages:
# - test - test
# - build - build
# - deploy - deploy
- integration tests - integration tests
# lint: lint:
# stage: test stage: test
# script: script:
# - yarn install - yarn install
# - yarn run lint - yarn run lint
# flow: flow:
# stage: test stage: test
# script: script:
# - yarn install - yarn install
# - yarn run flow - yarn run flow
# unit: unit:
# stage: test stage: test
# script: script:
# - yarn install - yarn install
# - yarn run test - yarn run test
# build development: build development:
# stage: build stage: build
# script: script:
# - yarn install - yarn install
# - yarn run build:dev - yarn run build:dev
# artifacts: artifacts:
# expire_in: 1 week expire_in: 1 week
# paths: paths:
# - build/dev - build/dev
# build beta: build beta:
# stage: build stage: build
# script: script:
# - yarn install - yarn install
# - yarn run build:beta - yarn run build:beta
# only: only:
# - beta - beta
# artifacts: artifacts:
# expire_in: 1 week expire_in: 1 week
# paths: paths:
# - build/beta - build/beta
# - scripts/s3sync.sh - scripts/s3sync.sh
# build stable: build stable:
# stage: build stage: build
# script: script:
# - yarn install - yarn install
# - yarn run build:stable - yarn run build:stable
# only: only:
# - stable - stable
# artifacts: artifacts:
# expire_in: 1 week expire_in: 1 week
# paths: paths:
# - build/stable - build/stable
# - scripts/s3sync.sh - scripts/s3sync.sh
# deploy review: deploy review:
# stage: deploy stage: deploy
# variables: variables:
# GIT_STRATEGY: none GIT_STRATEGY: none
# dependencies: dependencies:
# - build development - build development
# environment: environment:
# name: $CI_BUILD_REF_NAME name: $CI_BUILD_REF_NAME
# url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME
# on_stop: delete review on_stop: delete review
# script: script:
# - echo "Deploy a review app" - echo "Deploy a review app"
# - '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255' - '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
# - env - env
# - mkdir -p "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}" - mkdir -p "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}"
# - echo "Copy dev build to web server ${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}..." - echo "Copy dev build to web server ${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}..."
# - rsync --delete -va build/dev/ "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}/" - rsync --delete -va build/dev/ "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}/"
# - curl "https://api.telegram.org/bot699197118:AAGXNTaC5Q-ljmy_dMvaIvAKy1XjlkA3Iss/sendMessage?chat_id=-1001354778014&text=https://trezor-wallet-dev.trezor.io/${CI_BUILD_REF_NAME}" - curl "https://api.telegram.org/bot699197118:AAGXNTaC5Q-ljmy_dMvaIvAKy1XjlkA3Iss/sendMessage?chat_id=-1001354778014&text=https://trezor-wallet-dev.trezor.io/${CI_BUILD_REF_NAME}"
# - 'echo "Remove working dir, workaround for cache" && rm -r ./*' - 'echo "Remove working dir, workaround for cache" && rm -r ./*'
# only: only:
# - branches - branches
# tags: tags:
# - deploy - deploy
# deploy stage beta: deploy stage beta:
# stage: deploy stage: deploy
# variables: variables:
# GIT_STRATEGY: none GIT_STRATEGY: none
# AWS_ACCESS_KEY_ID: $STAGE_AWS_ACCESS_KEY_ID AWS_ACCESS_KEY_ID: $STAGE_AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY: $STAGE_AWS_SECRET_ACCESS_KEY AWS_SECRET_ACCESS_KEY: $STAGE_AWS_SECRET_ACCESS_KEY
# when: manual when: manual
# dependencies: dependencies:
# - build beta - build beta
# script: script:
# - scripts/s3sync.sh stage beta - scripts/s3sync.sh stage beta
# only: only:
# - beta - beta
# tags: tags:
# - deploy - deploy
# deploy stage stable: deploy stage stable:
# stage: deploy stage: deploy
# variables: variables:
# GIT_STRATEGY: none GIT_STRATEGY: none
# AWS_ACCESS_KEY_ID: $STAGE_AWS_ACCESS_KEY_ID AWS_ACCESS_KEY_ID: $STAGE_AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY: $STAGE_AWS_SECRET_ACCESS_KEY AWS_SECRET_ACCESS_KEY: $STAGE_AWS_SECRET_ACCESS_KEY
# when: manual when: manual
# dependencies: dependencies:
# - build stable - build stable
# script: script:
# - scripts/s3sync.sh stage stable - scripts/s3sync.sh stage stable
# only: only:
# - stable - stable
# tags: tags:
# - deploy - deploy
# delete review: delete review:
# before_script: [] before_script: []
# stage: deploy stage: deploy
# variables: variables:
# GIT_STRATEGY: none GIT_STRATEGY: none
# when: manual when: manual
# environment: environment:
# name: $CI_BUILD_REF_NAME name: $CI_BUILD_REF_NAME
# action: stop action: stop
# script: script:
# - '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy dir can not be empty" && exit 1' - '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy dir can not be empty" && exit 1'
# - '[ -z "${CI_BUILD_REF_NAME}" ] && echo "Build name can not be empty" && exit 1' - '[ -z "${CI_BUILD_REF_NAME}" ] && echo "Build name can not be empty" && exit 1'
# - '[ ! -d "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}" ] && echo "Folder can not be found, skipping..." && exit 0' - '[ ! -d "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}" ] && echo "Folder can not be found, skipping..." && exit 0'
# - 'rm -r "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}"' - 'rm -r "${DEPLOY_BASE_DIR}/${CI_BUILD_REF_NAME}"'
# only: only:
# - branches - branches
# tags: tags:
# - deploy - deploy
integration tests: integration tests:
image: docker:latest image: docker:latest