Commit Graph

225 Commits

Author SHA1 Message Date
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
Przemyslaw Rzad
4281adfd95
UI logging (#131)
* Introduced logging task for the ui

* Do not update repo to allow multiple apps

* Setup logging first

* Different template names

* Separate docker logging config

* Removed duplication

* Common logging task.

* Tests.

* Lint.

* Commented out syslog server port for ui

* Testing file permissions.
2019-07-09 17:00:12 +02:00
Gerardo Nardelli
319b493568 Use mintedTotallyByBridge for bridge-ui statistics (#135)
* Use mintedTotallyByBridge for bridge-ui statistics
2019-07-09 00:03:02 +03:00
Gerardo Nardelli
4e5e21541e Remove oracle redis lock (#137) 2019-07-08 18:06:57 +03:00
Przemyslaw Rzad
86fe89d3ec
Dockerized molecule (#132)
* Dockerized molecule

* Moved testing.md to subfolder.

* Updated readme

* Readme.
2019-07-08 09:15:17 +02:00
Przemyslaw Rzad
47a0a7c0f5
UI deployment (#126)
* Introduced UI playbook

* added python3-pip

* Instructions.

* Added tokenbridge_ui service

* python3 interpreter

* tokenbridge-ui service

* Explicit python3 usage.
2019-07-05 14:39:37 +02:00
Alexander Kolotov
dcf83ffb55
List of available deployments in README (#125) 2019-07-03 23:12:51 +03:00
Przemyslaw Rzad
4c5df11fd3
E2E files linting (#117)
* Introduced linting for oracle-e2e.

* Fixed linting errors.

* Introduced linting for ui-e2e

* Fixed linting errors.

* Typo.
2019-07-02 15:12:57 +02:00
Przemyslaw Rzad
b254df7c25
Deployment testing specific branch (#122)
* Testing branch

* Updated readme.
2019-07-02 14:54:39 +02:00
Przemyslaw Rzad
11c1595dd6
Role rework plus deployment tests (#116)
* Role-rework

* Update readme.
2019-07-02 13:10:46 +02:00
Przemyslaw Rzad
59564bd600
Deployment structure and documentation (#113)
* Moved rollback and logs into main deployment readme

* Removed duplicated section.

* Removed subdir mention

* Merged dependencies and prerequisites

* Lint at bottom

* Added configuration.md and execution.md

* Moved configuration

* Update path

* Moved administrator configuration

* Update name

* Moved execution.

* Moved stuff to execution.md

* Moved dependencies and prerequisites to sub-mds

* Moved stuff out of oracle subfolder

* Whitespace

* Simplyfy readme

* Removed backticks

* Whitespace

* Update path.

* Update user info

* Update phrasing

* Phrasing
2019-06-28 11:31:57 +02:00
Przemyslaw Rzad
f1d24f0e2c
Monitor - E2E (#112)
* Monitor in e2e

* Cleanup trap

* Exposing monitor port

* Cleanup script

* Exposing monitor port

* Test cases

* Silent curl

* Introduced monitor-e2e into CI

* only monitor

* machine executor

* Readme

* Echoing test cases

* Revert "only monitor"

bb6c8baf06029a1d6ea86cf62e8112ef78b8eaf4

* Negated commands in a subshell
2019-06-27 09:57:45 +02:00
Alexander Kolotov
68a2b5be90
Update the procedure to reset block in the deployment README (#111)
* define more accurately the procedure to reset the block
2019-06-17 11:16:21 +03:00
Przemyslaw Rzad
1da7340fb9
Monitor in docker (#109)
* Monitor in docker

* Update readme.

* Update crontab.example

* Removed examples from readme

* Update readme.
2019-06-17 09:22:53 +02:00
Alexander Kolotov
26ff22ac7e
Merge pull request #108 from poanetwork/fix-coef-for-gaslimit-in-oracle
Increase of EXTRA_GAS_PERCENTAGE
2019-06-14 20:45:46 +03:00
Alexander Kolotov
1737a1d6a2
Merge branch 'master' into fix-coef-for-gaslimit-in-oracle 2019-06-14 20:33:43 +03:00
Alexander Kolotov
8629aff80d
Merge pull request #103 from poanetwork/#94-oracle-sender-retry
Improve sender retry strategy
2019-06-14 17:46:19 +03:00
Alexander Kolotov
091e80e5e9
Merge branch 'master' into #94-oracle-sender-retry 2019-06-14 17:19:43 +03:00
Przemyslaw Rzad
c5cad3c2d8
Removed command in docker compose if entrypoint is present (#106) 2019-06-14 16:18:57 +02:00