Commit Graph

45 Commits

Author SHA1 Message Date
Alexander Kolotov
322729ae82 remove redis installation and redis usage to check if the oracle is running 2020-06-03 01:37:52 +03:00
Alexander Kolotov
441224c1f0 try a more robust way to indentify if Redis is running in e2e tests 2020-06-02 00:25:16 +03:00
Gerardo Nardelli
4db62d721d
Add UI e2e and ultimate tests for stake mediators and fix transfer finalization detection (#347) 2020-06-01 20:58:03 +03:00
Kirill Fedoseev
e6052f162a
Fix some of the possibles failure reasons in e2e tests (#294) 2020-02-11 20:50:34 +03:00
Gerardo Nardelli
232f807e9d
Add ultimate e2e tests for AMB (#285) 2020-02-03 19:39:21 +03:00
Gerardo Nardelli
7fcb118c8c
Add deployment test scenario 3 components on 1 host (#277) 2020-02-03 15:47:44 +03:00
Gerardo Nardelli
ef0a734650 Support two tokens deposits in monitor (#245)
* Support two tokens deposits in monitor
* update chrome version
2019-12-19 12:39:41 +03:00
Alexander Kolotov
803f0074e6
Update the contract's submodule to a commit-predecessor of 3.1.0 (#214) 2019-09-17 10:56:29 +03:00
Przemyslaw Rzad
d593577ace
Update dpkg (#206) 2019-09-11 15:08:59 +02: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
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
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
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
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
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
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
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
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
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
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
86fe89d3ec
Dockerized molecule (#132)
* Dockerized molecule

* Moved testing.md to subfolder.

* Updated readme

* Readme.
2019-07-08 09:15:17 +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
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
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
rzadp
404b1d4959 Removed env variables from CI 2019-06-07 13:19:36 +02:00
Przemyslaw Rzad
1013f69a8b
CI performance impovements (#82)
* Moved selenium to ui-e2e dev dependencies

* Cosmetics

* Removed compiling contracts from build and from test

* Introduced initialize job; Moved cover job to the main workflow

* Build, lint, test and cover jobs using initialize cache

* Yarn install not needed for oracle-e2e. Enable docker caching. Frozen lockfile

* Use docker layer caching and yarn cache for ui-e2e

* Trying to save npm install log as artifact

* More caching.
2019-06-04 09:09:18 +02:00
Przemyslaw Rzad
f5ff33d21f
Oracle & Monitor - Compiled ABI's (#71)
* Oracle abi taken from compilation.
Moved project setup from dockerfile to package.json scripts

* Use compile:contracts script instead of repeated command

* Update imports to root contracts instead of copying

* Rule for importing unpublished. Lint fix

* Remove prepare:contracts and import:contracts

* Disabled ModuleScopePlugin in order to be able to import contracts outside src dir

* Fix for rm removing . and .. on linux
2019-05-27 09:22:08 +02:00
rzadp
48e591ef45 Merge master into dockerfile-and-contracts 2019-05-22 16:12:09 +02:00
Przemyslaw Rzad
19a3314c42
Added Coveralls for UI (#59)
* Adding coveralls

* cover on master only

* Added dependencies badge

* Revert "Added dependencies badge"

420d5276e1cff2557c76937f69166450dd98d340

* Added badge in ui sub-dir. fixed workflow
2019-05-22 16:09:02 +02:00
rzadp
a55cb4cb3f Initializing submodukes and installing dependencie for oracle-e2e job. 2019-05-21 12:44:18 +02:00
rzadp
ca87e4f44a Added all jobs 2019-05-21 12:44:14 +02:00
rzadp
4a58581d57 CI 2019-05-21 12:44:03 +02:00
rzadp
26898f1889 ui-e2e-ci 2019-05-21 12:43:51 +02:00
Przemyslaw Rzad
6d1d4bce6b
Extracting UI E2E (#49)
* Commented out package-lock.json

* Moved over changes from https://github.com/poanetwork/bridge-ui/pull/217

* Brought back package-lock.json used in e2e.

* Edited postinstall to work for sub-repo npm install

* Using local oracle

* Moved ui/e2e-script to ui-e2e

* Introduced ui-e2e workspace.

* Updated paths,. removed bridge dockerfile.

* Updated e2e script after extracting.

* Introduced ui-e2e into CI

* Disabled ui-e2e

* Updated readme.
2019-05-21 09:41:52 +02:00
Przemyslaw Rzad
40fef06503
Update bridge-ui (#39)
* Renamed bridge-ui to ui, removed submodule

* Re-added submodules. Pointing at 2.2.0

* Updated workspace name.

* Removed package-lock.json.

* Updated ui contracts to 2.3.0-rc0, installed node modules.

* Added linting to ui

* Integrated UI lint, test and build into CI.

* Added readme for merging.

* Consistent eslint module

* Included plugins in dev dependencies.

* Changed eslint version.

* Add yarn.lock

* Update deprecated node api.

* Remove travis badge and config in ui

* Update link to oracle in ui dependencies.

* Remove duplicated gitter.

* Remove unimplemented coverage and dependencies badges.

* Update links in step 5 and 6 in UI

* Cosmetic.
2019-05-15 14:23:29 +02:00
Przemyslaw Rzad
d50d579fb5
Extract oracle/e2e (#45)
* Moved oracle/e2e to oracle-e2e

* Update build path in docker-compose

* Update link to e2e in oracle

* Introduce oracle-e2e workspace.

* Updated script and readme

* Integrated oracle-e2e into CI.
2019-05-15 13:51:21 +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
Przemyslaw Rzad
9746430fb0
Add bridge-ui sub-repository (#27)
* Introduced bridge-ui from branch 2.1.0-rc1

* Added submodule to root directory.

* Check out bridge-ui poa-bridge-contracts to tag 2.3.0-rc0

* Added bridge-ui workspace.

* Removed duplicate CoC, Contributing, Licence, updated links in readme.

* Pulling submodules.

* Use specified submodule commit instead of pulling latest.
2019-05-09 12:03:18 +02:00
rzadp
4c2d893292 Updated workflow name. 2019-05-06 15:25:28 +02:00
rzadp
122ed448b8 Added CI config. 2019-05-06 15:18:40 +02:00