Commit Graph

258 Commits

Author SHA1 Message Date
s3krit 0c316acef0 remove debug lines (#1847) 2020-10-26 11:59:20 +00:00
s3krit da121e4183 update generate_release_text.rb (#1812) 2020-10-23 14:37:53 -05:00
s3krit 747103dfd2 Automation for new release process (#1754) 2020-10-20 18:24:54 +02:00
s3krit 032c68850d [CI] Docker image updates (#1799) 2020-10-19 15:44:14 +02:00
Peter Goodspeed-Niklaus f31c904140 add two node local net script (#1781)
* initial work running a two node local net

* use the right incantations so the nodes produce blocks together

* improve internal documentation
2020-10-05 14:51:40 +00:00
s3krit f3abba15c6 Add deb and RPM repository config and documentation (#1676)
Co-authored-by: Parity Releases <releases@parity.io>
Co-authored-by: Demi Marie Obenour <demiobenour@gmail.com>
2020-09-10 17:22:20 +02:00
Bastian Köcher 8729fb7d4b Revert "Ignore checks for companion PRs (#1455)" (#1549) 2020-08-06 17:08:06 +02:00
Cecile Tonglet 497772da18 Ignore checks for companion PRs (#1455) 2020-08-06 06:52:03 +02:00
s3krit 6d0f9df65a [CI] Fix draft release publishing (#1546)
Small oversight, realised I was checking `git log version..old_version` rather than the other way round. Not sure how this slipped through
2020-08-05 19:32:03 +02:00
s3krit 0a44e7a63a Update check_labels runtimenoteworthy label (#1540) 2020-08-05 15:41:16 +02:00
Bastian Köcher 5a4bca765e Add Rococo test network (#1363)
* Add Rococo test network

* Correct license header

* Add bootNodes address

* Fix compile errors

* Change bootNodes

* Change rococo bootNodes

* Add new bootNodes

* Fix bootNodes typo

* Remove public telemetry

* Add rococo-local chain spec

* Remove staking

* Remove staking from chain spec

* use rococo-staging chain spec and preserve bootnodes

* Same but with --raw

* update chain name and remove telemetry

* Empty commit to re-trigger CI

* Fix revision (temp. until I merge master)

* Revert to branch = master to avoid conflicts

* Revert to branch = master to avoid conflicts

* Disable test (temp)

* Revert to branch = master to avoid conflicts

* Revert to branch = master to avoid conflicts

* Change bootNodes IPs for second rococo network

* Revert "Disable test (temp)"

This reverts commit a159f12e3131d1a25dabb1a4d2834642f2bcdc26.

* Revert purchase

* Update chain spec

* FUUU

* Update service/src/lib.rs

Co-authored-by: Robert Habermeier <rphmeier@gmail.com>

* Update runtime/rococo/src/lib.rs

Co-authored-by: Robert Habermeier <rphmeier@gmail.com>

* Fix compilation

Co-authored-by: Evaldo <contato@evaldofelipe.com>
Co-authored-by: David Dorgan <david@parity.io>
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
2020-08-04 09:41:39 +00:00
s3krit c82f15ec35 [CI] Build wasm blob with srtool and include prop hashes and blobs in release notes (#1506)
* initial build-wasms commit

* fix wasm builds

* add caching and artifact upload

* test for git dir

* Revert "test for git dir"

This reverts commit 295e4655484691aed9162f479a87f09c1b1c9317.

* fix git version incompability

* attempt to fix caching

* Revert "fix git version incompability"

This reverts commit 1d22ffd26b7eff635c5abcc9bd04cb3c88629a1d.

* add kusama job

* use a build matrix for building runtimes

* combine build-wasms and publish draft release

* attempt to name runtimes according to version

* Revert "attempt to name runtimes according to version"

This reverts commit 82f7b4dc0aea995f2599293bba9f11b879f459e5.
Failed experiment

* name runtimes according to version #2

* fix asset path and name

* build wasms first, include prop hash
2020-07-31 14:34:45 +02:00
s3krit 05675df4ed [CI] Publish draft release redux (#1493)
* Add publish-draft-release Github action
* Remove publish_draft_release.sh gitlab job
2020-07-30 14:02:51 +02:00
Cecile Tonglet 42ddcada02 Companion PR (#1423) 2020-07-22 09:16:14 +02:00
Gavin Wood 760d49c551 Remove Sudo (#1437)
* Remove Sudo

NOTE: To ensure minimal index changes to pre-existing pallet deployments,
this is done with a "swap_remove" style; the previous last pallet
(Purchase), which is hitherto unused, has been shifted into the old index
of Sudo.

* Remove CC1 designation.

* Fixes

* Bump

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes
2020-07-20 17:47:09 +02:00
s3krit 6a9cc1869b [CI] check_runtime.sh redux (#1390)
* Initial check_runtime.sh redux

* Skip further checks if no change to runtime

* remove polkadot-master reference

* Fix issues found during review :)

* replace static common dir with common_dirs array
2020-07-15 13:35:51 -04:00
s3krit ebf7de90c2 [CI] Refactor publish_draft_release.sh (#1289)
* Refactor publish_draft_release.sh

* Switch to using arrays for storing labelled changes
* Combine changes for Polkadot and Substrate
* Change sanitised_git_logs in `lib.sh` to drop `*`s at the start
* Only look for priorities of medium or above (presence of one or more
  C1 label is enforeced by check-labels anyway, saves us some API calls)

* Ensure priorities >C1-low aren't labelled B0-silent
2020-06-22 19:24:12 +02:00
s3krit c3ed40fbe6 [CI] Add criticality of release to release notes (#1259)
* Enforces presence of C-labels to designate the importance of a release
* Iterates over them on a release, takes the highest present and includes it in the release notes
* Lists the change(s) that caused the release to be that priority
2020-06-17 14:10:13 +02:00
Gav Wood 43e7a3be33 Another CI fix 2020-06-17 13:15:09 +02:00
Gav Wood e21a6bf763 Fix CI 2020-06-17 13:13:05 +02:00
Gavin Wood fdda80295f v0.8.10 (Polkadot 10) (#1277)
* Rename old labels.

* Bump runtimes

* Bump versions

* Bump lock
2020-06-17 13:03:23 +02:00
Martin Pugh b5aecb8a3d update label names for check_labels job 2020-06-16 15:38:43 +02:00
s3krit 9bbcc3d89f [CI] Fix release notification message, and add rustc version to release notes (#1191)
* Release announcements: s/kusama/polkadot/

* Additional debug info for gitlab publish script

* add rustc version check job

* fully comment out tag-checking

* s/podman/docker/g

* Switch to rust-builder image and install jq

* remove temporary TODOs
2020-06-09 11:12:34 +02:00
s3krit bb0e37f23a Update lib.sh (#1203)
Changes behaviour of `sanitised_git_logs` to collate all changes when operating on separate branches.
2020-06-08 21:50:00 +02:00
s3krit 57c2ded955 [CI] Add Polkadot runtime version to release notes, change release title to Polkadot CC1 (#1136)
* Include polkadot spec in release notes, retitle releases

* add CC1 to release title
2020-05-26 15:46:23 +02:00
gabriel klawitter 6f1d6e9dcc ci: github api use token for pull requests (#1099) 2020-05-15 16:56:02 +05:30
Bastian Köcher d5033456bb Check for correct tag in check_tags.sh (#1087) 2020-05-12 13:08:05 +02:00
s3krit b2655b5220 [CI] add check_tags CI job (#1072)
* add check_tags CI job

* fix typo in gitlab-ci.yml

* add more useful CI output

* Make presence of github token optional
2020-05-08 17:31:23 +02:00
s3krit 9ce4513e79 [CI] Changelog generation: add westend spec version and check changes against labels (#1016)
* Add westend spec version and check labels for polkadot

... And remove reference to `polkadot-master`

* Add changelog section for runtimenoteworthy labels

And change markdown nesting header style
2020-04-24 11:55:40 +02:00
s3krit 73ab649437 CI: Move publish_draft_release job to test stage, and substrate changelog subsections (#908)
* Move publish_draft_release to test stage

Also remove the alert_pending_release job since it's no longer needed

* delete alert_pending_release.sh

* Add splitting substrate changes into subsections
2020-03-21 13:39:52 +01:00
s3krit 0c93011760 CI: Label PRs with B2-breaksapi if substrate changes are labelled B2-breaksapi (#862)
* CI: Split common functions into lib.sh and make...

... alert_pending_release.sh check the substrate changes for various
labels. If labelled, will be included in the changelog, otherwise will
silently be left out.

* replace non-standard /bin/bash with /usr/bin/env bash

* CI: make lib.sh /bin/sh-compatible

* lib.sh: fix newline chars sometimes breaking has_label()

* check_runtime.sh: tag change with 'B2-breaksapi'...

... if any substrate changes are also labelled 'B2-breaksapi'

* Remove debug exits and uncomment labelling

* exit early if we label with breaksapi

* fix publish_draft_release.sh
2020-02-26 14:56:18 +01:00
s3krit 1f9d2af08e CI: fix bad URL in publish_draft_release.sh (#858) 2020-02-24 12:43:15 +00:00
s3krit 25e2448597 CI: Make alert_pending_release.sh filter substrate changes based on github labels... (#850)
* CI: Split common functions into lib.sh and make...

... alert_pending_release.sh check the substrate changes for various
labels. If labelled, will be included in the changelog, otherwise will
silently be left out.

* replace non-standard /bin/bash with /usr/bin/env bash

* CI: make lib.sh /bin/sh-compatible
2020-02-18 15:59:22 +01:00
gabriel klawitter 9a2495c66e ci: fix check_runtime on busybox (#820) 2020-02-03 16:53:20 +01:00
gabriel klawitter c9e2e5ea0c ci: only tag breaksapi if there were changes to the runtime sources (#798) 2020-01-24 22:41:41 +08:00
gabriel klawitter 5b129f1292 ci: backport runtime version checks from v0.6 branch (#774)
* ci: backport runtime version checks from v0.6 branch

* adjust substrate version file path
2020-01-22 00:31:03 +08:00
s3krit fb30862d23 Fix release drafting and pending release alerts (#770)
* Fix gitlab release drafting script

Don't scan commit body for PR-like commit messages. Fix warnings from linter,
and take object URL for signing verification from /git/ref/tags rather than hard-coding

* Temporarily Disable GPG verification in pending...

...release alerts. GPG verification of objects is also done before creating the
draft release so this isn't as bad as it sounds

* Temporarily Disable GPG verification in pending...

...release alerts. GPG verification of objects is also done before creating the
draft release so this isn't as bad as it sounds

* Remove accidental GH token leakage 😅
2020-01-16 19:38:10 +01:00
s3krit e4cc7c5812 Add publish_draft_release.sh (#752)
* Add publish_draft_release.sh

This new CI script will generate a list of differences between
this tagged version and the previous tagged version (including
substrate changes), and create a draft release on Github. Once
this is done, the draft release will be posted in Matrix (the
channel is determined by a Gitlab CI environment variable).

* Add highlighting gav for draft release
2020-01-10 20:29:42 +01:00
s3krit d945280142 Fix pending-release alert script (#734)
... parity/tools doesn't have /bin/bash
2020-01-07 16:29:17 +01:00
Gavin Wood 5cb929a130 Hotfix for Kusama (#724)
* cli: revert borked kusama chain on startup

* Docs.

* cli: fix reversal of bork kusama fork

* cli: force always can author

* Version bump

* service: support setting fork blocks in config

* service: add support for bad blocks extension

* service: add badBlocks to kusama chainspec

* Bump Substrate to hotfix version.

* service: add bad block to kusama chain spec

* cleanup kusama hotfix

* add kusama grandpa hotfix

* Bump substrate

* Bump spec_version

* Rebump

* cli: remove unnecessary dependencies

* service: revert can_author_with fix

* service: remove unnecessary method

* Don't try to track polkadot runtime verion yet

* Versions

* service: better grandpa fix detection

Co-authored-by: André Silva <andre.beat@gmail.com>
2020-01-06 17:45:28 +00:00
gabriel klawitter 039c73f428 ci: make sure master branch is available for check_runtime (#720) 2020-01-06 22:20:38 +09:00
Arkadiy Paronyan a00d74d825 Support both polkadot and kusama runtimes (#704)
* Allow both polkadot and kusama runtimes

* Allow both polkadot and kusama runtimes

* Make `collator` build

* Removed kusama runtime

* Introduced common runtime

* Updated for latest substrate

* Updated CI targets

* Updated CI version check

* Removed unused dependency

* Pulled latests substrate

* Pulled latest substrate

* Fixed version

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* NEW_HEADS_IDENTIFIER moved to primitives

* Updated CI check script

* Fixed script

* Set epoch duration for polkadot

* ci: check_runtime for both runtimes

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: gabriel klawitter <gabreal@users.noreply.github.com>
2020-01-03 18:31:39 +00:00
gabriel klawitter 20604ecc50 ci: fetch master branch for runtime diff (#708) 2019-12-27 09:07:48 +01:00
s3krit 68132e3fd3 Add matrix release alert script and gitlab job (#688)
* Add matrix release alert script and gitlab job

* Update .gitlab-ci.yml

Co-Authored-By: Kirill Pimenov <kirill@parity.io>
2019-12-13 16:08:32 +01:00
gabriel klawitter 663ff3db91 ci: add runtime version check (#555) 2019-11-09 10:46:36 +01:00
Gavin Wood 28e23d07ef Substrate.from() (#426)
* Substrate.from()

* Fix some transaction validation code

* must be more specific for matching now.

* Update `wasm-builder` and add `build-only-wasm` script

* Update to latest service builder interfaces

* ANother substrate update

* Another update
2019-09-11 13:14:20 +02:00
gabriel klawitter b3b511c974 Disable merge test enable kusama nightly staging test (#412)
* remove merge-test and set up kusama-nightly-staging

* refactor .gitlab-ci.yml

* kusama-nightly-staging typo i

* kusama-nightly-staging typo and cond --locked
2019-09-03 23:29:40 +01:00
Bastian Köcher c0b065837e Update to latest Substrate master (#320)
* Make `collator::Network` require `Send + Sync` to make it work

* Update packages

* Update to latest Substrate

* Make it compile and make tests work

* Use `polkadot-master`

* Fix CI

* Remove `build.sh` from readmes

* Delete old stuff

* Bring one back
2019-07-09 15:33:49 +01:00
Pierre Krieger a5b2c9ab34 Require --locked on CI for WASM runtime locks (#285)
* Require --locked on CI for WASM runtime locks

* Update runtime Cargo.lock

* Add quotes
2019-06-11 22:01:26 +02:00
TriplEight f5640ed5a8 show rust version (#269)
* new image, show rust version

* show rust version, fix metadata
2019-05-25 13:34:38 +02:00