Commit Graph

170 Commits

Author SHA1 Message Date
Andronik Ordian
485870296d ci: fix json docs generation (#9515) 2018-09-11 09:38:35 +02:00
gabriel klawitter
502bacea82
fix typo in bash script (#9462) 2018-09-04 10:58:13 +02:00
André Silva
3dbea1a7a1 ci: only include local paths in coverage script (except target) (#9437) 2018-08-31 01:21:57 +02:00
Afri Schoedon
c658b46fe1
Random small cleanups (#9423)
* clean up toml files

* update the parity ethereum toolchain docs

* update contribution guide and issue templates

* update desktop and service files

* build clib examples with 8 threads

* update header templates

* replace parity technologies with parity ethereum logo
2018-08-30 19:57:27 +02:00
Denis S. Soldatov aka General-Beck
bd3bc5c168 Updating the CI system (#8765)
* Updating the CI system with the publication of releases and binary files on github

Signed-off-by: Denis S. Soldatov aka General-Beck <general.beck@gmail.com>

* add missed scripts

* chmod +x scripts

* fix download link for github

* rebuilding CI scripts

* small fixes

* update submodule wasm tests

* ci: fix merge leftovers

* ci: remove gitlab-next from ci triggers

* ci: fix git add in docs script

* ci: use nightly instead of master for publish triggers

* ci: remove sleep from gitlab config

* ci: replace ':' with '-' in gitlab targets

* ci: fix recursive copy in docs script
2018-08-26 00:44:08 +02:00
Christopher Purta
7abe9ec4cc Add update docs script to CI (#9219)
* Add update docs script to CI

Added a script to CI that will use the jsonrpc tool to update rpc
documentation then commit and push those to the wiki repo.

* fix gitlab ci lint

* Only apply jsonrpc docs update on tags

* Update gitlab-rpc-docs.sh

* Copy correct parity repo to jsonrpc folder

Copy correct parity repo to jsonrpc folder before attempting to build docs since the CI runner clones the repo as parity and not parity-ethereum.

* Fix JSONRPC docs CI job

Update remote config in wiki repo before pushing changes using a github
token for authentication. Add message to wiki tag when pushing changes.
Use project directory to correctly copy parity code base into the
jsonrpc repo for doc generation.

* Fix set_remote_wiki function call in CI
2018-08-24 18:14:07 +02:00
Afri Schoedon
6bee9cd1e4 ci: update version strings for snaps (#9160) 2018-07-20 20:55:17 +03:00
André Silva
ca6edcaf71 fetch: replace futures-timer with tokio-timer (#9066)
* fetch: replace futures-timer with tokio-timer

Currently the coverage build fails because `futures-timer` fails to compile with
`-C link-dead-code`. This issue has been reported to `futures-timer`
(https://github.com/alexcrichton/futures-timer/issues/2) but has remained unsolved
for months. It should be fixed by rustc eventually
(https://github.com/rust-lang/rust/issues/45629).

* ci: only include local paths in coverage

* ci: exclude target from coverage
2018-07-09 09:59:05 +01:00
Wei Tang
e9f1b38984 EVM benchmark utilities (#8944)
* Make it possible to expose jsontests using feature flag

* Add start_stop_hook for jsontests

* Fix evmbin compile

* Implement vm jsontests times to tsv result

* Use /usr/bin/env to avoid errors on non-Debian systems

* Move evmbin/bench.sh to scripts and add vm_jsontests script for convenience

* Add tempdir as required deps for test-helpers

* Address grumbles on comments

* Detect file/folder automatically and add command docs

* Fix bench script

* times -> timings

* typo: wrong if condition
2018-06-25 11:21:45 +02:00
Afri Schoedon
dec390a89f scripts: fix docker build tag on latest using master (#8952) 2018-06-22 18:48:36 +03:00
Afri Schoedon
86a8584252
scripts: minor improvements (#8930)
* CI: enable 'latest' docker tag on master pipeline

* CI: mark both beta and stable as stable snap.

* CI: sign all windows binaries
2018-06-22 11:56:06 +02:00
Afri Schoedon
c9cee8fd52
Remove debian/.deb and centos/.rpm packaging scripts (#8887)
* scripts: remove rpm packages

* scripts: remove deb packages

* scripts: remove unused zip archives

* scripts: remove unused ssl references

* scripts: remove debian and centos pipelines

* scripts: rename ubuntu to generic linux

* scripts: restore archives used in gitlab artifacts

* scripts: init submodules for full test suite

* scripts: do not publish master builds, only nightly, stable, beta
2018-06-18 11:49:15 +02:00
Afri Schoedon
bf25f17880
scripts: remove md5 checksums (#8884) 2018-06-13 11:26:35 +02:00
Andrew Jones
95a601d053 Remove mac os installers etc (#8875) 2018-06-13 09:15:40 +02:00
Andrew Jones
114d4433a9 Remove windows tray and installer (#8778)
* Remove windows tray and installer

* Remove make_exe (installer) target

* Change windows $ARC to amd64 for consistency

* Fix windows build - revert to winapi 0.2.8

* Remove publishing of windows installer bins
2018-06-06 10:02:25 +02:00
Niklas Adolfsson
98b7c07171 Update license header and scripts (#8666)
* Update `add_license` script

* run script

* add `remove duplicate lines script` and run it

* Revert changes `English spaces`

* strip whitespaces

* Revert `GPL` in files with `apache/mit license`

* don't append `gpl license` in files with other lic

* Don't append `gpl header` in files with other lic.

* re-ran script

* include c and cpp files too

* remove duplicate header

* rebase nit
2018-06-04 10:19:50 +02:00
Afri Schoedon
938c3707fc
Gitlab test script fixes (#8573)
* Exclude /docs from modified files.

* Ensure all references in the working tree are available

* Remove duplicated line from test script
2018-05-14 11:28:41 +02:00
Afri Schoedon
b2cc1c54f8
Add whisper CLI to the pipelines (#8578)
* Add whisper CLI to the pipelines

* Address todo, ref #8579
2018-05-09 23:26:30 +02:00
Afri Schoedon
f56c065f57
Fix snap builds (#8483) 2018-04-25 16:25:57 +02:00
Afri Schoedon
adc3457a89
Bump master to 1.12 (#8477)
* Bump master to 1.12

* Bump crates to 1.12

* Bump mac installer version to 1.12

* Update Gitlab scripts
2018-04-25 16:25:43 +02:00
André Silva
bc2f5586ee ci: fix change detection in master builds (#8382) 2018-04-12 15:53:54 +02:00
Marek Kotewicz
ea6b0ec164
remove evmjit (#8229)
* removed not working evmjit, closes #8192 closes #6205

* removed evmjit from build scripts

* fixed parity compile error

* removed evmjit cli options

* fixed invalid test config files
2018-04-04 18:07:49 +09:00
André Silva
54c9c382e7 Revert "ci: disable link-dead-code in coverage build (#8118)" (#8287)
This reverts commit 4d1cb01da0.
2018-04-02 16:06:07 +03:00
Kirill Pimenov
ed296312aa Check one step deeper if we're on release track branches (#8134) 2018-03-16 17:19:14 +03:00
André Silva
4d1cb01da0 ci: disable link-dead-code in coverage build (#8118) 2018-03-15 02:21:40 +03:00
Rando
33284e988e
Bump master to 1.11.0 (#8021)
* Bump master to 1.11.0

* Bump price-info

* Bump mac installer version

* Fix gitlab builds
2018-03-03 22:02:33 +01:00
Denis S. Soldatov aka General-Beck
ec7282d05c CI: Fix cargo cache (#7968)
* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows
2018-03-01 13:41:49 +01:00
Tomasz Drwięga
01d9bff3cf Calculate proper keccak256/sha3 using parity. (#7953) 2018-02-20 22:45:41 +00:00
Afri Schoedon
0a34ad50b4
Fix gitlab (#7901) 2018-02-15 08:27:32 +01:00
Denis S. Soldatov aka General-Beck
5d6e7e1439 fix snap build master (#7896)
add rhash
2018-02-14 22:19:59 +01:00
Afri Schoedon
1cce3cfb75
Fix snapcraft nightly (#7884)
* Fix snapcraft nightly

* Update gitlab-build.sh

* Update snapcraft.yaml

* Update gitlab-build.sh

* Update .gitlab-ci.yml

snap build switch to https://hub.docker.com/r/snapcore/snapcraft/

* skip aura-test.sh

https://github.com/paritytech/parity/pull/6078

* add snap artifacts

* Fix aura tests

* Fix macos build

* Allow aura test to fail

* Disable aura tests
2018-02-14 12:39:08 +01:00
Tomasz Drwięga
5584739b83 Fix checksums and auto-update push (#7846)
* Re-enable auto-update for windows. Fail build on non 2xx response from updater.

* Fix format of md5 and sha256 files.

* Fix identation.

* Add critical to metadata.

* Add some logs.

* Fix pushing build.

* Attempt to fix release pushing.

* Fix missing rhash?

* Workaround broken rhash.
2018-02-13 19:31:06 +01:00
Denis S. Soldatov aka General-Beck
bf7e8741c7 Update gitlab-test.sh (#7883)
* Update gitlab-test.sh

https://github.com/paritytech/parity/issues/7871

* Update aura-test.sh
2018-02-13 16:21:24 +01:00
Afri Schoedon
3cae42bb34
Fix installer binary names for macos and windows (#7881)
* Fix windows installer file name

* Fix macos installer file name
2018-02-13 16:20:01 +01:00
Denis S. Soldatov aka General-Beck
78f39e9090 Update gitlab-build.sh (#7855)
fix build ```version``` after https://github.com/paritytech/parity/pull/7723
2018-02-12 10:54:15 +01:00
Afri Schoedon
516bb685bf
Add binary identifiers and sha256sum to builds (#7830)
* Add binary identifiers and sha256sum to builds

* Print build ident
2018-02-07 15:02:13 +01:00
Jaco Greeff
97a3c6e461 Move js & js-old code to github.com/parity-js (#7685)
* Move js & js-old to github.com/parity-js

* Update shell & dapp-wallet references

* Update wallet ref

* Remove JS stages

* Update to latest shell & wallet (token fixes)
2018-02-05 10:40:00 +01:00
Denis S. Soldatov aka General-Beck
9ab0b67bdf
small corrections in queue of checks 2018-01-23 05:04:28 +03:00
Denis S. Soldatov aka General-Beck
a39437ac5a
Update gitlab-test.sh
remove Always test on master, because js-release is always carried out and we receive [ci-skip]
2018-01-21 13:53:40 +03:00
Afri Schoedon
6773e88211 Fix libssl1.1 package name for debian (#7596) 2018-01-17 19:06:54 +03:00
Afri Schoedon
9083bec090 Add codecov badge (#7593)
* Add codecov badge

* Update cov.sh

remove coverall.io
2018-01-17 14:59:22 +03:00
Denis S. Soldatov aka General-Beck
c46887e90b
add codecov 2018-01-17 00:14:38 +03:00
Denis S. Soldatov aka General-Beck
2ac2fbdf89 add ethkey & parity-evm todarwin pkg
+new ststus icons
mac/Parity Ethereum.xcodeproj/project.pbxproj
mac/Parity/AppDelegate.swift
mac/Parity/Assets.xcassets/statusIcon.imageset/Parity-1.png
mac/Parity/Assets.xcassets/statusIcon.imageset/Parity-2.png
mac/Parity/Assets.xcassets/statusIcon.imageset/Parity.png
mac/Parity/GetBSDProcessList.swift
mac/install-readme.txt
mac/uninstall-parity.sh
scripts/gitlab-build.sh
2018-01-16 20:30:28 +03:00
Kirill Pimenov
9578df2abe Rust change detections should do inverse grep (#7564) 2018-01-15 17:25:49 +01:00
Denis S. Soldatov aka General-Beck
24a40af5bc
fix windows and centos builds (#7559)
* fix windows and centos builds
update gitlab-build.sh
windows installer `parity_$VER_installer.exe`
rpm package `parity_$VER_x86_64.rpm`

* Update .gitlab-ci.yml

add cache ``target``
fix windows and centos arg's

* Update installer.nsi

add ``ethstore.exe, ethkey.exe and parity-evm.exe`` to windows installer

* Update cov.sh

add timeout to coverage test's (10 min per test)
2018-01-15 08:20:04 +03:00
Denis S. Soldatov aka General-Beck
6dcf3618d5
Always run on master (#7557)
* Always build everything if we're on master

* Skip if zero foles have changed, not other way around

* Update test.js

* Update test.js

* Update gitlab-test.sh

* Update gitlab-test.sh

* Update gitlab-test.sh

* Update gitlab-test.sh

* Update gitlab-test.sh
2018-01-15 07:31:06 +03:00
Denis S. Soldatov aka General-Beck
f7f718b30f
test conditions in js-release 2018-01-12 13:45:49 +03:00
Denis S. Soldatov aka General-Beck
436f09d5a5 fix darwin build
Parity.png should be 512x512
fix ethstore

Signed-off-by: Denis S. Soldatov aka General-Beck <general.beck@gmail.com>
2018-01-11 07:54:42 +03:00
Denis S. Soldatov aka General-Beck
fff6e037ab clean .gitlab.yml and 2 scripts for test and build: gitlab-build.sh & gitlab-test.sh 2018-01-10 11:44:36 +03:00
Denis S. Soldatov aka General-Beck
0b91bd4b11 fix conditions 2018-01-10 07:33:46 +03:00
Denis S. Soldatov aka General-Beck
cb8c4b4e96 add gitlab-test.sh
move functions from .yml to add gitlab-test.sh
2018-01-10 06:38:50 +03:00
Denis S. Soldatov aka General-Beck
f400a7e171 .gitlab-ci cleanup
Resolves issue #4226 #7086 ci #63 close PR #7506
2018-01-10 05:58:12 +03:00
Robert Jensen
ba89f34751 fixes typo in user config path (#7159) 2017-11-29 11:12:03 +01:00
David Dorgan
bdf1e6afcc Revert "Sync parity-ewf with parity"
This reverts commit f7ba063b22.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22 Sync parity-ewf with parity 2017-10-24 12:31:50 +01:00
Tomasz Drwięga
aa929fe6ae Clean-up scripts. (#6832) 2017-10-20 11:41:11 +02:00
Antonios Hadjigeorgalis
a56c5e6ba8 Updated systemd files for linux (#6592)
Previous version put $BASE directory in root directory.
This version clearly explains how to run as root or as specific user.

Additional configuration:

* send SIGHUP for clean exit,

* restart on fail.

Tested on Ubuntu 16.04.3 LTS with 4.10.0-33-generic x86_64 kernel
2017-09-26 18:03:18 -04:00
Marek Kotewicz
0c7c34e609 Chainspec validation (#6197)
* chainspec validation

* better error formatting for chainspec

* lint validate_chainspecs.sh

* quit takes &str instead of S: AsRef<str>

* push CI

* don't double check spec validity
2017-08-02 12:50:36 +02:00
debris
6e5a563c06 fixed scripts and reverted ipfs comment 2017-08-01 12:32:34 +02:00
debris
2b02651bbf alway test --all (temporary exclude ipfs and evmjit) 2017-07-29 22:54:04 +02:00
Denis S. Soldatov aka General-Beck
d157930f2c chmod +x *scripts 2017-07-18 16:45:58 +03:00
Denis S. Soldatov aka General-Beck
88145752ff [ci skip] move Aura test https://github.com/paritytech/parity-import-tests in nightly build 2017-07-18 16:45:58 +03:00
Denis S. Soldatov aka General-Beck
801fcf3271 fix docker build in master 2017-07-18 16:17:33 +03:00
Denis S. Soldatov aka General-Beck
df144a6fcb fix docker build 2017-07-18 16:12:16 +03:00
Denis S. Soldatov aka General-Beck
69561da15f fix docker build and snapcraft 2017-07-17 12:06:32 +03:00
Saulius Valatka
a7da8eb593 Make config file optional (#5847) 2017-06-19 11:42:29 +02:00
Denis S. Soldatov aka General-Beck
03de333de1 fix verify 2017-06-13 02:35:07 +03:00
Denis S. Soldatov aka General-Beck
42ad8bbdb0 Create cov.sh
add --verify
add RUSTFLAGS="-C link-dead-code"
2017-06-13 02:22:37 +03:00
Denis S. Soldatov aka General-Beck
a4a36422d4 Add Installed-Size to deb build
https://github.com/paritytech/parity/issues/4937
2017-05-26 14:56:51 +03:00
Nikolay Volf
e1fef5c732 Update dependencies and bigint api (#5685)
* update to latest bigint

* bump elastic array and deps

* fix rlp tests

* also update all smallvec deps

* fix doc test

* reduce parking in attempt to fix CI bug

* fix from/into electum bug

* remove duplicate imports
2017-05-24 12:31:33 +02:00
Tomasz Drwięga
cbcc369a2d UI server refactoring (#5580)
* Full API in Authenticated WS server.

* Replacing UI server with Hyper.

* Solving CLI, RPCs and tests.

* Porting signer tests.

* Fixing origin recognition for dapps/rpc.

* Fixing tests. Adding parity-rpc-client to test.

* Dapps exposed as RPC method.

* JS code to support new connection scheme.

* Fixing dapps tests.

* Updating allowed origins/hosts to support web3.site.

* Fixing tests, fixing UI.

* Fixing tests.

* Removing invalid tests.

* Fixing merge.

* 404 fallback for UI

* Improve ContentFetcher constructor readability.

* Naming.

* Update .gitlab-ci.yml

fix CI lint error

* Fixing tests and linting issues.

* Fixing new tests.

* UI hosts.

* Submodules fix.
2017-05-24 12:24:07 +02:00
Denis S. Soldatov aka General-Beck
28b66d1b58 Update deb-build.sh
Ethcore -> Parity Technologies
2017-05-10 23:19:08 +03:00
Denis S. Soldatov aka General-Beck
951dc757f8 fix docker build (ethcore+parity hub's) 2017-05-04 23:46:25 +03:00
Denis S. Soldatov aka General-Beck
15c89a8fff add docker build for hub.docker.com/r/parity 2017-05-03 17:31:56 +03:00
Leo Arias
80a58eea7b Add the packaging metadata to build the parity snap (#5496)
* Add the packaging metadata to build the parity snap

* Move the snapcraft.yaml to scripts
2017-04-25 16:20:57 +02:00
Tomasz Drwięga
ea09aa584d WebSockets RPC server (#5425)
* Basic WS server.

* CLI for WS server.

* Bump jsonrpc

* Fixing test.
2017-04-13 16:32:07 +02:00
Denis S. Soldatov aka General-Beck
9b212dc518 Update cov.sh
remove src/test from EXCLUDE
2017-04-04 12:51:54 +03:00
Tomasz Drwięga
2df4532d50 Dapps and RPC server merge (#5365)
* Dapps server as a middleware.

* Dapps RPC - Work in Progress

* Merging Dapps and RPC server.

* Fast HTTP server configuration.

* Bump jsonrpc

* Fixing test target

* Re-implementing commented-out tests.
2017-04-03 10:27:37 +02:00
Tomasz Drwięga
d2394d3ac3 Updating paths to repos. (#5330)
* Updating paths to repos.

* Updating rotor and libusb

* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Michael Egger
4ebd597354 start parity after network.target (#4952) 2017-03-19 08:52:00 +01:00
Denis S. Soldatov aka General-Beck
cb79859c0e Update cov.sh
update coverage for RUST&JS
[ci skip]
2017-03-16 01:21:58 +03:00
Denis S. Soldatov aka General-Beck
1959f0ae12 fix docker-build
[ci skip]
2017-03-14 20:21:51 +03:00
Arkadiy Paronyan
5031221369 Removed libudev-dev 2017-03-14 13:02:46 +01:00
Marek Kotewicz
3fe3353696 removed redundant FixedHash trait, fixes #4029 (#4866) 2017-03-11 22:58:15 +04:00
Denis S. Soldatov aka General-Beck
4e1816cd00 test coverage 2017-03-07 03:16:32 +04:00
Gav Wood
cec37207be Update comments and reg ABI (#4787)
* Update comments.

* Fix up new ABI.
2017-03-06 21:37:38 +01:00
Denis S. Soldatov aka General-Beck
38884cdf82 update docker-build
add arg
[ci skip]
2017-03-06 22:44:41 +04:00
Denis S. Soldatov aka General-Beck
b13a446d82 update docker-build
fix path
2017-02-27 01:14:23 +04:00
Denis S. Soldatov aka General-Beck
5c57b42259 [ci skip] 2017-02-23 03:31:43 +04:00
Denis S. Soldatov aka General-Beck
06937be74b add libudev-dev in deb
[ci-skip]
2017-02-15 20:09:47 +04:00
Denis S. Soldatov aka General-Beck
3af45c6ad9 update depends
Depends: libssl1.0.0 (>=1.0.0)
[ci skip]
2017-02-03 14:47:29 +04:00
Denis S. Soldatov aka General-Beck
0bf9f6c444 change depends
libssl (>=1.0.0)
[ci skip]
2017-02-03 13:17:10 +04:00
Gav Wood
8404edb656 Fix whitespace (#4299)
* Fix whitespace.

* Update copyright years/owner.

* Push release only for tags.
2017-01-25 18:51:41 +01:00
Lukas Maerdian
275fd5096c Update deb-build.sh to fix libssl dependency (#4260) 2017-01-22 16:16:15 +01:00
Svyatoslav Nikolsky
092e24b9f2 Integration with zgp whitelist contract (#4215)
* zgp-transactions checker

* polishing

* rename + refactor

* refuse-service-transactions cl option

* fixed tests compilation
2017-01-22 16:15:22 +01:00
keorn
be30c44179 Validator/authority contract (#3937)
* dir

* simple validator list

* stub validator contract

* make the engine hold Weak<Client> instead of IoChannel

* validator set factory

* register weak client with ValidatorContract

* check chain security

* add address array to generator

* register provider contract

* update validator set on notify

* add validator contract spec

* simple list test

* split update and contract test

* contract change

* use client in tendermint

* fix deadlock

* step duration in params

* adapt tendermint tests

* add storage fields to test spec

* constructor spec

* execute under wrong address

* create under correct address

* revert

* validator contract constructor

* move genesis block lookup

* add removal ability to contract

* validator contract adding validators

* fix basic authority

* validator changing test

* more docs

* update sync tests

* remove env_logger

* another env_logger

* cameltoe

* hold EngineClient instead of Client

* add a comment about lock scope
2017-01-10 12:23:59 +01:00
Robert Habermeier
8125b5690c Port try macro to new ? operator. (#3962)
* initial untry sweep

* restore try in ipc codegen, fix inference

* change a few missed try instances
2016-12-27 12:53:56 +01:00
Denis S. Soldatov aka General-Beck
63d68aaeef Update deb-build.sh
Add Depends: libssl
2016-12-23 16:47:50 +04:00
Gav Wood
d1653567d9
Add contract ABI auto-generatr.
o
2016-12-13 22:32:34 +01:00
Robert Habermeier
415fccfffb add ethcore-light cov target 2016-12-09 15:20:45 +01:00