Commit Graph

318 Commits

Author SHA1 Message Date
gabriel klawitter
870ec89e9a Simultaneous platform tests WIP (#9557)
* look into commit changes

* look into commit changes ii

* all on test

* build only_releaseable_branches for platforms

* allow failure for check during development

* windows test typo

* fix sh for windows

* remove check stage again

* debug macos platform
2018-09-14 15:55:14 +02:00
Afri Schoedon
c77e99814b
ci: always run build pipelines for win, mac, linux, and android (#9537)
* ci: always run build pipelines for win, mac, linux, and android

* ci: always run build pipelines for win, mac, linux, and android

* ci: disallow failure for publish scripts

* ci: enable tests on master

* ci: run tests in debug mode to speed things up

* ci: only build windows, darwin, and android targets on PRs

* ci: reenable darwin and android pipelines on PR

* ci: revert tests to run in release mode
2018-09-13 13:15:15 +02:00
gabriel klawitter
6e62d77e4d correct before_script for nightly build versions (#9543)
- fix gitlab array of strings syntax error
- get proper commit id
- avoid colon in stings
2018-09-12 17:46:56 +03:00
Afri Schoedon
69667317c1
Bump master to 2.2.0 (#9517)
* parity-version: bump master to 2.2.0

* ci: update branch version references

* docker: release master to latest

* deps: bump fs-swap to 0.2.4
2018-09-12 11:32:05 +02:00
gabriel klawitter
67066eb32a
fix typo in version string (#9516) 2018-09-11 11:31:25 +02:00
gabriel klawitter
eb0986c3f9 upload will fail if a file with the same hash is already up (#9479)
* upload will fail if a file with the same hash is already up

* compose version string for nightly releases
2018-09-10 18:22:34 +03:00
gabriel klawitter
f929419676 add tags for runner selection of build-linux jobs (#9451) 2018-08-31 16:41:21 +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
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
1318f536c9
CI: Fix docker tags (#8822)
* scripts: enable docker builds for beta and stable

* scripts: docker latest should be beta not master

* scripts: docker latest is master
2018-06-06 15:45:55 +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
Afri Schoedon
27f3f42ce2 CI: Fixes for Android Pipeline (#8745)
* ci: Remove check for shared libraries in gitlab script

* ci: allow android arm build to fail
2018-06-01 09:52:30 +02:00
Pierre Krieger
3bb5ad7204 Check that the Android build doesn't dep on c++_shared (#8538) 2018-05-16 00:11:14 +03:00
Pierre Krieger
629da8f8bf More changes for Android (#8421) 2018-05-02 09:20:59 +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
Afri Schoedon
4e76cce0b7
Allow 32 bit pipelines to fail (#8454)
* Disable 32bit tragets for gitlab

* Rename linux pipelines
2018-04-21 11:24:51 +02:00
Denis S. Soldatov aka General-Beck
bbefdec973 fix cache & snapcraft CI build (#8052)
after successful testing it is necessary to port in a ```beta``` and ```stable```
2018-03-05 11:52:18 +01:00
Denis S. Soldatov aka General-Beck
e79ade59c9 gitlab cache (#7921)
it is necessary to test
2018-02-18 00:02:44 +01:00
Denis S. Soldatov aka General-Beck
3d803762ff Gitlb snap master patch (#7900)
* fix snap build master

add rhash

* fix double line

* remove filure from snap build stage
2018-02-15 07:54:21 +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
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
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
66322c769e
remove cargo cache 2018-01-23 14:42:02 +03:00
Denis S. Soldatov aka General-Beck
8d3843f7dc
Update .gitlab-ci.yml
enable cache for cargo
2018-01-23 04:59:40 +03:00
Afri Schoedon
6773e88211 Fix libssl1.1 package name for debian (#7596) 2018-01-17 19:06:54 +03:00
Denis S. Soldatov aka General-Beck
9fe61dd529
Update .gitlab-ci.yml
fix cache key
2018-01-17 10:12:02 +03:00
Denis S. Soldatov aka General-Beck
0510cb3aa1
fix gitlab.yml lint 2018-01-17 10:01:49 +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
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
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
Kirill Pimenov
bdc3d6fee0 More thorough changes detection (#7472)
* More thorough changes detection

This basically trades false-negatives ("dumb" last commit not touching
Rust on a Rust-touching branch) for false-positives (all builds against
`stable` and `beta` will run all tests almost always).
This seems to be a reasonable tradeoff.

Closes #6507

* We don't have Appveyor anymore

* before_script sections are not merged

* Limiting commit depth breaks branching detection
2018-01-08 21:23:56 +03:00
Jaco Greeff
3833f87256
Complete token merge, remove unused files (#7037)
* Either js or js-old to have changes to trigger push-cargo

* Complete merge of token changes (code move to js-shared)

* Update setting variable
2017-11-13 13:44:51 +01:00
Jaco Greeff
0f2bfda830
Fix v1 precompiled (#7033)
* Combine cargo updates into one

* Update log tag
2017-11-13 11:52:34 +01:00
Tomasz Drwięga
da6bd4168b
Update build scripts. 2017-10-18 16:38:11 +02: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
69561da15f fix docker build and snapcraft 2017-07-17 12:06:32 +03:00
Denis S. Soldatov aka General-Beck
3637c14da5 fix Windows and MacOS build
add `cargo clean`
2017-06-28 14:03:17 +03:00
Denis S. Soldatov aka General-Beck
201f34620a CI build
add evmbin, ethstore, ethkey
2017-06-28 13:54:05 +03:00
David Dorgan
16caf032bd Only use -cli for the build, not binary itself. 2017-06-27 09:23:16 +02:00
Denis S. Soldatov aka General-Beck
4900e90112 build ethkey & ethstore
add -cli
2017-06-26 22:06:00 +03:00
Denis S. Soldatov aka General-Beck
3111421866 Update .gitlab-ci.yml
snap update
2017-06-17 22:03:12 +03:00
Denis S. Soldatov aka General-Beck
6afe0b0612 fix builds
darwin rustup default stable
snap - allow failure
2017-06-13 12:21:44 +03:00
Denis S. Soldatov aka General-Beck
2501334ed7 add CI variable 2017-06-13 01:37:03 +03:00
Denis S. Soldatov aka General-Beck
5f01fb7f1a remove nodejs 8 test stage
switch to RUST 1.18 and NodeJS 8.1
2017-06-12 23:40:57 +03:00
Denis S. Soldatov aka General-Beck
317df7e6a6 fix CI lint 2017-06-07 22:05:44 +03:00
Denis S. Soldatov aka General-Beck
1fb11c23d8 port snap build 2017-06-07 21:53:36 +03:00
Denis S. Soldatov aka General-Beck
241de230bb Update .gitlab-ci.yml
add snap build to tags, triggers
2017-06-06 16:19:11 +03:00
Denis S. Soldatov aka General-Beck
815f427c95 Update .gitlab-ci.yml
add rust beta&nigthly test for master
add more triggers
2017-06-05 15:44:37 +03:00
Denis S. Soldatov aka General-Beck
d7e531c373 JS test Node 7 -> 8 2017-06-01 00:05:11 +03: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
Gav
8a54c91431 Merge branch 'add-unit-tests' of https://github.com/guanqun/parity into guanqun-add-unit-tests 2017-05-23 08:48:04 -04:00
Guanqun Lu
14b715bdc7 fix not build issue, only detect pure js folder 2017-05-21 10:44:20 +08:00
Denis S. Soldatov aka General-Beck
2fd44e6ce4 CI add test stage with node 7.x 2017-05-18 21:22:52 +03:00
Gav Wood
91d6f14e3c Fix CI paths. (#5570) 2017-05-06 13:24:00 +02: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
8fdda2f5b7 Update .gitlab-ci.yml
fix nightly test
- rustup default nightly
2017-05-03 17:56:10 +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
Denis S. Soldatov aka General-Beck
0658e42dad fix nightly published
add `nightly` to S3_BUCKET=builds-parity-published
2017-05-03 13:50:08 +03:00
Denis S. Soldatov aka General-Beck
9cfb50f90f Update .gitlab-ci.yml
build snap beta
2017-05-03 03:12:45 +03:00
Denis S. Soldatov aka General-Beck
09bd3a9642 update CI docker images
switch to hub.docker.com/r/parity
2017-05-02 20:45:19 +03:00
Denis S. Soldatov aka General-Beck
2ecdf111b0 fix path to artefacts 2017-04-28 16:45:59 +03:00
Denis S. Soldatov aka General-Beck
e9ebb2498b parity_master_amd64.snap 2017-04-28 15:52:58 +03:00
Denis S. Soldatov aka General-Beck
a1aaead6a9 fix CI lint 2017-04-28 15:19:10 +03:00
Denis S. Soldatov aka General-Beck
e989e2f12c add artifacts for snap 2017-04-28 15:16:40 +03:00
Denis S. Soldatov aka General-Beck
e439b53652 switch to docker runner 2017-04-27 17:20:00 +03:00
Denis S. Soldatov aka General-Beck
011f6102a5 update gitlab-ci 2017-04-27 16:27:28 +03:00
Denis S. Soldatov aka General-Beck
2245863f04 add snap to CI
initial build snap package for parity
2017-04-27 16:14:51 +03: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
89a4cb08e8 Update .gitlab-ci.yml 2017-04-05 21:40:12 +03:00
Denis S. Soldatov aka General-Beck
91dbf3c09d init switch to parity docker hub
https://hub.docker.com/r/parity/rust/
2017-04-05 21:35:53 +03: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
Denis S. Soldatov aka General-Beck
2d477946ea alow failure to coverage 2017-03-19 19:10:18 +03:00
Denis S. Soldatov aka General-Beck
57d718fde1 add coverage to master 2017-03-16 01:24:23 +03:00
Tomasz Drwięga
57770ce84c Renaming evm binary to avoid conflicts. (#4899) 2017-03-14 13:08:55 +01:00
Arkadiy Paronyan
2924d0a20f OSX Installer is no longer experimental (#4882)
* OSX Installer is no longer experimental

* osx -> macos
2017-03-13 12:36:55 +01:00
Denis S. Soldatov aka General-Beck
608c0dc613 CI: test coverage (for core) (#4832)
* test coverage

* update gitlab

add `git submodule update --init --recursive`

* test exec coverage in docker runner

* tags kcov
2017-03-10 10:12:16 +01:00
Denis S. Soldatov aka General-Beck
ea020948fc push-release<->build 2017-03-09 01:34:00 +03:00
Denis S. Soldatov aka General-Beck
6062aa5dcd fix windows build
rm parity.pdb
2017-03-08 23:49:34 +03:00
Denis S. Soldatov aka General-Beck
973bb63dca update gitlab-ci
remove temp kcov cmd
[ci skip]
2017-03-07 22:33:08 +04:00
Denis S. Soldatov aka General-Beck
2f7f95d519 update gitlab-ci
add `kcov` cmd
2017-03-07 03:21:11 +04:00
Denis S. Soldatov aka General-Beck
374d7c879e push-release after build 2017-03-07 01:56:19 +04:00
Denis S. Soldatov aka General-Beck
d436f62eb8 update gitlab-ci
docker build beta-release->latest
[ci skip]
2017-03-01 15:57:06 +04:00
Denis S. Soldatov aka General-Beck
2f15c75fa2 update gitlab-ci
fix path to Dockerfile
[ci skip]
2017-02-27 01:13:27 +04:00
Denis S. Soldatov aka General-Beck
714b46dfef update gitlab-ci
add triggers to docker-build
2017-02-24 23:54:41 +04:00
Denis S. Soldatov aka General-Beck
bef33a0958 update gitlab-ci
[ci skip] fix `docker-build`
2017-02-24 22:00:08 +04:00
Denis S. Soldatov aka General-Beck
e60fa751eb [ci skip] 2017-02-23 03:36:03 +04:00
Denis S. Soldatov aka General-Beck
502af0e29b [ci skip] update gitlab-ci
fix path to `tools`
add `tools` in `linux-stable-debian`
2017-02-21 16:42:18 +04:00
Denis S. Soldatov aka General-Beck
68a25d9e14 fix path to tools 2017-02-20 17:16:11 +04:00
Denis S. Soldatov aka General-Beck
e86837b878 target evmbin -> evm 2017-02-20 15:25:53 +04:00
Denis S. Soldatov aka General-Beck
32023f1ea0 fix build path to tools 2017-02-17 23:33:14 +04:00
Denis S. Soldatov aka General-Beck
163e2af568 update Dockerfile for hub
nightly->latest
2017-02-17 22:11:35 +04:00
Denis S. Soldatov aka General-Beck
b35e852cb6 cargo fix 2017-02-17 15:46:43 +04:00