Commit Graph

293 Commits

Author SHA1 Message Date
Przemyslaw Rzad
8b010f887d
Consistent variable naming (#198)
* Add console.table

* First steps in validate script

* env rename

* Added parameter names

* Descriptions

* Print and configuration

* Added more parameters

* Rename gas oracle to gas supplier

* More changes

* Removed env examples for now

* RPC rename

* Bridge address rename

* More changes

* jobs

* Renames

* Typo

* jobs

* Changes

* jobs

* Changes

* Monitor changes

* jovs

* Typo

* Changes

* REACT_APP_ env prefix

* Typo

* Rollback changes

* Oracle deployment

* Defaults

* Monitor

* Naming

* Typo

* Typo

* Envs

* ui deployment

* ALl jobs

* Vars in ultimate

* Lint

* Lint

* Lint

* Another way to add REACT_APP prefixing

* Unnecessary mapping

* No output timeout

* No output timeout

* Got rid of ERC20_TOKEN_ADDRESS

* Configuration readme

* Configuration

* Prefixes

* timeout

* Docs

* Docs

* docs

* docs

* docs

* Roll back ERC20_TOKEN_ADDRESS for erc-to-erc

* Typo

* lint

* Rollback

* ROllback validator

* Rollback yarn.lock

* dai and wetc update

* Rollback ERC20_TOKEN_ADDRESS

* erc to native

* examples

* all jobs

* roll back

* roll back ERC20_TOKEN_ADDRESS: "0xdbeE25CbE97e4A5CC6c499875774dc7067E9426B"

* ui env example

* typo

* Allow rpc for ultimate

* Test

* ERC20_TOKEN_ADDRESS rollback

* Specify port

* React port

* All jobs

* cosmetics

* Values

* Restore erc20 token

* Rearrange example for easier comparision

* Rearrange ultimate for easier comparision

* Rearrange for easier comparision

* Refactor

* Conditional app styles

* Loading environment variables in react app

* Add missing vars for UI in wetc and dai

* Bring back test parameters readme

* Readme for monitor vars

* Reading environment variables in e2e-commons (#207)
2019-09-13 09:11:38 +02:00
Przemyslaw Rzad
d593577ace
Update dpkg (#206) 2019-09-11 15:08:59 +02:00
Alexander Kolotov
4e2971f880
Update contract's submodule to 3.0.0 (#204) 2019-09-09 21:41:35 +03:00
Przemyslaw Rzad
54858ae597
Molecule tests for deploying repository (#194)
* Squashed commits

* All jobs

* Rollback changes

* Dependencies

* Remove .git checking

* Resolve path issues

* New way of copying repository.

* Test non existing .git

* New repo task

* Typo

* Do not fail mkdir if folder exists

* Test double task

* zipping the archives

* Increase no_output_timeout because of slowly installing apt-get
2019-09-06 15:24:30 +02:00
Przemyslaw Rzad
443474e802
Typos (#197)
* Typo

* Typo

* Typo
2019-09-06 13:27:17 +02:00
Przemyslaw Rzad
677bc50519
Move molecule to deployment-e2e (#196)
* Moved deployment/molecule to deployment-e2e

* Update paths and readmes

* Nested molecule

* Corrected paths

* paths

* path

* Moved docker up
2019-08-29 10:30:34 +02:00
MarkusTeufelberger
9af253b83e Remove deprecated config option (#166) 2019-08-29 09:56:39 +02:00
Przemyslaw Rzad
01186d6aa8
New way of deploying repository (#195)
* New repo task

* Removed bridge_repo and bridge_repo_branch configs

* Updated docs

* Update apt-get

* Fix path

* Exclude fix

* Removed CODEBASE_BRANCH

* Initializing submodules for deployment tests

* Synchronizing with ls-tree

* Synchronization without temp files
2019-08-29 09:20:55 +02:00
Przemyslaw Rzad
dd9add50a0
Monitor E2E rewrite (#187)
* Started monitor-e2e rewrite

* axios

* Implemented tests

* Monitor start

* First deploy

* Wait for monitor

* Removed redundant files

* Tests.

* TODO

* Links to minitor in constants

* Typo.

* [PR-into-PR] Monitor E2E rewrite - balance (#191)

* Test run for more monitor-e2e tests

* macos/docker

* timeout

* Little refactor

* Trying to test balances in other types of bridges.

* Utils.

* test

* check all

* erc to erc try

* Final tests

* typo

* All jobs

* Lint

* Roll back docker in docker

* WaitUntil

* Axios version

* New validator checks (#192)
2019-08-27 16:26:49 +02:00
Przemyslaw Rzad
c39e81f97d
Simplify Molecule developemnt (#193) 2019-08-23 08:43:46 +02:00
phahulin
f72ca7d38f Fix docker command (#190) 2019-08-21 13:02:45 +03:00
phahulin
b4ec04173c Add a note about resetting nonces (#189) 2019-08-21 00:35:00 +03:00
Przemyslaw Rzad
6aafce052c
Ultimate tests for ERC-TO-ERC (#186)
* Introduce ultimate erc-to-erc

* Added metamask setup

* Corrected configuration parameters
2019-08-20 10:19:42 +02:00
Przemyslaw Rzad
244306f0bf
Update chrome version (#185) 2019-08-12 09:22:27 +02:00
Alexander Kolotov
2093ff2d7e
Update contract's submodule to 2.4.0 (#183) 2019-08-09 10:58:53 +03:00
Przemyslaw Rzad
76daf5a436
Ultimate E2E for ERC TO NATIVE (#182)
* Introducing ultimate erc-to-native, with ultimate-commons

* Ports

* group

* up

* Addresses

* Typo.

* Redis key

* Redis key as a parameter

* ultimate

* parameters

* job name

* jobs

* Cosmetics

* cosmetics

* cosmetics

* jobs

* Descriptions
2019-08-08 16:09:24 +02:00
Przemyslaw Rzad
c865198290
Common Validator utils (#181)
* Extracted parseValidatorEvent to commons

* Extracted processValidatorsEvents to commons

* Extracted validatorList to commons.

* refactorings

* Fixed imports, lint

* UI using getValidatorList

* Monitor using getValidatorList from commons

* Lint

* UI using properly getPastEvents

* Default options

* Final changes

* Corrected invocation of getPastEvents

* Correct usage of options in getPastEvents

* Changed expected message from infura

* Change usage of fromBlock and toBlock

* Default parameters
2019-08-08 15:27:09 +02:00
Przemyslaw Rzad
055a444fae
Common gasprice (#179)
* Common gas price normalization.

* only e2e jobs

* One func

* More extraction.

* Fixed the tests

* skip gasPriceWithinLimits

* test fix

* tos tring

* boundaries

* Extracted fetching gas price from contract

* Refactored oracle gas price

* lint

* lint

* Commentary

* Using common gas price from oracle in ui

* Fix lint

* lint

* Log

* Using common gas price in monitor

* cosmetics

* all jobs

* lint

* lint

* tests

* more tests

* incljdes

* Tests in oracle

* Tests in commons

* Lint

* moved tests from ui to commons

* chai

* Changed order of fetching gas price
2019-08-05 17:22:57 +02:00
Przemyslaw Rzad
2be0e9f363
Fix flaky UI-E2E (#178)
* Change user

* jobs

* Revert "Change user"

5fa7084f06e743f2981035d254a5ca287c41b02b

* Trying to use block generator address

* jobs

* Fixed

* 5 jobs

* 10 jobs

* all jobs

* finish

* Removed jobs

* Add funds for block generator in block genesis
2019-08-05 14:13:16 +02:00
Przemyslaw Rzad
52239a9506
Refactor CI config (#177)
* Update ci config version

* try to use orb

* command

* naming

* Common docker executor config

* Machine in orb

* Common tasks

* common caching

* nvm

* Final test
2019-08-05 09:48:21 +02:00
Przemyslaw Rzad
f3419cbec4
Molecule tests for Monitor deployment (#176)
* Monitor deployment testing - initial commit.

* deployment-monitor job

* one job

* Additional tests.

* server port.

* lint

* all jobs
2019-08-02 10:34:53 +02:00
Przemyslaw Rzad
40be5a5f8e
Extend line width to 120 (#174)
* Extend line width to 120

* Lint fixes
2019-08-01 15:10:22 +02:00
Przemyslaw Rzad
a2e9dae43d
Extending monitor-e2e with 3 types of bridge (#170)
* Started working on monitor-e2e

* Monitor e2e tests extended for 3 types of bridge

* Skipp error checking

* bash fix

* Fixed docker-compose

* check first

* grep errors

* all jobs

* Style

* Executing instead of sourcing
2019-08-01 10:26:20 +02:00
Przemyslaw Rzad
414fe9cb65
Ultimate e2e - Native to erc - UI (#168)
* Trying job

* dependency

* Run the tests

* Oracle docker composes

* Fixed networks

* endpoints

* Skip logging

* Try node

* Moved chromedriver from ui to ui-e2e

* Port

* Run

* Install chrome

* minte blocks

* Finishing

* Revert "Skip logging"

76747eb7efd2ba3c93deedc62caca91a374357eb

* inventory

* Inventory change.

* ui-e2e fix

* ui-e2e fix?

* native-to-erc group

* jobs

* Ports

* Blocks

* yarn

* fix

* fix

* killall

* Try ui-e2e

* no killall

* All jobs.

* Try two

* separate jobs

* all jobs

* One job.

* Removed the oracle-e2e step in ultimate tests.
2019-08-01 09:57:58 +02:00
Alexander Kolotov
272dc142de
New security audit report for the contracts v2.3.2 (#169)
* new security audit report for the contracts v2.3.2
* contracts updated to points to latest commit
2019-08-01 09:03:49 +02:00
Przemyslaw Rzad
984b238279 Explicit and supported chrome version for ui-e2e (#172) 2019-07-31 17:36:28 +02:00
rzadp
93ebcc049e Revert "chrome.deb"
b532c8bad013a67e44fa7d28664c8da1b64b6916
2019-07-31 15:31:17 +02:00
rzadp
b532c8bad0 chrome.deb 2019-07-31 15:28:16 +02:00
Przemyslaw Rzad
9c8259700b
Add cron schedule to monitor deployment playbook (#161)
* Default cron schedule

* Added cron task

* Docs

* Overwriting log files

* Removed deprecated flag

* Default monitor_cron_schedule.
2019-07-26 15:59:30 +02:00
Przemyslaw Rzad
c66923827b
Common getTokenType used on UI, monitor and Oracle (#165)
* Stopped silently swallowing errors

* getTokenType in commons

* Oracle using getTokenType from commons

* Moved the getTokenType tests from ui to commons

* Using getTokenType in ui and oracle

* Revert "Stopped silently swallowing errors"

fc92c0af9dc7cb4e59a7f1779afc8da8d9c33ecf

* using common getTokenType in monitor.

* Lint.
2019-07-26 14:26:14 +02:00
Przemyslaw Rzad
c94b68ab5b
Monitor remote logging (#162)
* Added remote logging for monitor

* Legacy line

* Tempaltes
2019-07-26 10:51:39 +02:00
Przemyslaw Rzad
d3653bc31f
UI using abis from commons (#164)
* Renamed v1 abi names

* Home store using v1 from commons

* Using ERC20_BYTES32_ABI from commons
2019-07-26 10:30:35 +02:00
Przemyslaw Rzad
c9d100491c
Ultimate E2E tests (#158)
* Ultimate e2e for native to erc type of bridge

* One job

* Try to run the tests

* Run on CI

* Docs

* Cosmetics

* Final changes

* Revert the changes

* Networks

* Waiting for Oracle

* One job

* Initialize the contracts submodule

* Run on ci

* comment

* Sleep.

* ultimate network

* Docker localhost no longer needed

* Final changes

* Timeout

* Naming

* Sleep task.
2019-07-26 10:14:25 +02:00
Przemyslaw Rzad
5c92cf50d7
Oracle using ERC_TYPES from commons (#163) 2019-07-24 15:36:07 +02:00
Przemyslaw Rzad
5d22ad1ecb
Remove default syslog server port. (#152) 2019-07-22 09:37:38 +02:00
Przemyslaw Rzad
110b9accc9
Cosistent TokenBridge naming (#159) 2019-07-19 09:18:51 +02:00
Przemyslaw Rzad
82a3bdd86b
First step of ultimate e2e testing (#155)
* Ultimate e2e for native to erc type of bridge

* Initialize

* Node and yarn not needed anymore.
2019-07-17 10:14:58 +02:00
Przemyslaw Rzad
9b3c65f2c4
Creating redis and rabbit in oracle (#153) 2019-07-16 16:12:33 +02:00
Przemyslaw Rzad
8ea6c716ea
Building containers in deployment (#149)
* Build instead of up

* Starting the service explicitly.
2019-07-16 14:58:26 +02:00
Przemyslaw Rzad
3e09fe890e
UI using Commons (#145)
* ui using commons

* Update paths in abis

* Lint.
2019-07-15 18:07:11 +02:00
Przemyslaw Rzad
0b183fb861
Grouped ui-e2e tests (#148) 2019-07-15 09:22:16 +02:00
Gerardo Nardelli
811e8da6b5 Add support for oracle gas price values not expressed in gwei (#142)
* Support other oracle's gas price values in Oracle
* Add default gas price factor in Oracle
* Support other oracle's gas price values in UI
* Support other oracle's gas price values in Monitor
2019-07-12 19:10:17 +03:00
Przemyslaw Rzad
54f6fb5835
UI deployment - Molecule tests (#147)
* Renamed scenario default to oracle

* Introduced ui molecule tests

* Readme

* Common prepare

* Shared test_all

* Moved test_docker_config to common

* Added ui tests

* Lint.
2019-07-12 14:51:06 +02:00
Przemyslaw Rzad
208cfafa95
Monitor using commons (#143) 2019-07-12 14:49:46 +02:00
Przemyslaw Rzad
2e89d7724a
Oracle using commons (#144) 2019-07-12 14:37:41 +02:00
Przemyslaw Rzad
b88dd66cac
Oracle-e2e using Commons (#146) 2019-07-12 10:53:16 +02:00
Przemyslaw Rzad
054225d348
Added Commons sub-repository (#139)
* Added Commons

* Typo.

* Typo.

* Typo.
2019-07-11 15:46:52 +02:00
Przemyslaw Rzad
cf3aa56929
Simplified ui-e2e linting rules (#140)
* Simplified ui-e2e linting rules

* More simplification
2019-07-11 15:06:50 +02:00
Przemyslaw Rzad
1da1acbfbe
Yaml and Ansible linting in Molecule (#141)
* Removed old ansible-lint outside of molecule

* Yamlint

* Enabled ansible-lint with minimal rules

* Removed ansible-lint job
2019-07-11 10:17:02 +02:00
Przemyslaw Rzad
3f27b98b8b
Monitor deployment playbook (#133)
* Introduced monitor deployment playbook

* Timeouts

* dai deployment block

* wetc deployment blocks

* Corrected path

* Typo.

* Added monitor to execution readme.

* Monitor port.

* Check on start

* Timeouts

* check-and-start
2019-07-09 19:26:40 +02:00