Commit Graph

55 Commits

Author SHA1 Message Date
Chevdor 7f2e6a157b Run the release branch check on the cumulus code releases as well (#1326) 2022-06-02 13:53:38 +02:00
Chevdor faf3563c61 Add release branch checks (#1319) 2022-06-01 14:23:00 +02:00
Egor_P 1cd6dee55d bringing back repo checkout and adding a temp dir to avoid name duplication between binary and repo dir (#1299)
* bringing back repo checkout and adding a temp dir to avoid name duplication between binary and repo dir

* added hash to the action

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

* adjusted extrinsic ordering action

* addressed comments from PR

* addressed comments from PR

* variables reoredering

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-30 08:47:25 +00:00
Egor_P 514499e7a1 deleted unnecessary repo checkout to fix fetch binary step (#1296)
* deleted unnecessary repo checkout to fix fetch binary step

* Update .github/workflows/extrinsic-ordering-check-from-bin.yml

Co-authored-by: Mara Robin B. <mara@broda.me>

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Mara Robin B. <mara@broda.me>
2022-05-25 14:46:37 +00:00
João Paulo Silva de Souza c3edc026c7 use API for pr-custom-review (#1279) 2022-05-23 15:14:35 +02:00
dependabot[bot] d54e2d1d49 Bump actions/upload-artifact from 2 to 3 (#1271)
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 16:20:52 +02:00
dependabot[bot] 1c32be67e2 Bump docker/login-action from 1 to 2 (#1272)
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 16:11:37 +03:00
dependabot[bot] f90837b000 Bump actions/download-artifact from 2 to 3 (#1273)
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 14:52:54 +02:00
dependabot[bot] 11f6ba61e9 Bump actions/cache from 2 to 3 (#1274)
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:08 +03:00
Squirrel 9405a969f0 dir restructure to support more CGP (#1266)
* rerame res to chain-specs

* split polkadot-parachains dir

* rename dir parachains-common to common

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-20 13:43:04 +01:00
Michael Müller d0e13bc311 Rename canvas to contracts (#1265)
* Update SVG

* Rename `canvas-kusama` folder `contracts-rococo`

* Search-Replace `canvas-kusama` with `contracts-rococo`

* Search-Replace `canvas_kusama` with `contracts_rococo`

* Search-Replace `canvas_rococo` with `contracts_rococo`

* Rename `canvas-rococo.json` to `contracts-rococo.json`

* Rename `CanvasKusamaChainSpec` to `ContractsRococoChainSpec`

* Migrate chain specs and configurations to `contracts-rococo`

* Adapt readme

* Improve directory structure

* Remove last occurrences of `canvas`

* Apply `cargo fmt`

* Update README.md

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Fix funny indentation

* Fix wasm path renaming

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-18 09:56:34 +00:00
Squirrel 8d44f9bcae rename polkadot-collator to polkadot-parachain (#1241)
* rename polkadot-collator to polkadot-parachain

Not every node has to be a collator.

* Update README.md

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

* rename docker file

* Update .github/workflows/extrinsic-ordering-check-from-bin.yml

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

* Versioning scheme that tracks polkadot relay chain

but allows for patch releases by having a 0 at the end.
(`-patch1` patch naming schemes were discussed but they
were judged to cause downstream packagers pain.)

* update name

* update lock file

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-13 13:02:52 +00: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
João Paulo Silva de Souza b1e97a8f1b skip pr-custom-review if pull request is in Draft (#1188) 2022-04-22 05:51:17 -03:00
Denis Pisarev 0c17c7e5df CI: rename ambiguous jobs (#1168) 2022-04-12 15:52:56 +02:00
João Paulo Silva de Souza 3dc9f86bf4 create .github/workflows/pr-custom-review.yml (#1153) 2022-04-08 17:39:21 +02:00
Chevdor e39cf0894b Fix target docker hub org (#1125) 2022-03-31 18:20:47 +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
Sergejs Kostjucenko dc10d1520d Move scripts used in CI to the new location (#1109)
* Move CI scripts to new location

* Update references

* Update CODEOWNERS file

* Update docker/polkadot-collator_builder.Containerfile

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
2022-03-25 01:25:06 +02:00
Mara Robin B 26b2954855 ci: use sensible keyserver for gpg key retrieval (#1067) 2022-03-04 09:40:56 +01:00
Mara Robin B 5fa7943549 ci: add manual docker release workflow (#1066) 2022-03-03 19:26:00 +00:00
Mara Robin B d0804039d0 ci: fix missing quotes (#1065) 2022-03-03 10:56:45 +00:00
Alexander Theißen 364a88f1dd Add Canvas runtime to release automation (#1043) 2022-02-24 09:06:05 +00:00
Mara Robin B 4500d91830 ci: fix bash quoting in docker ci (#978) 2022-02-10 13:26:22 +00:00
Mara Robin B 93ca4e137e ci: fix publish-runtimes for parachains containing - in name (v2) (#959) 2022-02-07 11:41:47 +00:00
Mara Robin B 7f45366210 ci: fix publish-runtimes for rococo-parachain (or any other -parachain) failing on incorrect wasm path (#957) 2022-02-04 15:41:47 +00:00
Mara Robin B cb7b8249ff ci: fix broken reference to rococo srtool digest (#943) 2022-02-01 17:07:10 +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
Chevdor 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
Chevdor 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
Chevdor 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
Chevdor 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
Denis Pisarev 02bf5acf6c docs: undebug docs build (#569) 2021-08-10 12:12:54 +00:00
Denis Pisarev 0c39e49aaf docs: optimize docs build (#568) 2021-08-10 12:00:25 +02:00
Denis Pisarev 6cb0544001 CI: fix gh doc publishing (#567)
* CI: fix gh doc publishing

* CI: it needs nightly

* CI: add wasm32 target

* CI: return to running on master
2021-08-09 19:52:32 +02:00
Joshy Orndorff 6637471fb4 Publish rustdocs to github pages (#562)
* Publish rustdocs to github pages

* @TriplEight 's suggestions from code review

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

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2021-08-09 17:00:32 +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