Commit Graph

76 Commits

Author SHA1 Message Date
Chevdor 4809bb0305 Add a new template to show the list of host functions (#7158)
* Add a new template to show the list of host functions

* Fix release notes template for host functions

---------

Co-authored-by: parity-processbot <>
2023-05-08 10:18:25 +00:00
dependabot[bot] 1125655024 Bump chevdor/srtool-actions from 0.6.0 to 0.7.0 (#7135)
Bumps [chevdor/srtool-actions](https://github.com/chevdor/srtool-actions) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/chevdor/srtool-actions/releases)
- [Commits](https://github.com/chevdor/srtool-actions/compare/v0.6.0...v0.7.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 09:55:20 +03:00
Martin Pugh b50e512ed4 [CI] Add weights verification jobs (#6996)
* add weights verification job

* switch to a github action

* rename script..

* add swc check

* fix perms...

* debugging

* fix comments, remove artifact. I hate CI

* switch to swc compare files

* sigh

* switch back to compare commits

* fix output

* fix output... again. yay markdown!

* remove test version number

* remove TODO

* switch to docker image

* Revert "remove TODO"

This reverts commit c313afd4604c437ebd25ffa84bb8cc7d95cd1092.

* fix docker registry url

* revert docker experiment

too janky. will fix upstream stuff and fix as a separate PR

reverts commits:

- 3be2043a95f15579453e68ff96360f60aeae24e3
- fd17a0fbf8a75449720fe3861f941f4a91fcc9c7
- 59f0ebfef49e37060cb2dc63cf67c7809befcf57

---------

Co-authored-by: parity-processbot <>
Co-authored-by: Martin <parity@tofu.lan>
2023-04-13 15:28:00 +00:00
arminteimouri b5a0bca137 avoid triggering unwanted room_id for the release notifs (#6984)
* avoid triggering unwanted room_id for the release notifs

* fixing typo
2023-03-31 12:25:47 +00:00
Martin Pugh 270540cf46 [CI] Add bootnode checking CI jobs (#6889)
* Add check_bootnode script and github action

* fix mktemp for linux machines

* Update check_bootnodes.sh

show logs to see what's going wrong

* fix ephemeral ports and fetch polkadot

* fix check-bootnodes.yml

* increase node spawn holdoff

* disable fail-fast

* refactor, separate out check_bootnodes and make it posix-compliant

* add new job for detecting new bootnodes

* fix check-bootnodes.yml

* only check all bootnodes on release

* Add test bad bootnode

REVERT ME before merging PR. Should cause the test to fail, then
when we remove it, we should succeed. Sadly doesn't account for a
new successful bootnode, should ask if we have one we can use for
testing.

* fix paths

* fix paths and git... hopefully

* this better work...

* fix

* test

* last test

* Revert "Add test bad bootnode"

This reverts commit 540dd9754a1f8e2d3fef33f7f5a033b8c2aa4dcb.

* Update check_bootnodes.sh

* optimisations

Begin polling the RPC node right after spawning, allowing us to break
early on detecting peers

* increase holdoff to 5 seconds

* dont delete chainspec til we kill the node

* Update check-bootnodes.yml

* Remove checking bootnodes on pushing of this branch

---------

Co-authored-by: parity-processbot <>
2023-03-21 12:36:47 +00:00
Przemek Rzad caa5464c15 Add a CI check ensuring the code has license headers (#6609)
* Introduce a job scanning and ensuring there are licenses

* Showcase a red test

* Add missing licenses

* Cleanup

* Extend the check

* Add missing licenses

* CI trigger
2023-02-03 12:02:23 +00:00
dependabot[bot] e8d9af4d3d Bump docker/build-push-action from 3 to 4 (#6651)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 14:15:26 +00:00
Alexander Samusev c4d4209dfb [ci] Change check-labels GHA (#6594)
* [ci] Change check-labels GHA

* change file spec name

* change script when no label

* add tags
2023-01-23 17:22:08 +01:00
Chevdor 52ea96e35a Fix set-output deprecation (#6554)
set-output is being deprecated by GH.
More information at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-01-16 10:26:50 +00:00
dependabot[bot] 620778caaa Bump JasonEtco/create-an-issue from 2.6.0 to 2.9.1 (#6473)
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.6.0 to 2.9.1.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](https://github.com/JasonEtco/create-an-issue/compare/9e6213aec58987fa7d2f4deb8b256b99e63107a2...e27dddc79c92bc6e4562f268fffa5ed752639abd)

---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
  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>
Co-authored-by: parity-processbot <>
2023-01-11 11:45:31 +01:00
Chevdor 2d85a3881a Update the GHA srtool-actions to the latest version (#6532) 2023-01-10 16:06:08 +01:00
dependabot[bot] c0bec76b46 Bump docker/setup-buildx-action from 2.0.0 to 2.1.0 (#6141)
* Bump docker/setup-buildx-action from 2.0.0 to 2.1.0

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/dc7b9719a96d48369863986a06765841d7ea23f6...95cb08cb2672c73d4ffd2f422e6d11953d2a9c70)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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 <sergejs@parity.io>
2022-10-19 13:06:03 +03:00
dependabot[bot] c594a0ca51 Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 (#5976)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/f211e3e9ded2d9377c8cadc4489a4e38014bc4c9...dc7b9719a96d48369863986a06765841d7ea23f6)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-09-07 12:09:24 +00:00
Sergejs Kostjucenko 315f2f469e pin gha versions (#5916) 2022-08-22 19:07:03 +03:00
Chevdor f14cda36cc Fix GHA (#5825) 2022-07-28 11:04:20 +02:00
Chevdor 7b02a55a11 Add missing trigger wildcards for some CI workflows (#5812) 2022-07-25 16:42:47 +02:00
Mara Robin B 2e795bc55a add Extrinsic Ordering check that runs against a local reference node (#5790)
* add `Extrinsic Ordering` check that runs against a local reference node

* cleanup

* use different polkadot base path

* check all chains & other review nits

* fixup

* review nits

* do not fail-fast
2022-07-19 17:12:55 +02:00
dependabot[bot] 1d9d959b1a Bump chevdor/srtool-actions from 0.4.0 to 0.5.0 (#5769)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-08 10:30:39 +00:00
BenWhiteJam fe1339ce43 Update release-99_bot.yml (#5764)
* Update release-99_bot.yml

* Update .github/workflows/release-99_bot.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-07-08 12:29:01 +02:00
Chevdor 79a1db482b Fix regexp to find the repo name (#5751) 2022-07-05 13:37:16 +02:00
Chevdor 425b277273 Add release branch check and refactoring (#5622)
* Add release branch chheck and refactoring

* Fix trigger patterns
2022-06-02 13:53:20 +02:00
João Paulo Silva de Souza 1ccd68dd15 use API for pr-custom-review (#5576) 2022-05-23 15:14:28 +02:00
dependabot[bot] 909f65d0cd Bump actions/upload-artifact from 2 to 3 (#5547)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:30 +03:00
dependabot[bot] 6691f8ec29 Bump docker/build-push-action from 2 to 3 (#5548)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:17 +03:00
dependabot[bot] 229b289b5d Bump docker/login-action from 1 to 2 (#5550)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:35:47 +03:00
dependabot[bot] 441fc17847 Bump actions/download-artifact from 2 to 3 (#5574)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:20:30 +02:00
dependabot[bot] fc7959a871 Bump actions/cache from 2 to 3 (#5549)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:54 +03:00
dependabot[bot] 66316bb501 Bump docker/setup-buildx-action from 1 to 2 (#5551)
* Bump docker/setup-buildx-action from 1 to 1.7

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2022-05-20 13:50:52 +03:00
Chevdor 5ef032a1da Upgrade gha (#5462)
* Bump actions/checkout to v3

* Fix naming

* Upgrade to GHA chevdor/srtool v0.4
2022-05-05 18:16:56 +02:00
João Paulo Silva de Souza 39579ea87f Skip pr-custom-review if pull request is in Draft (#5356)
* skip pr-custom-review if pull request is in Draft

* fix
2022-04-26 14:17:14 +02:00
Sergejs Kostjucenko 631a5db536 Move scripts used in CI to the new location (#5198)
* Move CI scripts and update references

* Update paths in .gitlab-ci.yml

* Removed outdated entries from CODEOWNERS
2022-04-26 08:39:31 +03:00
Denis Pisarev 04f5a15be4 CI: rename ambiguous jobs (#5313) 2022-04-12 15:53:13 +02:00
João Paulo Silva de Souza c8eb992cfd create .github/workflows/pr-custom-review.yml (#5280) 2022-04-08 17:39:29 +02:00
Chevdor 168dc6e5cd Fix changelog (#5155)
* Pass git ref explicitely

* Include a db migration section to the changelog
2022-03-22 09:55:21 +01:00
Dan Shields 6fc2da146f Bump all spec version to 9180 and versions to 0.9.18 (#5083)
* bump all spec version to 9180 and versions to 0.9.18

* all to 0.9.18

* lock update
2022-03-11 10:19:47 +01:00
Mara Robin B e69d4255f8 ci: Add rococo to release pipeline (#5015)
* include rococo in wording of release checklist

* ci: add rococo to release drafts & changelog
2022-03-02 09:12:13 +00:00
Mara Robin B d0c9f75a0b Add manual dispatch trigger for docker builds (#4981)
* ci: add manual dispatch docker publish workflow

* ci: fix date in dispatch trigger

* ci: avoid specifying gpg keyserver in multiple places
2022-02-24 16:59:30 +01:00
Mara Robin B 38fb3206db Fix docker release workflow (#4980)
* scripts: fix polkadot_injected_release gpg errors

* ci: publish-docker-release: remove keyserver arg

* scripts: join RUNs in polkadot_injected_release
2022-02-24 16:56:51 +01:00
Chevdor 0269532fa8 New changelog scripts (#4491)
* Add templates

* Add folder for local storage of the digests

* Add first draft of the changelog scripts

* Enable Audits in the change template

* Fixes for Polkadot

* Fix templating issue in case there is no high prio change

* Fix Ruby setup

* Remove shell

* Fix chain names

* Fix ENV

* Fix how to get runtime

* Fix runtime_dir

* Fix context location

* Pin changelogerator to a specific version
2022-01-24 09:44:55 +01:00
Chevdor 7bf379ac4e Fix path of the polkadot_injected docker image (#4463) 2021-12-03 18:13:45 +01:00
Chevdor 55d07ee356 Announce only on releases (#4417)
* Announce only on releases

* Add filtering to send announces for pre-releases only where desired
2021-12-02 00:31:34 +01:00
Chevdor 6af739a85a Pin changelogerator to the latest compatible version for the current flow (#4392) 2021-11-30 11:52:40 +01:00
Chevdor c7dae2a720 Update GHA to s3krit/matrix-message-action@v0.0.3 + doc (#4030) 2021-11-02 22:34:49 +01:00
Chevdor 109d10dd32 Switch to compressed runtimes (#4061)
* Remove the upload of the non compressed runtimes

* Fix template

* Add loggin for local testing

* Keep simple logger but remove the need for another dependency
2021-10-13 13:31:47 +00:00
Vincent Ulitzsch 67032af69f Add xcm fuzzer (#3869)
* Extend xcm-simulator with a fuzzer for xcm exec

This commit adds a very basic fuzzer that fuzzes the xcm exectution,
in particular the process_instruction function.

* Update cargo.toml in xcm-simulator-fuzzer

* Add xcm-fuzzer to honggfuzz workflow

* Update Cargo.lock

* Update xcm/xcm-simulator/fuzzer/Cargo.toml so honggfuzz shows up on top

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

* Update relay_chain.rs in xcm-fuzzer

* Use MAX_XCM_DECODE_DEPTH instead of hardcoded decode limit in xcm-fuzzer

* Add comment on how to generate coverage report in xcm-fuzzer

* fix warnings, fmt, and unused result

* fix compiler

Co-authored-by: Vincent Ulitzsch <vincent.ulitzsch@srlabs.de>
Co-authored-by: Vincent Ulitzsch <vincent@srlabs.de>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2021-10-12 13:37:06 +02:00
Chevdor 114e757988 Add extrinsic ordering filtering (#3631) 2021-10-04 16:06:26 +02:00
Martin Pugh 72eab56e88 Bump version, tx_version and spec_version in prep for v0.9.11 (#3970)
* bump version and spec_version

* bump transaction version

* Bump of the default value in CI

* bump tx version for westend and kusama

Co-authored-by: Wilfried Kopp <wilfried@parity.io>
2021-09-30 14:44:19 +02:00
Alexander Samusev f29b6db6e4 Docker files chore (#3880)
* Renamed staking-miner Dockerfiles

* change readme stacking-miner

* mv docker/ to scripts/docker/polkadot

* renamed dockerfiles in scripts/docker

* renamed Dockerfiles

* Update scripts/docker/staking-miner/staking_miner_injected.Dockerfile

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

* renamed release.Dockerfile

* renamed staking-miner dockerfiles

* add label polkadot_builder.Dockerfile

* Update scripts/docker/polkadot/polkadot_builder.Dockerfile

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

* Update scripts/docker/polkadot/polkadot_builder.Dockerfile

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

* Update scripts/docker/polkadot/polkadot_builder.Dockerfile

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

* Update scripts/docker/polkadot/polkadot_builder.Dockerfile

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

* Update scripts/docker/polkadot_injected_release.Dockerfile

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

* Update scripts/docker/collator_injected.Dockerfile

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

* Update scripts/docker/staking-miner/staking-miner_injected.Dockerfile

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

* Update scripts/docker/staking-miner/staking-miner_builder.Dockerfile

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

* Update scripts/docker/staking-miner/staking-miner_builder.Dockerfile

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

* Update scripts/docker/staking-miner/staking-miner_injected.Dockerfile

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

* move gpg server as variable to GHA config

* simplified polkadot_builder.Dockerfile

* gitlab-ci modify cp command in test-build-linux-stable

* fix tests

* renamed scripts/docker to scripts/dockerfiles

* fix spellcheck

* fix spellcheck

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2021-09-28 17:47:52 +02:00
Andronik Ordian fa4e5131fb ci: cache seed in fuzzer job (#3885)
* ci: cache seed in fuzzer job

* change id based on binary
2021-09-18 12:02:30 +02:00
Chevdor 8c3202f063 New Github Workflow to check extrinsic ordering (#3620)
* ci: new workflow for exrtinsic ordering checks from bin

* fix workflow

* sanitize output and show result

* add context to the output

* Add default url

* fix envs

* fix output generation

* Fix the release todos with a link to the gha

* fix typo
2021-08-11 14:07:48 +02:00