Commit Graph
47 Commits
Author SHA1 Message Date
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
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
ChevdorandAlexander Samusev 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
Chevdor c06dea341a fmt (#1731) 2022-10-05 13:01:58 +02:00
Chevdor 54eeaf26fa Add new blank issue template (#1556) 2022-08-19 10:15:50 +02:00
Chevdorandparity-processbot 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
Chevdor eff2c9e498 Second part of the Docker CI fix (#1420)
* Switch to defautl working-directory

* Fix manual docker CI

* Fix ENV/Context

* Fix both CI workflows
2022-06-30 10:13:07 +00:00
Chevdor 149f691216 Fix Docker CI (#1418) 2022-06-29 16:03:44 +00:00
Chevdor f7490083e8 Fix GHA hash (#1411) 2022-06-27 10:15:13 +00:00
Chevdor 32a9df4bb5 Remove left over runtime sections for client builds (#1401)
fix #1124
2022-06-27 10:00:21 +00:00
Chevdor 61c626f3c2 Fix client workflow (#1292) 2022-06-09 13:18:07 +01:00
ChevdorandDenis Pisarev 3b6fb167a8 Add client checklist + doc (#1297)
* Add client checklist + doc

* Add versionning doc

* Update release.md

* Update release.md

* Update .github/ISSUE_TEMPLATE/release-client.md

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>

* Fix grumbles

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2022-06-09 13:17:32 +01:00
Chevdor 7f2e6a157b Run the release branch check on the cumulus code releases as well (#1326) 2022-06-02 13:53:38 +02:00
Chevdor 1ee585ce58 Fix problematic char (#1323) 2022-06-01 22:49:12 +02:00
Chevdor faf3563c61 Add release branch checks (#1319) 2022-06-01 14:23:00 +02:00
Chevdor 8aadf6a025 Node bump to v0.9.220 (#1284)
* Node bump to v0.9.220

* Runtime version bump to 922 (#1283)

* Runtime version bump to 922

* Switch to 9220

* Update cargo.lock
2022-05-23 14:03:39 +00:00
Chevdor 08d5019bd5 Runtime version bump to 922 (#1283)
* Runtime version bump to 922

* Switch to 9220
2022-05-23 14:37:20 +02:00
Chevdor 00d679afec CI deps ugrade (#1237)
* Switch to actions/checkout v3

* Upgrade subwasm version

* Bump srtool-actions to v0.4

* Remove srtool runs from master
2022-05-06 09:24:55 +02:00
Chevdor de296554fb Fix priority thresholds (#1203) 2022-04-22 15:52:24 +02:00
Chevdor e39cf0894b Fix target docker hub org (#1125) 2022-03-31 18:20:47 +02:00
Chevdor 71d7743869 Hide unwanted hashes for parachain runtimes (#1122) 2022-03-31 08:47:12 +00:00
Chevdor bf8b24071c Skip runtime migrations for the client release (#1116)
Also removes a bunch of empty lines for a nice output
2022-03-29 18:17:56 +02:00
Chevdor b468d0c33e Fix #851 (#1110)
* Fix doc

* Formatting fixes and bump prio if host functions are detected

* Add canvas

* Bump canvas-kusama's runtime version to 800

* Add db migrations

* Prepare for client releases

* Split the upload of the context artifact

* Rename of the srtool digests to match script default expectations

* Fix runtime name for canvas

* Fix jobs dependencies when skipping jobs/steps for client builds

* Fix CI for the client builds

* Fix issue when building in client mode

* Bump checkout action to v3 and gate some tests

* Fix notification

ref #851
2022-03-28 10:00:07 +02:00
ChevdorandBastian Köcher c70156b122 Add production profile (#934)
* Add production profile

* Fix opt-level

* Update Cargo.toml

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

* Move opt-level to release

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-01-25 14:46:05 +00:00
Chevdor e0264b3dba Pin the changelogerator version (#898)
ref #851
2022-01-20 11:39:15 +01:00
Chevdor e543545f03 Release notes fixes (#839)
* Format runtime version

ref #787

* Remove the counter in the misc changes

* Add pre-release information

* Save context as artifact

* Rococo naming and minor fixes

* WIP

* Show the list of high prio issues

* Minor fixes

* Fix workflow title

* Attempt to fix Element rendering issue

* Code block fix
2021-12-08 13:54:50 +01:00
Chevdor a166eb3291 Add CI to build docker images on releases (#836)
* Fix the url of the fetched file

* Fix binary in the GPG check

* Add docker build

* Import GPG pub keys

* Copy missing binaries

* Checkout first

* Add missing mkdir

* Set bin as executable

* Fix exec flag earlier

* Fix docker calls

* Fix version parsing

* Fix image names

* Cleanup

* Fix ENV issue

* Only allow user keys on pre-releases

* Add Docker Hub token and enable pushing

* Make Docker owner configurable via secrets

* Fix owner

* Remove duplicate secret
2021-12-07 14:50:16 +01:00
Chevdor 4aafbe3766 Add check_labels script and workflow (#782) 2021-12-06 15:30:42 +01:00
Chevdor ab1bcc72ee Fix secret used to send announcements (#821)
* Fix secret used to send announcements

* Fix matrix secret
2021-12-01 16:35:50 +01:00
Chevdor e44dc52bf5 Allow manual start (#818) 2021-12-01 16:05:27 +01:00
ChevdorandAlexander Popiak 8cc008b6a9 CI: Release start (#788)
* Initial version

* Fix branch pattern

* Fix template

* Update .github/ISSUE_TEMPLATE/release.md

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Update .github/ISSUE_TEMPLATE/release.md

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Rebase master and fmt

* Swap out Polkadot JS section for integration tests + remove tags

* remove tags

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2021-11-24 18:15:43 +01:00
Chevdor 8b5a1e483e Fix rococo naming (#785) (#786) 2021-11-22 17:52:47 +01:00
Chevdor df6265a58f Add srtool check in master and release branches (#780) 2021-11-22 15:39:57 +01:00
Chevdor 3c8df319c5 Fix CI for runtimes and rococo (#774)
* Specify the ref to checkout

* Fix default ref2

* Fix naming
2021-11-22 14:48:59 +01:00
ChevdorandIgnacio Palacios 5d91815914 Fix rococo naming for master (#776)
* package naming conflict fixed (#753)

* Fix rococo naming

Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2021-11-22 13:58:15 +01:00
ChevdorandAlexander Popiak ce2403808b Add changelog generation (#761)
* WIP Release notes generation and templates

* WIP Add new sections to the template

* WIP renaming and wip

* Fix runtime template

* Add doc, NO_CACHE and tweaking of the templates

* Renaming cl into cumulus to make room for the polkadot and substrate

* Fetch data from Substrate and Polkadot

* WIP convert bash script to ruby

* Convert to Ruby

* Fix host function delection

* Extract priority to a macro

* Fix misc changes

* Draft release workflow

* Fix runtime dir

* Add ENV to ignore runtimes

* Install tooling separately

* WIP troubleshooting - remove sudo

* Minor formatting fixes

* Fix workflow

* Add missing dep

* Linting

* Fix changelog script

* Add missing tera install

* Use absolute paths

* Fix path + cleanup

* Fix changelog generation

* Add missing pre-release ENV

* Fix rust version ENV

* Fix release notes path

* Fix output

* Fix runtime_dir for cumulus

* Fix ENV substitutions

* Fix styling

* Debugging

* Styling

* Fix call to fetch the runtime version

* Cleanup and doc

* Delete sample .env

* Update scripts/changelog/templates/change.md.tera

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Change XCM emoji marker for a ✉️

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2021-11-19 17:30:05 +01:00
Chevdor caa13478a7 Bump subwasm version (#716) 2021-11-03 10:10:35 +01:00
Chevdor 1a6491bfc7 Add extrincic ordering check to CI (#629)
* Add extrincic ordering check to CI

* Add missing script

* Fix default chain

* Ignore issues with pkill

* Continue on error while trying to stop the node

* Set embedded relay chain node

* Fix formatting
2021-09-30 10:26:19 +02:00
Chevdor b75f18e71e chore: bump subwasm version to support V14 runtimes (#623) 2021-09-25 21:54:00 +02:00
ChevdorandBastian Köcher 1dd000a011 ci: add quick-check with rustfmt (#615)
* ci: add quick-check with clippy and rustfmt

* chore: rustfmt round

* chore: set the same rustfmt config than substrate

* chore: fix formatting

* cI: remove clippy

* ci: switch to nightly for the checks

* ci: fix toolchains and naming

* ci: Limit the check to formatting

* chore: fix formatting

* Update .rustfmt.toml

* Update .rustfmt.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2021-09-16 16:57:52 +02:00
bf4024fd49 Add script and dockerfile to build an injected docker image for the polkadot-collator binary (#591)
* remove exec flag on json file
* fix dockerignore filter to allow building the injected docker image
* Update docker/injected.Dockerfile
* Update docker/scripts/build-injected-image.sh

Co-authored-by: Martin Pugh <pugh@s3kr.it>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2021-09-03 15:30:12 +02:00
Chevdor 2fd51bd915 ci: reduce the list of events triggering matrix messages (#547) 2021-07-30 23:56:56 +02:00
Chevdor 49b72cdee6 ci: upgrade subwasm (#550) 2021-07-27 13:04:33 +02:00
Chevdor 9481c708d1 chore: upgrade srtool-actions and subwasm (#526)
- add builds for "statemint", "rococo", "shell"
- switch to chevdor/srtool-actions@v0.3.0 which default the new srtool image from paritytech/srtool
- bumps up the version of subwasm
- cleanup
- ability to start builds on-demand
2021-07-07 09:34:01 +02:00
ChevdorandBastian Köcher 35738c7325 Refactor paths and runtime names (#507)
chore: refactor for consistant naming of the crates and paths of the runtimes

* tests: ignore folder created by the tests
* chore: refactoring
* Update polkadot-parachains/Cargo.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2021-06-28 14:24:03 +02:00
Chevdor 9ff72525d9 feat(ci): update runtime build workflow (#471)
* feat(ci): update runtime build workflow

- switch to a tag for the chevdor/srtool-actions
- trigger to only tags & ignore folders not involved in the runtime
- add weekly build schedule
- add timestamp to the artifacts
2021-06-10 17:28:29 +02:00
ChevdorandAlexander Popiak 18fa1f5e00 Add srtool + subwasm workflow (#462)
Add github workflow to build the westmint and statemine runtimes with srtool and subwasm

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
2021-06-03 14:46:43 +02:00