Commit Graph

110 Commits

Author SHA1 Message Date
Alexander Samusev 4eeb3c851f [ci] use external repo for check-labels (#1985)
* [ci] use external repo for check-labels

* remove ruled_labels specs, docs

* remove repo checkout

* remove checkout action

* remove old gha
2022-12-13 10:57:52 +01:00
Chevdor 16c944af15 Replace the label checks using bash script by ruled-labels (#1576)
* Add rules and specs

* add labels

* Add new checks

* Fix criticality check

* Use the new rule filter introduced in ruled-labels v0.3.0 to better target tests

* Add workflow to tests label rules

* Fix trigger

* Add new GH Workflow

* Don't swallow failures but allow them

* Fix new script

* Simplify check

* Fix Workflow

* Remove dup var

* Fix vars

* Move pull image to separate step

* Remove continue on error

* Show input list of labels

* Fix check-labels workflow

* Remove Docker -it flags

* Prevent shell from splitting on spaces

* Fix rules path

* Comment out rules related to labels not present in the repo

* Fix tests

* Fix labels specs and tests

* fix test

* new label description and rules

* fix tests

* use ruled_labels as crate

* fix toolchain

* fix component

* move from docker to crate

* fix test

* fail without labels

* add cache

* fix check no labels

* add D-labels check

* fix emtpy label check

* try docker

* fix specs

* test D label

* revert Cargo.toml

* use tags for ruled_labels

* fix rules

* test D label

* fix tags

* remove changes

* add PR tag to single criticality rule

* remove old line

* test ruled_labels test

* disable Check label Rules

* fix GHA name

* fix tests

* rename files, upd ruled_labels 0.3.2

Co-authored-by: alvicsam <alvicsam@gmail.com>
Co-authored-by: parity-processbot <>
Co-authored-by: Joyce Siqueira <joycesiqueira@Joyces-MacBook-Pro.local>
Co-authored-by: joyce <joyce@parity.io>
Co-authored-by: Joyce Siqueira <98593770+the-right-joyce@users.noreply.github.com>
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
2022-12-12 10:37:52 +00:00
dependabot[bot] 8f4261a1b8 Bump ruby/setup-ruby from 1.120.1 to 1.127.0 (#1951)
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.120.1 to 1.127.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/f2c070bbf74632495b403899c87610cd4cb99dbe...ee2113536afb7f793eed4ce60e8d3b26db912da4)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 14:22:14 +00:00
Branislav Kontur 8b6984c655 BridgeHubKusama - initial setup - (chain_spec + basic runtime without any bridging pallets) (#1764)
* [BridgeHub] Setup Rococo backbone parachain

* [BridgeHub] Setup Wococo parachain backbone (reused from Rococo)
[Bridge-Backport] Rebase-fix
BridgeHub] Added zombienet startup tomls for Rococo/Wococo
Fix typo

* [BridgeHub] Added chain_spec for live Rococo/Wococo

* [BridgeHub] Clean bridge-hub-rococo runtime

* [BridgeHub] Add bridge-hub-rococo to CI pipelines

* [BridgeHub] Added bridge-hub-kusama - empty runtime/chain_spec setup

* Fixes

* Fixes for BH

* Fixes for other runtimes - align all

* Fixes - const

* Fixes const

* Fixes

* Fix kusama-local

* Sample zombienet runs

* Fixes

* Fixes for benchmarking

* Fixes CI

* Fixes

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs frame_system

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_balances

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_session

* Fixes name

* Fixes readme

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_timestamp

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs cumulus_pallet_xcmp_queue

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection

* Fixes

* Fixes

* rustfmt

* Fixes

* Added pallet_utility/pallet_multisig

* Blind try for regex pr-custom-review.yml (added bridge-hub-kusama + collectives-polkadot)

* Fixes

* Fixes

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_utility

* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_multisig

* Trying to fix sed expression?

* Added license headers + correct "DAG:" desc

Co-authored-by: command-bot <>
2022-12-02 14:06:39 +01:00
dependabot[bot] f199f90137 Bump ruby/setup-ruby from 1.120.0 to 1.120.1
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.120.0 to 1.120.1.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/ece82769428359c077b5a5eaff268902a303c101...f2c070bbf74632495b403899c87610cd4cb99dbe)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 08:28:18 +01:00
dependabot[bot] a31a450ef3 Bump Swatinem/rust-cache from 2.1.0 to 2.2.0
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/b894d59a8d236e2979b247b80dac8d053ab340dd...359a70e43a0bb8a13953b04a90f76428b4959bb6)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 08:28:04 +01:00
dependabot[bot] afdfa9308c Bump Swatinem/rust-cache from 2.0.1 to 2.1.0 (#1816)
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/22c9328bcba27aa81a32b1bef27c7e3c78052531...b894d59a8d236e2979b247b80dac8d053ab340dd)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 08:40:50 +00:00
dependabot[bot] 368cef5fea Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 (#1767)
* Bump Swatinem/rust-cache from 2.0.0 to 2.0.1

Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/6720f05bc48b77f96918929a9019fb2203ff71f8...22c9328bcba27aa81a32b1bef27c7e3c78052531)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* match hash with version

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io>
2022-11-07 10:18:13 +00:00
dependabot[bot] a36ac55f71 Bump ruby/setup-ruby from 1.118.0 to 1.120.0 (#1804)
* Bump ruby/setup-ruby from 1.118.0 to 1.120.0

Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.118.0 to 1.120.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/eae47962baca661befdfd24e4d6c34ade04858f7...ece82769428359c077b5a5eaff268902a303c101)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/release-30_create-draft.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update .github/workflows/release-30_create-draft.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-11-07 10:17:11 +00:00
dependabot[bot] 5504dc7b2d Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#1801)
* Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0

Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/068dc23d9710f1ba62e86896f84735d869951305...de7ea6f8efb354206b205ef54722213d99067935)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* match hash with version

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com>
2022-11-07 10:15:56 +00:00
Chevdor 220bc559f0 GHA updates and pin (#1768)
* Pin checkout to v3.1.0 and update srtool-actions to v0.6.0

* Pin GHA ruby/setup-ruby to 1.118.0

* Update and pin GHA deps

* Pin all external GHA deps
2022-10-17 14:19:09 +00:00
Wilfried Kopp 8db577e342 Fix protoc install 2022-10-06 11:03:33 +02:00
Alexander Samusev a668de357d [ci] check fmt on master (#1734) 2022-10-06 10:13:40 +02:00
Chevdor f836f83c87 Update .github/workflows/docs.yml
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
2022-10-05 16:03:04 +02:00
Wilfried Kopp 62e9c425e2 Add protoc 2022-10-05 16:03:04 +02:00
Alexander Samusev 4635068280 [ci] add fmt check (#1733)
* [ci] add fmt check

* fix name

* remove gha from branches
2022-10-05 12:39:41 +00:00
Wilfried Kopp 558af3e063 Fix target of some Matrix notifications 2022-10-05 10:58:48 +02:00
Muharem Ismailov 4f18266954 fix a wrong path to ci script (#1646) 2022-09-20 11:29:38 +00:00
Alexander Samusev 05abc1a38a [ci] add auto cargo-fmt (#1562)
* [WIP][ci] add auto cargo-fmt

* [ci] Apply cargo-fmt

* use fmt nightly

* [ci] Apply cargo-fmt

* add comment to cargo-fmt and remove fmt gha

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
2022-08-24 15:54:40 +02:00
Sergejs Kostjucenko 09bbdd5143 pin gha versions (#1566) 2022-08-23 11:35:02 +03:00
joe petrowski 0e83ad23aa Add Collectives Parachain (#1346)
* add new runtime and remove unnecessary pallets

* make runtime build

* add collectives to collator node

* sketch alliance config in runtime

* Slash handler was supposed to be commented out (for now)

* correct signature

* move to impls

* add alliance to runtime

* rustfmt

* IsReserve, remove Ping, update fn deposit

* add transaction_payment event

* Update parachains/runtimes/collectives/collectives-polkadot/src/lib.rs

Co-authored-by: Squirrel <gilescope@gmail.com>

* fmt

* add genesis config to chain spec

* fix merge

* local and dev configs only (for now)

* remove duplicate imports

* Collectives polkadot runtime to cargo workspace members (#1397)

* Collectives polkadot runtime: use unit type impl for identity verifier (#1398)

* apply fn rename

* fmt

* one less todo

* Less code in magic macros (#1407)

* Less code in magic macros

* cargo fmt

* Bench alliance (#1427)

* add benchmarks

* call one script from the other

* shebang changes so works on nixos too.

* bench in parallel as separate jobs

* hyphens can turn into underscores

* remove workaround to trigger bench

Co-authored-by: alvicsam <alvicsam@gmail.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* enable ci jobs

* fix publish bench results jobs

* chainspecs for collectives-westend (#1441)

* initial chainspecs for collections relay chain

* plumb in the collectives-westend chainspec

* add Runtime::CollectivesWestend

* lock

* Collectives: teleport slashed assets  (#1433)

* Collectives: teleport slashed assets

* fmt

* Cargo.lock > polkadot-parachain 0.9.25

* create temp account for imbalance

* treasury acc id from pallet id

* move accounts into constants, use here junction for assets

* assets location is relay chain, accounts as parameters

* fix typos

* fix typo

* Update parachains/runtimes/collectives/collectives-polkadot/src/constants.rs

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* Move alliance proposal provider to impls.rs (#1464)

* Move to impls alliance proposal provider

* rustfmt

* Bumping spec version

(so that we can redeploy with slashing change.)

* cargo lock

* slurp collectives digest to make appear in release notes (#1473)

* add slurp

* Slurp better :)

* Bring some order

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>

* reorder barrier

* Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>

* address review

* clean construct runtime

* fmt

* looks pretty but brings in too much

Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
Co-authored-by: alvicsam <alvicsam@gmail.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-08-11 11:11:10 +00:00
Egor_P cfb8308413 add tag creation for the runtimes release candidate (#1525)
* add tag creation for the runtimes release branch

* change githab actions versions to hashes

Co-authored-by: parity-processbot <>
2022-08-11 07:13:25 +00:00
Chevdor b824f0266b CI fixes (#1510)
* Fix templates

* Same than https://github.com/paritytech/polkadot/pull/5751

Co-authored-by: parity-processbot <>
2022-08-10 21:00:19 +00:00
Wilfried Kopp cc0be990a7 Remove category 2022-08-10 22:59:35 +02:00
Wilfried Kopp ff9e50a79b Fix ports 2022-08-10 22:59:35 +02:00
Wilfried Kopp 48d70ce44d Add delay to see node start 2022-08-10 22:59:35 +02:00
Wilfried Kopp 07323dfd9a Add relay to matrix 2022-08-10 22:59:35 +02:00
Wilfried Kopp 3b31b3fefa Lower timeout# Please enter the commit message for your changes. Lines starting 2022-08-10 22:59:35 +02:00
Wilfried Kopp d33f2fdcbb Fix relay chain ref 2022-08-10 22:59:35 +02:00
Wilfried Kopp 3ac9ed8e9f Fix ref node 2022-08-10 22:59:35 +02:00
Wilfried Kopp 0710ae3f1a WIP 2022-08-10 22:59:35 +02:00
Wilfried Kopp fbab011705 Ignore pkill outcome 2022-08-10 22:59:35 +02:00
Wilfried Kopp 53afd090e4 Add timeout 2022-08-10 22:59:35 +02:00
Wilfried Kopp f9f4128d76 Fix paths 2022-08-10 22:59:35 +02:00
Wilfried Kopp 12d1221cc3 Move down bins to a tmp folder 2022-08-10 22:59:35 +02:00
Wilfried Kopp bb4b221e35 typo 2022-08-10 22:59:35 +02:00
Wilfried Kopp 2d10c143b7 Remove unquired checkout 2022-08-10 22:59:35 +02:00
Wilfried Kopp 5737302c09 Move to a tmp folder 2022-08-10 22:59:35 +02:00
Wilfried Kopp 160cfbd262 Fix defautls 2022-08-10 22:59:35 +02:00
Wilfried Kopp 2047433649 WIP 2022-08-10 22:59:35 +02:00
Wilfried Kopp 7879d1c3ca Renaming to align with Polkadot 2022-08-10 22:59:35 +02:00
Giles Cope 958414472f and again 2022-08-04 12:26:07 +02:00
Giles Cope 5dae501aa5 There's already one directly below 2022-08-04 12:26:07 +02:00
Giles Cope 66c6c38b12 if not in a subdir... 2022-08-04 12:26:07 +02:00
Giles Cope f8a1ffc6fa another shot 2022-08-04 12:26:07 +02:00
Giles Cope 92f3eb931b broader scope 2022-08-04 12:26:07 +02:00
Giles Cope b0bfe4835b Like polkadot, save context.json as an artifact 2022-08-04 12:26:07 +02:00
Wilfried Kopp e46b59430a cleanup 2022-07-08 09:21:39 +02:00
Wilfried Kopp 8555ca2b60 Add new room to the matrix notifications 2022-07-08 09:21:39 +02:00
dependabot[bot] fc4181b3ff Bump chevdor/srtool-actions from 0.4.0 to 0.5.0
Bumps [chevdor/srtool-actions](https://github.com/chevdor/srtool-actions) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/chevdor/srtool-actions/releases)
- [Commits](https://github.com/chevdor/srtool-actions/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: chevdor/srtool-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 09:04:14 +02:00