Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
c94b68ab5b
Monitor remote logging (#162)
* Added remote logging for monitor

* Legacy line

* Tempaltes
2019-07-26 10:51:39 +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
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
8ea6c716ea
Building containers in deployment (#149)
* Build instead of up

* Starting the service explicitly.
2019-07-16 14:58:26 +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
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
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
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
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
93347b47a8
Updates after deployment test (#75)
* Force ln to mitigate error when postinstall is repeated

* Update readme

* Using yarn in place of npm run

* Changed env order - home first

* Removed gh-pages UI deploy

* Readme cosmetics

* Removed duplicate bridge overview

* Update readme

* Update repository address

* Update readme

* Changed NPM to Yarn everywhere

* Update readme

* Using tokenbridge monorepo in deployment instead of token-bridge

* Update ui/README.md

Co-Authored-By: Andrew Gross <andogro@gmail.com>

* Revert and/or change as per @akolotov explanation

* Removed checkWorker3 that was used in legacy bridge-rust-v1-native-to-erc

* Update deployment/oracle/README.md

Co-Authored-By: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update root readme and Update sub-repo readmes to point to root monorepository initialization.

* Removed obsolete GET /stuckTransfers

* Remove stuckTransfers

* Use shell instead of unmaintained docker_service module. Update naming in templates.
2019-05-31 14:54:32 +02:00
rzadp
a957d7a827 Consolidated .gitignore 2019-05-22 16:31:45 +02:00
Arsenii Petrovich
2fcfe9fe9d Update main.yml (#51)
From Ansible README:
```
For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like 0644 or 01777) or quote it (like '644' or '1777') so Ansible receives a string and can do its own conversion from string into number.
```
The error was in using `644` mode instead of `0644`
2019-05-20 13:09:53 +02:00
Przemyslaw Rzad
f2cb9768f9
Update deployment readmes (#42)
* Update links in deployent readmes.

* Removed rust section, updated link.

* Removed rust section, updated link.
2019-05-15 09:55:52 +02:00
Przemyslaw Rzad
48efc618e4
Update deployment bridge (#37)
* Removed obsolete upgradable-wo-parity.

* Renamed deployment-bridge/bridge-nodejs to deployment-bridge/oracle

* Renamed deployment-bridge to deployment.

* Added linting to readme.

* Added linting.

* Migrated circle-ci to 2.1

* Revert "Migrated circle-ci to 2.1"

2ce36b1934c02e2c6900884ac932d6bfdbffc3cb

* Ansible-linting only bugs.

* Updated readme, finished ansible-lint.

* Fixed CI error.

* Verbose.

* Using differnt docker.

* Linting only bugs.

* Revert "Added linting to readme."

b5890b884750fe8a7ebe4c1c1361b2a60b1690f9

* Added readme for merging.
2019-05-10 14:04:20 +02:00