Commit Graph

28 Commits

Author SHA1 Message Date
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