ci: deploy recorded ui2 screens

pull/2357/head
Martin Milata 2 years ago
parent fce188fb96
commit b4145b69a3

@ -246,6 +246,25 @@ ui tests fixtures deploy:
tags: tags:
- deploy - deploy
ui tests ui2 fixtures deploy:
stage: deploy
variables:
DEPLOY_PATH: "${DEPLOY_BASE_DIR}/ui_tests/"
BUCKET: "data.trezor.io"
GIT_SUBMODULE_STRATEGY: "none"
before_script: [] # no poetry
needs:
- core device ui2 test
script:
- echo "Deploying to $DEPLOY_PATH"
- rsync --delete -va ci/ui_test_records/* "$DEPLOY_PATH"
- source ${AWS_DEPLOY_DATA}
- aws s3 sync $DEPLOY_PATH s3://$BUCKET/dev/firmware/ui_tests
# This "hack" is needed because aws does not have an easy option to generate autoindex. We fetch the one autogenerated by nginx on local server.
- wget https://firmware.corp.sldev.cz/ui_tests/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/ui_tests/
tags:
- deploy
# sync to aws # sync to aws
sync emulators to aws: sync emulators to aws:

@ -272,7 +272,7 @@ Consists of **2 jobs** below:
--- ---
## DEPLOY stage - [deploy.yml](../../ci/deploy.yml) ## DEPLOY stage - [deploy.yml](../../ci/deploy.yml)
Consists of **13 jobs** below: Consists of **14 jobs** below:
### [release core fw regular deploy](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L5) ### [release core fw regular deploy](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L5)
@ -296,8 +296,10 @@ Consists of **13 jobs** below:
### [ui tests fixtures deploy](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L229) ### [ui tests fixtures deploy](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L229)
### [sync emulators to aws](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L251) ### [ui tests ui2 fixtures deploy](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L249)
### [common sync](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L276) ### [sync emulators to aws](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L270)
### [common sync](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L295)
--- ---

Loading…
Cancel
Save