Commit Graph

270 Commits

Author SHA1 Message Date
Gerardo Nardelli
aa32f2cc0c Update contract submodule 2019-07-18 08:39:51 -03:00
Gerardo Nardelli
473b6a3e46 Fix commons unit test 2019-07-17 12:09:55 -03:00
Gerardo Nardelli
8cf97aea3c Fix e2e-commons up script 2019-07-17 12:03:29 -03:00
Gerardo Nardelli
ac6775bd6e Lint fix 2019-07-17 11:53:43 -03:00
Gerardo Nardelli
478b30b2ed Add ARBITRARY_MESSAGE bridge mode 2019-07-17 11:49:29 -03:00
Gerardo Nardelli
70d03c1a93 Oracle amb merge fix 2019-07-17 11:47:25 -03:00
Gerardo Nardelli
0694fc24e9 Merge branch 'master' into amb-oracle
# Conflicts:
#	oracle-e2e/deploy.js
#	oracle-e2e/docker-compose.yml
#	oracle-e2e/run-tests.sh
#	oracle/config/base.config.js
#	oracle/src/services/gasPrice.js
#	oracle/src/utils/utils.js
#	oracle/test/gasPrice.test.js
2019-07-17 10:00:10 -03: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
Alexander Kolotov
8597e13952 the coefficient increased as preventive fix to address the issue with failed cuncurrent transactions due to incorrect estimatGas call 2019-06-14 17:00:23 +03:00
Alexander Kolotov
c9ed138326
Merge branch 'master' into #94-oracle-sender-retry 2019-06-14 16:51:17 +03:00
Przemyslaw Rzad
8f47c93369
UI in docker (#102)
* Removed duplicate entry

* Started introducing ui dockerfile

* frozen lockfiles

* Removed unnecessary steps from Dockerfile.e2e

* Added start instruction

* Added docker-compose with instructions to UI

* Updated readme.

* Removed unnecessary command
2019-06-14 15:50:22 +02:00
Alexander Kolotov
14b5968efa
Merge branch 'master' into #94-oracle-sender-retry 2019-06-14 16:35:44 +03:00
Przemyslaw Rzad
ca1cf80615
Removed obsole e2e deploy scripts (#104) 2019-06-14 14:48:52 +02:00
Alexander Kolotov
b1721881f5
Merge branch 'master' into #94-oracle-sender-retry 2019-06-14 15:34:43 +03:00
Gerardo Nardelli
ae6692abcd Add unit test for retry queue 2019-06-13 14:29:40 -03:00
Przemyslaw Rzad
3be812d55f
Monorepo initialization (#101)
* Update postinstall script

* Add initialize script, simplify readme

* Unsafe perm

* Added initialize-root job

* Initialize-root only on master
2019-06-13 16:17:24 +02:00
Gerardo Nardelli
a466fe57dc Limit retry delay 2019-06-12 16:14:43 -03:00
Gerardo Nardelli
9e5f185bce Improve oracle sender retry strategy 2019-06-11 15:10:28 -03:00
Alexander Kolotov
81a936af45
Merge pull request #86 from poanetwork/e2e-commons
Introducing E2E Commons
2019-06-10 19:07:41 +03:00