Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit bd0f53a

Browse files
committed
Merge branch 'master' into dp/chore/new-ethereum-consensus-tests
* master: (70 commits) ethcore: remove `test-helper feat` from build (#11047) Include test-helpers from ethjson (#11045) [ethcore]: cleanup dependencies (#11043) add more tx tests (#11038) Fix parallel transactions race-condition (#10995) [ethcore]: make it compile without `test-helpers` feature (#11036) Benchmarks for block verification (#11035) Move snapshot related traits to their proper place (#11012) cleanup json crate (#11027) [spec] add istanbul test spec (#11033) [json-spec] make blake2 pricing spec more readable (#11034) Add blake2_f precompile (#11017) Add new line after writing block to hex file. (#10984) fix: remove unused error-chain (#11028) fix: remove needless use of itertools (#11029) Convert `std::test` benchmarks to use Criterion (#10999) Fix block detail updating (#11015) [trace] introduce trace failed to Ext (#11019) cli: update usage and version headers (#10924) [private-tx] remove unused rand (#11024) ...
2 parents b745fa3 + a665116 commit bd0f53a

File tree

468 files changed

+15063
-9108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

468 files changed

+15063
-9108
lines changed

.gitlab-ci.yml

Lines changed: 67 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ variables:
1313
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
1414
CARGO_TARGET: x86_64-unknown-linux-gnu
1515

16-
.no_git: &no_git # disable git strategy
17-
variables:
18-
GIT_STRATEGY: none
19-
GIT_SUBMODULE_STRATEGY: none
2016

2117
.releaseable_branches: # list of git refs for building GitLab artifacts (think "pre-release binaries")
2218
only: &releaseable_branches
@@ -46,7 +42,7 @@ variables:
4642
sccache --start-server
4743
- sccache -s
4844
after_script:
49-
# sccache debug info
45+
# sccache debug info
5046
- if test -e sccache_debug.log;
5147
then
5248
echo "_____All crate-types:_____";
@@ -100,6 +96,15 @@ cargo-check 2 3:
10096
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --features "mio" --verbose --color=always
10197
- sccache -s
10298

99+
cargo-check-benches:
100+
stage: test
101+
<<: *docker-cache-status
102+
script:
103+
- time (cargo check --all --benches --exclude ethash --exclude verification --target $CARGO_TARGET --locked --verbose --color=always)
104+
- time (cd ethash; cargo check --benches --features bench --target $CARGO_TARGET --locked --verbose --color=always)
105+
- time (cd ethcore/verification; cargo check --benches --features bench --target $CARGO_TARGET --locked --verbose --color=always)
106+
- sccache -s
107+
103108
cargo-audit:
104109
stage: test
105110
<<: *docker-cache-status
@@ -205,11 +210,10 @@ build-windows:
205210

206211
publish-docker:
207212
stage: publish
208-
<<: *no_git
209213
only: *releaseable_branches
210214
except:
211-
variables:
212-
- $SCHEDULE_TAG == "nightly"
215+
- nightly
216+
when: manual
213217
dependencies:
214218
- build-linux
215219
environment:
@@ -219,23 +223,24 @@ publish-docker:
219223
services:
220224
- docker:dind
221225
variables:
226+
GIT_STRATEGY: none
222227
DOCKER_HOST: tcp://localhost:2375
223228
DOCKER_DRIVER: overlay2
224229
GIT_STRATEGY: none
225230
# DOCKERFILE: tools/Dockerfile
226-
# CONTAINER_IMAGE: parity/parity
231+
# CONTAINER_IMAGE: parity/parity
227232
script:
228-
# we stopped pushing nightlies to dockerhub, will push to own registry prb.
229233
- ./tools/publish-docker.sh
230234
tags:
231235
- kubernetes-parity-build
232236

233-
publish-snap: &publish-snap
237+
publish-snap-nightly: &publish-snap
234238
stage: publish
235-
<<: *no_git
236-
only: *releaseable_branches
239+
only:
240+
- nightly
237241
image: snapcore/snapcraft
238242
variables:
243+
GIT_STRATEGY: none
239244
BUILD_ARCH: amd64
240245
cache: {}
241246
dependencies:
@@ -245,35 +250,57 @@ publish-snap: &publish-snap
245250
script:
246251
- ./tools/publish-snap.sh
247252

248-
publish-snap-i386:
253+
publish-snap-manually:
254+
<<: *publish-snap
255+
only: *releaseable_branches
256+
when: manual
257+
258+
publish-snap-i386-nightly: &publish-snap-i386
249259
<<: *publish-snap
250260
variables:
251261
BUILD_ARCH: i386
252262
CARGO_TARGET: i686-unknown-linux-gnu
253263
dependencies:
254264
- build-linux-i386
255265

256-
publish-snap-arm64:
266+
publish-snap-i386-manually:
267+
<<: *publish-snap-i386
268+
only: *releaseable_branches
269+
when: manual
270+
271+
publish-snap-arm64-nightly: &publish-snap-arm64
257272
<<: *publish-snap
258273
variables:
259274
BUILD_ARCH: arm64
260275
CARGO_TARGET: aarch64-unknown-linux-gnu
261276
dependencies:
262277
- build-linux-arm64
263278

264-
publish-snap-armhf:
279+
publish-snap-arm64-manually:
280+
<<: *publish-snap-arm64
281+
only: *releaseable_branches
282+
when: manual
283+
284+
publish-snap-armhf-nightly: &publish-snap-armhf
265285
<<: *publish-snap
266286
variables:
267287
BUILD_ARCH: armhf
268288
CARGO_TARGET: armv7-unknown-linux-gnueabihf
269289
dependencies:
270290
- build-linux-armhf
271291

272-
publish-onchain:
273-
stage: publish
274-
<<: *no_git
292+
publish-snap-armhf-manually:
293+
<<: *publish-snap-armhf
275294
only: *releaseable_branches
295+
when: manual
296+
297+
publish-onchain-nightly: &publish-onchain
298+
stage: publish
299+
only:
300+
- nightly
276301
cache: {}
302+
variables:
303+
GIT_STRATEGY: none
277304
dependencies:
278305
- build-linux
279306
- build-darwin
@@ -283,11 +310,18 @@ publish-onchain:
283310
tags:
284311
- linux-docker
285312

286-
publish-awss3-release:
313+
publish-onchain-manually:
314+
<<: *publish-onchain
315+
only: *releaseable_branches
316+
when: manual
317+
318+
publish-release-awss3-nightly: &publish-release-awss3
287319
image: parity/awscli:latest
288320
stage: publish
289-
only: *releaseable_branches
290-
<<: *no_git
321+
only:
322+
- nightly
323+
variables:
324+
GIT_STRATEGY: none
291325
cache: {}
292326
dependencies:
293327
- build-linux
@@ -309,13 +343,19 @@ publish-awss3-release:
309343
tags:
310344
- linux-docker
311345

346+
publish-release-awss3-manually:
347+
<<: *publish-release-awss3
348+
only: *releaseable_branches
349+
when: manual
350+
312351
publish-docs:
313352
stage: publish
314353
image: parity/parity-ci-docs:latest
315354
only:
316355
- tags
317356
except:
318357
- nightly
358+
when: manual
319359
cache: {}
320360
dependencies: []
321361
script:
@@ -326,11 +366,12 @@ publish-docs:
326366

327367
publish-av-whitelist:
328368
stage: publish
329-
<<: *no_git
330-
# only: *releaseable_branches
369+
variables:
370+
GIT_STRATEGY: none
371+
only: *releaseable_branches
331372
except:
332-
variables:
333-
- $SCHEDULE_TAG == "nightly"
373+
- nightly
374+
when: manual
334375
cache: {}
335376
dependencies:
336377
- build-windows

0 commit comments

Comments
 (0)