Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 90b4b8e

Browse files
committed
Merge branch 'master' of github.com:paritytech/cumulus into davxy/remove-leaves-portable-with-recovery
Signed-off-by: Andrei Sandu <[email protected]>
2 parents 9d1640c + f3847ea commit 90b4b8e

File tree

208 files changed

+8666
-2816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+8666
-2816
lines changed

.github/ISSUE_TEMPLATE/release-runtime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The following checks can be performed after we have forked off to the release-ca
3434
networks
3535
- [ ] Run [integration tests](https://github.com/paritytech/cumulus/blob/master/docs/release.md#integration-tests), and make sure they pass.
3636
- [ ] Push runtime upgrade to Westmint and verify network stability
37+
- [ ] Push runtime upgrade to Collectives and verify network stability
3738

3839

3940
### Github

.github/dependabot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ updates:
1010
- dependency-name: "sp-*"
1111
- dependency-name: "frame-*"
1212
- dependency-name: "fork-tree"
13-
- dependency-name: "remote-externalities"
13+
- dependency-name: "frame-remote-externalities"
1414
- dependency-name: "pallet-*"
1515
- dependency-name: "beefy-*"
1616
- dependency-name: "try-runtime-*"
@@ -21,6 +21,7 @@ updates:
2121
- dependency-name: "xcm*"
2222
- dependency-name: "kusama-*"
2323
- dependency-name: "westend-*"
24+
- dependency-name: "rococo-*"
2425
schedule:
2526
interval: "daily"
2627
- package-ecosystem: github-actions

.github/pr-custom-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ action-review-team: ci
66
rules:
77
- name: Runtime files
88
check_type: changed_files
9-
condition: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$
9+
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$
1010
all_distinct:
1111
- min_approvals: 1
1212
teams:
@@ -20,7 +20,7 @@ rules:
2020
condition:
2121
include: .*
2222
# excluding files from 'Runtime files' and 'CI files' rules
23-
exclude: ^parachains/runtimes/assets/(statemine|statemint)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
23+
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/.*
2424
min_approvals: 2
2525
teams:
2626
- core-devs

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
runtime: statemint
5151
- category: assets
5252
runtime: westmint
53+
- category: bridge-hubs
54+
runtime: bridge-hub-kusama
55+
- category: bridge-hubs
56+
runtime: bridge-hub-rococo
5357
- category: collectives
5458
runtime: collectives-polkadot
5559
- category: contracts
@@ -120,7 +124,7 @@ jobs:
120124
path: cumulus
121125
ref: ${{ github.event.inputs.ref2 }}
122126

123-
- uses: ruby/setup-ruby@f2c070bbf74632495b403899c87610cd4cb99dbe # v1.120.1
127+
- uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
124128
with:
125129
ruby-version: 3.0.0
126130

@@ -150,6 +154,8 @@ jobs:
150154
WESTMINT_DIGEST: ${{ github.workspace}}/westmint-srtool-json/westmint-srtool-digest.json
151155
STATEMINE_DIGEST: ${{ github.workspace}}/statemine-srtool-json/statemine-srtool-digest.json
152156
STATEMINT_DIGEST: ${{ github.workspace}}/statemint-srtool-json/statemint-srtool-digest.json
157+
BRIDGE_HUB_ROCOCO_DIGEST: ${{ github.workspace}}/bridge-hub-rococo-srtool-json/bridge-hub-rococo-srtool-digest.json
158+
BRIDGE_HUB_KUSAMA_DIGEST: ${{ github.workspace}}/bridge-hub-kusama-srtool-json/bridge-hub-kusama-srtool-digest.json
153159
COLLECTIVES_POLKADOT_DIGEST: ${{ github.workspace}}/collectives-polkadot-srtool-json/collectives-polkadot-srtool-digest.json
154160
ROCOCO_PARA_DIGEST: ${{ github.workspace}}/rococo-parachain-srtool-json/rococo-parachain-srtool-digest.json
155161
CANVAS_KUSAMA_DIGEST: ${{ github.workspace}}/contracts-rococo-srtool-json/contracts-rococo-srtool-digest.json
@@ -165,6 +171,8 @@ jobs:
165171
ls -al $WESTMINT_DIGEST || true
166172
ls -al $STATEMINE_DIGEST || true
167173
ls -al $STATEMINT_DIGEST || true
174+
ls -al $BRIDGE_HUB_ROCOCO_DIGEST || true
175+
ls -al $BRIDGE_HUB_KUSAMA_DIGEST || true
168176
ls -al $COLLECTIVES_POLKADOT_DIGEST || true
169177
ls -al $ROCOCO_PARA_DIGEST || true
170178
ls -al $CANVAS_KUSAMA_DIGEST || true
@@ -216,6 +224,10 @@ jobs:
216224
runtime: statemint
217225
- category: assets
218226
runtime: westmint
227+
- category: bridge-hubs
228+
runtime: bridge-hub-kusama
229+
- category: bridge-hubs
230+
runtime: bridge-hub-rococo
219231
- category: collectives
220232
runtime: collectives-polkadot
221233
- category: contracts
@@ -235,7 +247,7 @@ jobs:
235247
- name: Download artifacts
236248
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
237249

238-
- uses: ruby/setup-ruby@f2c070bbf74632495b403899c87610cd4cb99dbe # v1.120.1
250+
- uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
239251
with:
240252
ruby-version: 3.0.0
241253

@@ -255,7 +267,7 @@ jobs:
255267
id: fix-runtime-path
256268
run: |
257269
cd "${{ matrix.runtime }}-runtime/"
258-
mv "$(sed -E 's/-(.*)/_\1/' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true
270+
mv "$(sed -E 's/- */_/g' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true
259271
260272
- name: Upload compressed ${{ matrix.runtime }} wasm
261273
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2

.github/workflows/srtool.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
runtime: statemint
3838
- category: assets
3939
runtime: westmint
40+
- category: bridge-hubs
41+
runtime: bridge-hub-kusama
42+
- category: bridge-hubs
43+
runtime: bridge-hub-rococo
4044
- category: collectives
4145
runtime: collectives-polkadot
4246
- category: contracts

.gitlab-ci.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ variables:
104104
- cargo +nightly --version
105105
- bash --version
106106
tags:
107-
- linux-docker
107+
- linux-docker-vm-c2
108108

109109
.kubernetes-env:
110110
image: "${CI_IMAGE}"
@@ -159,3 +159,19 @@ cancel-pipeline:
159159
PR_NUM: "${PR_NUM}"
160160
trigger:
161161
project: "parity/infrastructure/ci_cd/pipeline-stopper"
162+
branch: "as-improve"
163+
164+
remove-cancel-pipeline-message:
165+
stage: .post
166+
rules:
167+
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
168+
variables:
169+
PROJECT_ID: "${CI_PROJECT_ID}"
170+
PROJECT_NAME: "${CI_PROJECT_NAME}"
171+
PIPELINE_ID: "${CI_PIPELINE_ID}"
172+
FAILED_JOB_URL: "https://gitlab.com"
173+
FAILED_JOB_NAME: "nope"
174+
PR_NUM: "${CI_COMMIT_REF_NAME}"
175+
trigger:
176+
project: "parity/infrastructure/ci_cd/pipeline-stopper"
177+
branch: "as-improve"

0 commit comments

Comments
 (0)