Commit Graph

19 Commits

Author SHA1 Message Date
Ondrej Sika
779682551d CI base image - fix missing attrs 2020-12-07 10:01:11 +01:00
Ondrej Sika
879220c398 ci: run e2e tests in containers 2020-12-02 14:25:51 +01:00
Vladimir Volek
8f64a5474c Improve CI (#1094)
* less ci jobs

* remove components and storybook v1 from ci

* remove storybook

* add rsync

* add base image with rsync

* Fix copy artifacts

* fix paths

* fix path in mobile

* create dir

* add deploy dirs

* debug

* fix deploys

* fix deploys

* fix stages

* fix stages
2020-01-24 20:41:15 +01:00
Vladimir Volek
71c868a11d NEW RUNNER CACHE HYPE (#1041)
* try cache

* try local cache

* remove install before script

* set cache before every script

* try different cache

* fix path

* add cd

* add debug

* change cache dir

* try try try

* try try try try

* punk

* punk

* ad rsync

* add rsync

* try new cache

* remove cp

* allow different node version for windows build

* fix json

* setup cache policy

* better policy

* add libs to cache

* indent

* remove yarn before every command and cache globally

* better install

* try pull push

* change policy

* use specific version of docker image with rsync

* do not download desktop artifacts in intergration tests

* remove rsync

* split tasks

* add components

* fix tasks
2020-01-09 12:02:51 +01:00
martin
3ee11cef06 remove duplicate build jobs, lint in one job, type-check in one job (#947)
* remove duplicate build jobs, lint in one job, type-check in one job

* add lerna to global deps

* remove duplicate build jobs, lint in one job, type-check in one job

* argh..

* remove ttm again :D

* change base image

* remove yarn lerna
2019-12-16 17:49:58 +01:00
martin
82fbd23a66 Bridge/emu tests (#825)
* add binaries (bridge, emu-t1, emu-t2)

* less jobs in ci (temporary)

* add python scripts

* tests setup

* add simple example test using bridge and emu

* disabel jobs in CI (temporary)

* working "change device label" test

* wip

* add more commands

* adjust tests launch script in package.json

* ignore __pycache__

* extend device-settings test

* adjustments for ci

* remove probably unneeded scripts

* rework another test to use emu

* tests after

* remove other fws

* add tests readme

* adjust docker

* paths for artifacts

* remove function component

* add basic discovery tests (without much assertions yet)

* skip some tests after rebase to new design

* some changes from review

* set env var properly in sh script

* scripts

* new image

* re-enable all

* notes after rebase

* add back device settings test (may fail, lets see)

* add wait again

* try longer timeout

* where did my concurrently go?

* on last try

* try antipattern

* re-enable all
2019-12-12 13:56:02 +01:00
Vladimir Volek
fdbfad8a66 install global deps (#815) 2019-11-21 17:08:55 +01:00
martin
b5ddbafd8e Try to fix postinstall err (#805)
* try --ignore-scripts

* install

* cache troublesome libs in image

* fix and list cache

* trigger CI

* notes

* trigger ci

* add more packages to base
2019-11-21 12:29:10 +01:00
Maroš
1bc7122184 Store remembered device, discovery, accounts, txs in db (#713)
* remove all items matching index key

* remember device, discovery, accounts

* add upsert param in 'addItems' method

* fake interface for RN

* save changes to stored accounts, discovery

* add comment

* upgrade idb

* support es2019 syntax

* storage: better TS, hopefully better 'addItems' method

* rename storageMiddleware and move under suite

* save txs

* fix ts

* fix ts

* error log

* save device to db as disconnected

* allow to use es2019 syntax (array.flat())

* invalidate txs in db on block mined in case of outdated account

* remove sendForm draft on form clear

* clear sendform on forget device

* fix type in NoSSR component

* add unit test for storageActions

* fix sortByTimestamp util func for devices

* bump to node 12

* bump node engine

* fix more sorts

* fix suiteMiddleware unit test

* upgrade canvas

* update yarn.lock

* fix ts

* add clearStores method

* fix jest not resolving tx.done when there was no operation within transaction

* remove todo

* fix duplicate import

* better types

* use new types

* remove device instances

* fix missing import

* fix typo

* selective store updates

* add deviceState back to send form state

* delete account txs on account removal (app settings coin switch)

* add test for updating the db on device change

* add device test

* bump node

* bump image
2019-11-06 16:29:53 +01:00
martin
ff2246f590 use only base image 2019-11-05 13:34:15 +01:00
martin
04c45a37aa ok we need node 10.x 2019-11-05 13:34:15 +01:00
martin
1045f77f00 use node:lts 2019-11-05 13:34:15 +01:00
martin
05f7dc0ed7 chrome-beta 2019-11-05 13:34:15 +01:00
Vladimir Volek
51dd3c2625 revert node version 2019-10-21 15:42:28 +02:00
Vladimir Volek
0434bcea7c correct node version 2019-10-21 14:29:14 +02:00
Vladimir Volek
5abb8fc34f fix node version (#706) 2019-10-21 14:18:56 +02:00
Vladimir Volek
db385fcccf Docker env image (#628)
* base docker image to ci

* add stage

* require task

* require task fix path

* fix syntax error

* rename tasks

* fix path

* refactor a bit

* remove pull

* remove dot

* add debug

* remove cache

* debug

* debug 2

* debug 3

* debug 4

* change variable

* debug 6

* debug 7

* debug 8

* remove debug

* better command

* fix paths
2019-10-10 16:52:11 +02:00
Vladimir Volek
ada15c4d6d Update README.md 2019-09-30 11:53:17 +02:00
Vladimir Volek
7f42da4fe5 move docker to ci folder 2019-09-04 15:22:59 +02:00