Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mangata dev v0.9.36 #17

Merged
merged 143 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from 132 commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
43bec36
[ci] Fix broken ci, move zombienet job (#1785)
alvicsam Oct 20, 2022
1219981
Co #12341: Use `try-runtime` feature (#1759)
ggwpez Oct 20, 2022
c1ce9c5
bump zombienet version (#1786)
pepoviola Oct 20, 2022
304ce59
BlockId removal: refactor: Finalizer (#1779)
michalkucharczyk Oct 20, 2022
ce654c4
Bump async-trait from 0.1.57 to 0.1.58 (#1783)
dependabot[bot] Oct 20, 2022
3409d62
Bump assert_cmd from 2.0.4 to 2.0.5 (#1792)
dependabot[bot] Oct 21, 2022
73a53d9
Add link to the weight comparison tool for weights PRs (#1788)
joao-paulo-parity Oct 21, 2022
3d257b7
Single ParachainBlockImport instance (#1782)
davxy Oct 21, 2022
b566f3b
Fix a few migration issues with 2D weights (#1755)
KiChjang Oct 24, 2022
7c8d1f7
contracts: Companion for offchain indeterminism (#1794)
athei Oct 24, 2022
3b73200
Bump assert_cmd from 2.0.4 to 2.0.5 (#1800)
dependabot[bot] Oct 25, 2022
bdfd710
Companion for #12457 (Bounded Multisig) (#1793)
shawntabrizi Oct 25, 2022
53d8651
Co #12558: Update `pallet-multisig` benches (#1805)
ggwpez Oct 26, 2022
79d442f
Companion for aura CompatibilityMode (#1803)
bkchr Oct 28, 2022
3577f8d
Companion for update `wasm-opt` (#1806)
athei Oct 30, 2022
ab02131
Add RPC nodes to pov-recovery test (#1807)
skunert Oct 31, 2022
4b869ca
Bump scale-info from 2.2.0 to 2.3.0 (#1809)
dependabot[bot] Nov 1, 2022
ca213ea
Bump syn from 1.0.102 to 1.0.103 (#1796)
dependabot[bot] Nov 1, 2022
5504dc7
Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#1801)
dependabot[bot] Nov 7, 2022
a36ac55
Bump ruby/setup-ruby from 1.118.0 to 1.120.0 (#1804)
dependabot[bot] Nov 7, 2022
368cef5
Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 (#1767)
dependabot[bot] Nov 7, 2022
167eb51
Add trie migration rpc to polkadot-parachain (#1424)
cheme Nov 7, 2022
670945d
Statemine state migration runtime changes. (#1743)
cheme Nov 7, 2022
20ed6c4
rename package to avoid name clash (#1716)
gilescope Nov 7, 2022
3bacf9c
Cargo.lock updated (#1824)
michalkucharczyk Nov 7, 2022
9c00df9
Use resolver 2 in the workspace. (#1817)
bkchr Nov 7, 2022
244ad85
BlockId removal: &Hash to Hash (#1818)
michalkucharczyk Nov 7, 2022
981b5d0
Bump clap from 4.0.18 to 4.0.22 (#1830)
dependabot[bot] Nov 7, 2022
1e7948e
Collectives: alliance and collective pallets weights (#1813)
muharem Nov 8, 2022
f68e124
Add example zombienet network file and instructions (#1839)
skunert Nov 8, 2022
afdfa93
Bump Swatinem/rust-cache from 2.0.1 to 2.1.0 (#1816)
dependabot[bot] Nov 9, 2022
e4855e3
[ci] Fix publish benchmark results (#1840)
alvicsam Nov 9, 2022
2983e59
Backports from release 0.9.32
chevdor Nov 9, 2022
4add683
Bump spec_version to 9320
chevdor Nov 9, 2022
a9cb449
Companion for Substrate 12586 (#1808)
joepetrowski Nov 9, 2022
a31a450
Bump Swatinem/rust-cache from 2.1.0 to 2.2.0
dependabot[bot] Nov 9, 2022
f199f90
Bump ruby/setup-ruby from 1.120.0 to 1.120.1
dependabot[bot] Nov 9, 2022
49a9e39
add offchain worker to parachain config (#1860)
Nov 11, 2022
24ba075
Enable Docker section in the release notes
chevdor Nov 10, 2022
3095325
[ci] fix buildah (#1870)
alvicsam Nov 14, 2022
fa0fdb0
Set `OnTimestampSet = Aura` in all runtimes (#1876)
bkchr Nov 15, 2022
f71bd8e
Add migrations from pallet_asset to statemine, statemint and westmint…
tonyalaribe Nov 15, 2022
d3c6083
[ci] Improve pipeline stopper (#1873)
alvicsam Nov 15, 2022
bd3f45d
Fix for xcm weight benchmarks generation (#1872)
bkontur Nov 15, 2022
e427f58
companion for #12599 (#1881)
niklasad1 Nov 15, 2022
26e17fe
Bump clap from 4.0.22 to 4.0.25 (#1882)
dependabot[bot] Nov 15, 2022
b46ef7e
[Backport] bump spec and txn versions from v9320 (#1889)
EgorPopelyaev Nov 18, 2022
3966079
Remove the `wasmtime` feature flag (companion for substrate#12684) (#…
koute Nov 18, 2022
f88a97e
Bump array-bytes from 4.1.0 to 4.2.0 (#1883)
dependabot[bot] Nov 18, 2022
1d5566d
Bump futures from 0.3.24 to 0.3.25 (#1791)
dependabot[bot] Nov 18, 2022
037397e
Use pallet-sudo extension `CheckOnylSudoAccount` (#1850)
koushiro Nov 19, 2022
97f16d9
[Backport] weights from v9320 release branch (#1890)
EgorPopelyaev Nov 21, 2022
33eb4d9
remove 1 Parity Statemine bootnode that will be decommisioned (#1892)
PierreBesson Nov 21, 2022
e65ed2c
Companion for paritytech/substrate#12739 (#1899)
altonen Nov 22, 2022
f7794d7
Bump clap from 4.0.25 to 4.0.26 (#1897)
dependabot[bot] Nov 22, 2022
21b18ec
remove 2 Parity statemint bootnodes that will be decommissioned (#1887)
PierreBesson Nov 22, 2022
3a624fd
rename package to avoid name clash (#1716)
gilescope Nov 7, 2022
ba01e9d
Bump tokio from 1.21.2 to 1.22.0 (#1896)
dependabot[bot] Nov 23, 2022
32eb14c
Correct issue link (#1904)
AurevoirXavier Nov 24, 2022
1bb462f
Bump bytes from 1.2.1 to 1.3.0 (#1907)
dependabot[bot] Nov 24, 2022
5459d7a
Collectives Alliance: Remove Founder role and veto call (#1902)
muharem Nov 25, 2022
9614493
Allow try-runtime for contracts-rococo (#1906)
athei Nov 27, 2022
5d82dc7
Remove av-store, av-distribution, chain-api subsystems from minimal n…
skunert Nov 27, 2022
74f0ff0
Bump clap from 4.0.26 to 4.0.27 (#1911)
dependabot[bot] Nov 27, 2022
8cae878
Allow Sufficient Assets for XCM Fee Payment on Statemint #1884 (#1910)
bkontur Nov 28, 2022
f307761
Companion for Substrate 12740 (#1898)
joepetrowski Nov 28, 2022
51b4c42
Bump serde from 1.0.145 to 1.0.147 (#1797)
dependabot[bot] Nov 30, 2022
45c21c3
update lockfile (#1923)
acatangiu Nov 30, 2022
abf1663
Bump syn from 1.0.103 to 1.0.104 (#1918)
dependabot[bot] Nov 30, 2022
ad12cfc
Companion for contracts: Replace cargo feature `unstable-interface` w…
athei Nov 30, 2022
2e6f4be
Bump clap from 4.0.27 to 4.0.29 (#1928)
dependabot[bot] Nov 30, 2022
5815456
Bump async-trait from 0.1.58 to 0.1.59 (#1921)
dependabot[bot] Nov 30, 2022
b9a0e75
Remove more protocols from minimal collator (#1927)
skunert Dec 1, 2022
7526829
Bump serde from 1.0.147 to 1.0.148 (#1929)
dependabot[bot] Dec 1, 2022
93ee44c
Bump array-bytes from 4.2.0 to 6.0.0 (#1919)
dependabot[bot] Dec 1, 2022
8b6984c
BridgeHubKusama - initial setup - (chain_spec + basic runtime without…
bkontur Dec 2, 2022
20f7ea9
Provisioner polkadot companion (#1940)
Dec 3, 2022
94ca350
Bump environmental from 1.1.3 to 1.1.4 (#1933)
dependabot[bot] Dec 5, 2022
1f5a88b
Bump syn from 1.0.104 to 1.0.105 (#1936)
dependabot[bot] Dec 5, 2022
bf6e634
Upgrade tokio to 1.22.0 and replace async-std with tokio (#1917)
dmitry-markin Dec 5, 2022
79bb191
add collectives-polkadot final raw chainspec (#1914)
PierreBesson Dec 6, 2022
c9d3cbc
Companion of Substrate PR 12837 (#1944)
joao-paulo-parity Dec 6, 2022
cabdcac
Bump serde from 1.0.148 to 1.0.149 (#1948)
dependabot[bot] Dec 6, 2022
5b026af
Remove `parity-util-mem` (#1958)
mrcnski Dec 6, 2022
fb3837d
dependabot: Ignore rococo deps (#1963)
bkchr Dec 6, 2022
8f4261a
Bump ruby/setup-ruby from 1.120.1 to 1.127.0 (#1951)
dependabot[bot] Dec 7, 2022
76271de
add collective runtime upgrade to the checklist (#1966)
EgorPopelyaev Dec 7, 2022
77df2b6
zombienet, store node's logs as artifacts (#1969)
pepoviola Dec 8, 2022
a49d007
Backport collective weights from v9330 to master (#1959)
gilescope Dec 8, 2022
d89c9cc
[Backport] version bumps from 9330 (#1956)
EgorPopelyaev Dec 8, 2022
5401c47
[ci] new ci runners (#1967)
alvicsam Dec 8, 2022
97bc16b
[benchmarks] pr with weights (#1946) (#1971)
gilescope Dec 8, 2022
f3847ea
Companion for paritytech/substrate#12868 (#1970)
KiChjang Dec 8, 2022
40c197d
Collectives runtime: add query call info api (#1976)
muharem Dec 9, 2022
3839099
Companion for paritytech/substrate#12764 (#1930)
altonen Dec 10, 2022
16c944a
Replace the label checks using bash script by `ruled-labels` (#1576)
chevdor Dec 12, 2022
6b54fdf
Description for new cumulus labels (#1879)
the-right-joyce Dec 12, 2022
89ffbb5
companion for #12663 jsonrpsee v0.16 (#1905)
niklasad1 Dec 12, 2022
e0b0e5c
Bump tokio from 1.22.0 to 1.23.0 (#1952)
dependabot[bot] Dec 12, 2022
d2a3bbe
add test onto statemint as well as statemine now (#1954) (#1955)
gilescope Dec 12, 2022
4eeb3c8
[ci] use external repo for check-labels (#1985)
alvicsam Dec 13, 2022
3b5ecae
Introduce migrations for inactive balances (#1943)
gavofyork Dec 13, 2022
0881ceb
Collectives integration tests (#1979)
muharem Dec 13, 2022
3d13ae0
[ci] Add variable to disable selected jobs (#1986)
alvicsam Dec 13, 2022
d7311ca
Companion for substrate#12845 (#1960)
agryaznov Dec 13, 2022
e4c7978
[ci] small fix for job switcher (#1990)
alvicsam Dec 14, 2022
babf73b
Allow to specify multiple relay chain RPC urls for collator node (#1880)
skunert Dec 15, 2022
391a5d8
companion for try-runtime revamp (#1997)
kianenigma Dec 15, 2022
d526ada
Bump serde from 1.0.149 to 1.0.150 (#1987)
dependabot[bot] Dec 15, 2022
b66421f
Remove integration tests that are covered by zombienet (#1998)
skunert Dec 15, 2022
8cec35c
Bump scale-info from 2.3.0 to 2.3.1 (#1978)
dependabot[bot] Dec 16, 2022
3aa9195
Bump toml from 0.5.9 to 0.5.10 (#1995)
dependabot[bot] Dec 16, 2022
88a2d0e
Bump serde from 1.0.150 to 1.0.151 (#2001)
dependabot[bot] Dec 16, 2022
7d3fb23
Bump quote from 1.0.21 to 1.0.23 (#2003)
dependabot[bot] Dec 20, 2022
766e95f
Bump dyn-clone from 1.0.9 to 1.0.10 (#2005)
dependabot[bot] Dec 20, 2022
f621351
Bump thiserror from 1.0.37 to 1.0.38 (#2004)
dependabot[bot] Dec 20, 2022
73837c3
Limit number of blocks per level (2nd attempt) (#1559)
davxy Dec 20, 2022
29175bb
Expect less chaos: use explicit call indices (#1984)
gilescope Dec 20, 2022
b7dff85
BlockId removal: refactor: HeaderBackend::header (#1977)
michalkucharczyk Dec 20, 2022
489a5b5
Bridge hub kusama fine-tuning before release (#1999)
bkontur Dec 21, 2022
7d4187b
Bump syn from 1.0.105 to 1.0.107 (#2008)
dependabot[bot] Dec 21, 2022
8fa1210
Bump proc-macro2 from 1.0.47 to 1.0.49 (#2010)
dependabot[bot] Dec 21, 2022
c980592
Update poilkadot dependencies
EgorPopelyaev Dec 21, 2022
ee88809
Bump crate versions
EgorPopelyaev Dec 21, 2022
4d115e3
Bump spec_version to 9360
EgorPopelyaev Dec 21, 2022
fa953ab
bump rococo and penpal spec_version
EgorPopelyaev Dec 21, 2022
0f59d20
Revert "BlockId removal: refactor: HeaderBackend::header (#1977)"
EgorPopelyaev Dec 21, 2022
ea5e92c
fix deps duplication in Cargo.lock (#2014)
EgorPopelyaev Dec 21, 2022
d936c9f
bump txn versions (#2018)
EgorPopelyaev Dec 21, 2022
a4e825c
Backport weights to source release branch (#2029)
EgorPopelyaev Dec 22, 2022
afe528a
remove 9330 migrations from statemint series (#2031) (#2034)
EgorPopelyaev Dec 22, 2022
04effd1
resolve conflicts version 36
devdanco Jan 6, 2023
79c4e6e
update toolchain
devdanco Jan 24, 2023
ed65fa4
add protoc run to ci
devdanco Jan 24, 2023
e922f74
ci: test updated GitHub Actions workers
tenequm Jan 26, 2023
4ccccf2
ci: update checkout action version
tenequm Jan 26, 2023
00b46c3
ci: try workers on Ubuntu 20.04
tenequm Jan 26, 2023
9dcb63e
update CI for test job
devdanco Jan 27, 2023
063b696
update test command
devdanco Jan 27, 2023
3eaba65
fix args for test job
devdanco Jan 27, 2023
77e49c8
ci: try `-j1` option for test job
tenequm Jan 27, 2023
b3c5586
ci: test 8vcpu-32gbRAM worker for test job
tenequm Jan 27, 2023
54e9d30
update reference
devdanco Feb 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/release-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The following checks can be performed after we have forked off to the release-ca
networks
- [ ] Run [integration tests](https://github.com/paritytech/cumulus/blob/master/docs/release.md#integration-tests), and make sure they pass.
- [ ] Push runtime upgrade to Westmint and verify network stability
- [ ] Push runtime upgrade to Collectives and verify network stability


### Github
Expand Down
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ updates:
- dependency-name: "sp-*"
- dependency-name: "frame-*"
- dependency-name: "fork-tree"
- dependency-name: "remote-externalities"
- dependency-name: "frame-remote-externalities"
- dependency-name: "pallet-*"
- dependency-name: "beefy-*"
- dependency-name: "try-runtime-*"
Expand All @@ -21,6 +21,7 @@ updates:
- dependency-name: "xcm*"
- dependency-name: "kusama-*"
- dependency-name: "westend-*"
- dependency-name: "rococo-*"
schedule:
interval: "daily"
- package-ecosystem: github-actions
Expand Down
4 changes: 2 additions & 2 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ action-review-team: ci
rules:
- name: Runtime files
check_type: changed_files
condition: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$
condition: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$
all_distinct:
- min_approvals: 1
teams:
Expand All @@ -20,7 +20,7 @@ rules:
condition:
include: .*
# excluding files from 'Runtime files' and 'CI files' rules
exclude: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
exclude: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
min_approvals: 2
teams:
- core-devs
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/check-D-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Check D labels

on:
pull_request:
types: [labeled, opened, synchronize, unlabeled]
paths:
- primitives/**

jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- name: Pull image
env:
IMAGE: paritytech/ruled_labels:0.3.2
run: docker pull $IMAGE

- name: Check labels
env:
IMAGE: paritytech/ruled_labels:0.3.2
MOUNT: /work
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
API_BASE: https://api.github.com/repos
REPO: ${{ github.repository }}
RULES_PATH: labels/ruled_labels
CHECK_SPECS: specs_cumulus.yaml
run: |
echo "REPO: ${REPO}"
echo "GITHUB_PR: ${GITHUB_PR}"
# Clone repo with labels specs
git clone https://github.com/paritytech/labels
# Fetch the labels for the PR under test
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")

if [ -z "${labels}" ]; then
echo "No labels found. Please add labels D labels"
exit 1
fi

labels_args=${labels: :-1}
printf "Checking labels: %s\n" "${labels_args}"

# Prevent the shell from splitting labels with spaces
IFS=","

# --dev is more useful to debug mode to debug
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags audit
41 changes: 32 additions & 9 deletions .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,39 @@ jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Pull image
env:
IMAGE: paritytech/ruled_labels:0.3.2
run: docker pull $IMAGE

- name: Check labels
run: bash ${{ github.workspace }}/scripts/ci/github/check_labels.sh
env:
IMAGE: paritytech/ruled_labels:0.3.2
MOUNT: /work
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
API_BASE: https://api.github.com/repos
REPO: ${{ github.repository }}
RULES_PATH: labels/ruled_labels
CHECK_SPECS: specs_cumulus.yaml
run: |
echo "REPO: ${REPO}"
echo "GITHUB_PR: ${GITHUB_PR}"
# Clone repo with labels specs
git clone https://github.com/paritytech/labels
# Fetch the labels for the PR under test
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",")

if [ -z "${labels}" ]; then
echo "No labels found. Please add labels A, B and C labels"
exit 1
fi

labels_args=${labels: :-1}
printf "Checking labels: %s\n" "${labels_args}"

# Prevent the shell from splitting labels with spaces
IFS=","

# --dev is more useful to debug mode to debug
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags PR
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: rustup show

- name: Rust cache
uses: Swatinem/rust-cache@6720f05bc48b77f96918929a9019fb2203ff71f8 # v2.0.0
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2.2.0

- name: Build rustdocs
run: SKIP_WASM_BUILD=1 cargo doc --all --no-deps
Expand All @@ -32,7 +32,7 @@ jobs:
run: echo "<meta http-equiv=refresh content=0;url=cumulus_client_collator/index.html>" > ./target/doc/index.html

- name: Deploy documentation
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # v3.9.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/release-30_create-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
runtime: statemint
- category: assets
runtime: westmint
- category: bridge-hubs
runtime: bridge-hub-kusama
- category: bridge-hubs
runtime: bridge-hub-rococo
- category: collectives
runtime: collectives-polkadot
- category: contracts
Expand Down Expand Up @@ -120,7 +124,7 @@ jobs:
path: cumulus
ref: ${{ github.event.inputs.ref2 }}

- uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7 # v1.118.0
- uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
with:
ruby-version: 3.0.0

Expand Down Expand Up @@ -150,6 +154,8 @@ jobs:
WESTMINT_DIGEST: ${{ github.workspace}}/westmint-srtool-json/westmint-srtool-digest.json
STATEMINE_DIGEST: ${{ github.workspace}}/statemine-srtool-json/statemine-srtool-digest.json
STATEMINT_DIGEST: ${{ github.workspace}}/statemint-srtool-json/statemint-srtool-digest.json
BRIDGE_HUB_ROCOCO_DIGEST: ${{ github.workspace}}/bridge-hub-rococo-srtool-json/bridge-hub-rococo-srtool-digest.json
BRIDGE_HUB_KUSAMA_DIGEST: ${{ github.workspace}}/bridge-hub-kusama-srtool-json/bridge-hub-kusama-srtool-digest.json
COLLECTIVES_POLKADOT_DIGEST: ${{ github.workspace}}/collectives-polkadot-srtool-json/collectives-polkadot-srtool-digest.json
ROCOCO_PARA_DIGEST: ${{ github.workspace}}/rococo-parachain-srtool-json/rococo-parachain-srtool-digest.json
CANVAS_KUSAMA_DIGEST: ${{ github.workspace}}/contracts-rococo-srtool-json/contracts-rococo-srtool-digest.json
Expand All @@ -165,6 +171,8 @@ jobs:
ls -al $WESTMINT_DIGEST || true
ls -al $STATEMINE_DIGEST || true
ls -al $STATEMINT_DIGEST || true
ls -al $BRIDGE_HUB_ROCOCO_DIGEST || true
ls -al $BRIDGE_HUB_KUSAMA_DIGEST || true
ls -al $COLLECTIVES_POLKADOT_DIGEST || true
ls -al $ROCOCO_PARA_DIGEST || true
ls -al $CANVAS_KUSAMA_DIGEST || true
Expand Down Expand Up @@ -216,6 +224,10 @@ jobs:
runtime: statemint
- category: assets
runtime: westmint
- category: bridge-hubs
runtime: bridge-hub-kusama
- category: bridge-hubs
runtime: bridge-hub-rococo
- category: collectives
runtime: collectives-polkadot
- category: contracts
Expand All @@ -235,7 +247,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0

- uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7 # v1.118.0
- uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
with:
ruby-version: 3.0.0

Expand All @@ -255,7 +267,7 @@ jobs:
id: fix-runtime-path
run: |
cd "${{ matrix.runtime }}-runtime/"
mv "$(sed -E 's/-(.*)/_\1/' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true
mv "$(sed -E 's/- */_/g' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true

- name: Upload compressed ${{ matrix.runtime }} wasm
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
runtime: statemint
- category: assets
runtime: westmint
- category: bridge-hubs
runtime: bridge-hub-kusama
- category: bridge-hubs
runtime: bridge-hub-rococo
- category: collectives
runtime: collectives-polkadot
- category: contracts
Expand Down
25 changes: 24 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ variables:
# they will be used if the job fails
.pipeline-stopper-vars:
before_script:
- !reference [.job-switcher, before_script]
- echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env
- echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
- echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env
Expand Down Expand Up @@ -95,19 +96,26 @@ variables:
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs

.job-switcher:
before_script:
- if echo "$CI_DISABLED_JOBS" | grep -xF "$CI_JOB_NAME"; then echo "The job has been cancelled in CI settings"; exit 0; fi

.docker-env:
image: "${CI_IMAGE}"
before_script:
- !reference [.job-switcher, before_script]
- rustup show
- cargo --version
- rustup +nightly show
- cargo +nightly --version
- bash --version
tags:
- linux-docker
- linux-docker-vm-c2

.kubernetes-env:
image: "${CI_IMAGE}"
before_script:
- !reference [.job-switcher, before_script]
tags:
- kubernetes-parity-build

Expand Down Expand Up @@ -159,3 +167,18 @@ cancel-pipeline:
PR_NUM: "${PR_NUM}"
trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
branch: "as-improve"

remove-cancel-pipeline-message:
stage: .post
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
variables:
PROJECT_ID: "${CI_PROJECT_ID}"
PROJECT_NAME: "${CI_PROJECT_NAME}"
PIPELINE_ID: "${CI_PIPELINE_ID}"
FAILED_JOB_URL: "https://gitlab.com"
FAILED_JOB_NAME: "nope"
PR_NUM: "${CI_COMMIT_REF_NAME}"
trigger:
project: "parity/infrastructure/ci_cd/pipeline-stopper"
4 changes: 2 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# - The latest matching rule, if multiple, takes precedence.

# CI
/.github/ @paritytech/ci @chevdor
/.github/ @paritytech/ci @paritytech/release-engineering
/.gitlab-ci.yml @paritytech/ci
/scripts/ci/ @paritytech/ci @chevdor
/scripts/ci/ @paritytech/ci @paritytech/release-engineering

Loading