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

[Trappist] XCMv3 + v0.9.31 #1811

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
0889774
Co #12059: Revert "Auto-incremental CollectionId" (#1557)
ggwpez Aug 19, 2022
d2f232f
[ci] Weights PR for master and client on cumulus (#1553)
alvicsam Aug 22, 2022
bd41e3f
chore: bump zombienet version (#1560)
pepoviola Aug 22, 2022
09bbdd5
pin gha versions (#1566)
sergejparity Aug 23, 2022
711769e
Bump serde from 1.0.143 to 1.0.144 (#1565)
dependabot[bot] Aug 23, 2022
8637376
shell and seedling did not build (#1567)
gilescope Aug 24, 2022
059037f
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Aug 24, 2022
05abc1a
[ci] add auto cargo-fmt (#1562)
alvicsam Aug 24, 2022
4e53da1
Fixes
KiChjang Aug 24, 2022
9ee4759
Fixes
KiChjang Aug 24, 2022
187c47a
Add CallDispatcher
KiChjang Aug 24, 2022
bd3ce91
Fixes
KiChjang Aug 24, 2022
ad1cbec
Fixes
KiChjang Aug 24, 2022
5a34514
Fixes
KiChjang Aug 24, 2022
67c99fd
Fixes
KiChjang Aug 24, 2022
1fc2cb4
Fixes
KiChjang Aug 24, 2022
0f3f8b8
Fixes
KiChjang Aug 24, 2022
57e4420
Fixes
KiChjang Aug 24, 2022
d1230e3
Fixes
KiChjang Aug 24, 2022
3ba852b
Fixes
KiChjang Aug 24, 2022
31accbd
Fixes
KiChjang Aug 25, 2022
004f044
Fixes
KiChjang Aug 25, 2022
bee34ba
Fixes
KiChjang Aug 25, 2022
5c54d38
Fixes
KiChjang Aug 25, 2022
5166698
Fixes
KiChjang Aug 25, 2022
77953dc
Collectives runtime: alliance pallet upgrade introducing new retireme…
muharem Aug 29, 2022
0168ae7
Bump futures from 0.3.23 to 0.3.24 (#1578)
dependabot[bot] Aug 30, 2022
f418162
Bump clap from 3.2.17 to 3.2.18 (#1577)
dependabot[bot] Aug 30, 2022
8fbecbf
Bump clap from 3.2.18 to 3.2.19 (#1580)
dependabot[bot] Aug 31, 2022
1ab196d
[Feature] Limit collectives teleports to DOT (#1579)
ruseinov Aug 31, 2022
3fb9c8a
Companion for Weight v1.5 (#1581)
shawntabrizi Aug 31, 2022
99430a5
[Feature] Add XCM benchmark weights to Statemint and Statemine (#1454)
ruseinov Sep 1, 2022
8679e42
Update Cumulus to Latest Substrate and Polkadot Master (#1551)
muharem Sep 1, 2022
9faf9b1
Companion for Weight v1.5 Follow Up (#1584)
shawntabrizi Sep 1, 2022
2b9816e
9270 Backport of Align versions for runtimes (#1517) (#1574)
gilescope Sep 2, 2022
c047b3f
bump zombienet version, support new weights (#1589)
pepoviola Sep 2, 2022
e0f97c7
Companion for https://github.com/paritytech/substrate/pull/12147 (#1587)
bkchr Sep 2, 2022
d94cb49
Bump thiserror from 1.0.32 to 1.0.33 (#1586)
dependabot[bot] Sep 2, 2022
4a7a2a8
Companion for paritytech/substrate#12157 (#1590)
KiChjang Sep 2, 2022
713a85d
Bump clap from 3.2.19 to 3.2.20 (#1591)
dependabot[bot] Sep 3, 2022
deaf3e4
Update Integration tests Statemine & Statemint (#1526) (#1575)
gilescope Sep 5, 2022
55f8b7a
Companion for substrate#12179 (#1593)
muharem Sep 5, 2022
465abc2
Bump tokio from 1.19.2 to 1.21.0 (#1592)
dependabot[bot] Sep 5, 2022
c2d9753
fix release report generation script (#1597)
muharem Sep 6, 2022
c4c7fa0
fix release report generation script (#1599)
muharem Sep 6, 2022
a7ef2bf
Add features (#1602)
mustermeiszer Sep 6, 2022
6a6d3b5
Bump thiserror from 1.0.33 to 1.0.34 (#1596)
dependabot[bot] Sep 7, 2022
5576fe4
Bump url from 2.2.2 to 2.3.0 (#1604)
dependabot[bot] Sep 7, 2022
6c27ce2
Companion for paritytech/substrate#12183 (#1601)
KiChjang Sep 8, 2022
2e5aafe
Mock epoch index and randomness in SproofBuilder (for testing) (#1594)
4meta5 Sep 8, 2022
f15d900
Common version pattern for Collectives runtime (#1606)
muharem Sep 9, 2022
f120de2
Bump url from 2.3.0 to 2.3.1 (#1608)
dependabot[bot] Sep 10, 2022
51eb647
runtimes version to 9290 (#1612)
muharem Sep 12, 2022
b43bc58
Companion for #11981 (#1563)
Szegoo Sep 12, 2022
1f2b85c
Companion for paritytech/substrate#12219 (#1610)
KiChjang Sep 14, 2022
34e341c
Co #11976: Enable rust features (#1607)
ggwpez Sep 14, 2022
bd71977
Bump tokio from 1.21.0 to 1.21.1 (#1623)
dependabot[bot] Sep 15, 2022
bb87312
Bump criterion from 0.3.6 to 0.4.0 (#1618)
dependabot[bot] Sep 15, 2022
0313a37
Bump thiserror from 1.0.34 to 1.0.35 (#1622)
dependabot[bot] Sep 15, 2022
a913719
Bump parity-scale-codec from 3.1.5 to 3.2.1 (#1626)
dependabot[bot] Sep 15, 2022
99c8f61
Don't panic. (#1629)
gilescope Sep 16, 2022
db70676
Westmint don't panic. (#1631)
gilescope Sep 16, 2022
331e85e
Bump clap from 3.2.20 to 3.2.21 (#1621)
dependabot[bot] Sep 16, 2022
1df48c7
Bump scale-info from 2.1.2 to 2.2.0 (#1627)
dependabot[bot] Sep 16, 2022
06f852a
Bump clap from 3.2.21 to 3.2.22 (#1632)
dependabot[bot] Sep 19, 2022
7b7988e
Bump lz4-sys from 1.9.2 to 1.9.4 (#1588)
dependabot[bot] Sep 19, 2022
ebab061
Companion: contracts: Use `WeakBoundedVec` for instrumented code (#1595)
athei Sep 19, 2022
778d6bb
[ci] build runtime only if runtime files were changed (#1582)
alvicsam Sep 19, 2022
14115c8
[Fix] Weight calculations for Wild -> affects teleports (#1639)
ruseinov Sep 19, 2022
822c4d7
Revert "[Fix] Weight calculations for Wild -> affects teleports (#163…
joepetrowski Sep 19, 2022
5115d95
[ci] Disable auto-fmt and revert cancel-pipeline (#1642)
alvicsam Sep 20, 2022
05e561d
[Fix] Hardcode teleport weight until XCM pallet is fixed (#1641)
ruseinov Sep 20, 2022
4f18266
fix a wrong path to ci script (#1646)
muharem Sep 20, 2022
6f40bb9
Bump runtimes transaction version for v9290 (#1647)
muharem Sep 20, 2022
1418639
Rename Origin (#1628)
Szegoo Sep 20, 2022
3f11a7a
[Fix] Deposit weight hardcoded to pre-bench value (#1651)
ruseinov Sep 21, 2022
82ff35b
Ensure that inherents are first and unsigned (#1654)
bkchr Sep 21, 2022
50f3eb2
Companion for: Make automatic storage deposits resistant against chan…
athei Sep 21, 2022
7dc793d
Merge branch 'master' into gav-xcm-v3
KiChjang Sep 22, 2022
1dba83a
Fixes
KiChjang Sep 22, 2022
e02878e
Fixes
KiChjang Sep 22, 2022
142cdfa
Companion for #12283 (Anon -> Pure Proxy) (#1667)
shawntabrizi Sep 22, 2022
d9d9c1b
Other PRs have wrong base and drag additional commits into the genega…
gilescope Sep 23, 2022
25958aa
Fixes
KiChjang Sep 23, 2022
af93429
Bump syn from 1.0.99 to 1.0.100 (#1652)
dependabot[bot] Sep 23, 2022
a8df227
Small cosmetic nits (#1679)
bkontur Sep 23, 2022
397075f
Companion - Independence for Slot-based algorithms from timestamp (#1…
davxy Sep 23, 2022
4f88026
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Sep 26, 2022
8de4cde
Companion for substrate#11983. (#1613)
hzy1919 Sep 26, 2022
7357a35
Companion for paritytech/substrate#12264 (#1661)
altonen Sep 26, 2022
9e30984
Fixes
KiChjang Sep 27, 2022
afccd79
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Sep 27, 2022
013534a
Fixes
KiChjang Sep 27, 2022
4984ef3
Remove unused import
KiChjang Sep 27, 2022
5efee4c
Remove unused import
KiChjang Sep 27, 2022
695ed8a
Bump serde from 1.0.144 to 1.0.145 (#1677)
dependabot[bot] Sep 27, 2022
90a3b21
add current time in milis to the branch name (#1658) (#1693)
gilescope Sep 27, 2022
e23d581
set xcm weights template (#1643) (#1691)
gilescope Sep 28, 2022
032540d
Bump proc-macro2 from 1.0.43 to 1.0.44 (#1697)
dependabot[bot] Sep 28, 2022
27d05a3
backport: update integration tests (#1695)
gilescope Sep 28, 2022
2c4103d
Bump crate versions (#1690)
gilescope Sep 28, 2022
facb089
[benchmarks] pr with weights (#1664) (#1694)
gilescope Sep 28, 2022
9f09698
Removed unused deps with `cargo machete` (#1680)
bkontur Sep 29, 2022
ab6114f
Bump crate versions
chevdor Sep 29, 2022
1ec1e89
Bump spec_version to 9300
chevdor Sep 29, 2022
13fe0e3
Polkadot Collectives chain spec (#1603)
muharem Sep 29, 2022
38bc912
Bump syn from 1.0.100 to 1.0.101 (#1696)
dependabot[bot] Sep 30, 2022
b268691
Westend Collectives chain spec (#1712)
muharem Oct 2, 2022
926466a
Bump proc-macro2 from 1.0.44 to 1.0.46 (#1708)
dependabot[bot] Oct 2, 2022
8f67d0d
Update README.md (#1683)
nuke-web3 Oct 3, 2022
7c8a9ff
Companion: Remove contracts RPC (#1685)
athei Oct 3, 2022
483b20c
XCMv3 fixes (#1710)
bkontur Oct 3, 2022
f5b1860
only register MaxCandidates-1 candidates initially (#1714)
Kailai-Wang Oct 3, 2022
763d88b
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
bkontur Oct 3, 2022
5c962b3
Bump smallvec from 1.9.0 to 1.10.0 (#1723)
dependabot[bot] Oct 4, 2022
c446b63
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
bkontur Oct 4, 2022
c6f1f46
Bump thiserror from 1.0.35 to 1.0.37 (#1704)
dependabot[bot] Oct 4, 2022
558af3e
Fix target of some Matrix notifications
chevdor Oct 4, 2022
c06dea3
fmt (#1731)
chevdor Oct 5, 2022
4635068
[ci] add fmt check (#1733)
alvicsam Oct 5, 2022
95b8a21
Companion for contracts WeightV2 (#1726)
athei Oct 5, 2022
62e9c42
Add protoc
chevdor Oct 5, 2022
f836f83
Update .github/workflows/docs.yml
chevdor Oct 5, 2022
a668de3
[ci] check fmt on master (#1734)
alvicsam Oct 6, 2022
30900e0
Companion for Adapt to new contracts runtime api (#1736)
athei Oct 6, 2022
8db577e
Fix protoc install
chevdor Oct 5, 2022
fde36ad
Bump syn from 1.0.101 to 1.0.102 (#1746)
dependabot[bot] Oct 7, 2022
7612d61
Enable collation via RPC relay chain node (#1585)
skunert Oct 10, 2022
45ed36f
Bump tracing from 0.1.36 to 0.1.37 (#1740)
dependabot[bot] Oct 10, 2022
4454404
Bump tokio from 1.21.1 to 1.21.2 (#1698)
dependabot[bot] Oct 10, 2022
466725a
Companion for paritytech/polkadot#6117 (#1749)
altonen Oct 10, 2022
92956a3
Bump lru from 0.8.0 to 0.8.1 (#1751)
dependabot[bot] Oct 10, 2022
882a892
Migrate Weights properly to v2 (#1722)
KiChjang Oct 11, 2022
e695dd9
Companion for paritytech/substrate#12480 (#1758)
altonen Oct 13, 2022
25811e4
BlockId removal refactor: Backend::state_at (#1760)
michalkucharczyk Oct 14, 2022
8bb691c
Companion for paritytech/substrate#12489 (#1766)
altonen Oct 17, 2022
220bc55
GHA updates and pin (#1768)
chevdor Oct 17, 2022
b24d728
Bump proc-macro2 from 1.0.46 to 1.0.47 (#1774)
dependabot[bot] Oct 18, 2022
cf9d6bb
Runtime release checklist template update (#1762)
muharem Oct 18, 2022
00626c0
contracts: Reduce session length and enable unstable interfaces (#1748)
athei Oct 18, 2022
e960589
Update clap to version 4 (#1745)
skunert Oct 18, 2022
5e63a1d
BlockId removal: refactor: StorageProvider (#1770)
michalkucharczyk Oct 18, 2022
18c01ee
Reduce parachain template cognitive complexity (#1777)
davxy Oct 19, 2022
98425f1
Bump clap from 4.0.11 to 4.0.17 (#1778)
dependabot[bot] Oct 19, 2022
7273afa
pov-recovery: try connect to validators (#1711)
ordian Oct 19, 2022
a53703e
[ci] Split .gitlab-ci.yml (#1701)
alvicsam Oct 19, 2022
4e87fdb
Update dependencies
EgorPopelyaev Oct 20, 2022
940a6f4
Bump crate versions
EgorPopelyaev Oct 20, 2022
a63ca3a
Bump spec_version to 9310
EgorPopelyaev Oct 20, 2022
7290787
Avoid consuming XCM message for NotApplicable scenario (#1787)
bkontur Oct 25, 2022
9a06b3c
Merge remote-tracking branch 'upstream/polkadot-v0.9.31' into HEAD
arturgontijo Nov 2, 2022
1ca9da1
[XCMv3] v0.9.31
arturgontijo Nov 2, 2022
75b0bc4
[XCMv3] Adding NonFungiblesTransactor for Statemine/Penpal.
arturgontijo Nov 2, 2022
1b78411
[XCMv3] Using paritytech/polkadot
arturgontijo Nov 2, 2022
aeecb68
Merge branch 'trappist-xcm-v3-0931' into HEAD
arturgontijo Nov 2, 2022
4584d9a
[XCMv3] v0.9.31 + NonFungiblesAdapter
arturgontijo Nov 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/ISSUE_TEMPLATE/release-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,28 @@ title: Release Checklist for Runtime {{ env.VERSION }}

# Release Checklist - Runtimes

**All** following checks must be completed before publishing a new release.
The release process is owned and led by @paritytech/release-engineering team.
The checks marked with :crab: are meant to be checked by [a runtime engineer](https://github.com/paritytech/cumulus/issues/1761).

## Runtimes Release

### Codebase
These checks should be performed on the codebase.

- [ ] the [`spec_version`](https://github.com/paritytech/cumulus/blob/master/docs/release.md#spec-version) has been incremented since the
last release for any native runtimes from any existing use on public (non-private/test) networks
- [ ] previously [completed migrations](https://github.com/paritytech/cumulus/blob/master/docs/release.md#old-migrations-removed) are
removed for any public (non-private/test) networks
- [ ] No migrations added in the last release that would need to be removed
- [ ] :crab: previously [completed migrations](https://github.com/paritytech/cumulus/blob/master/docs/release.md#old-migrations-removed) are removed for any public (non-private/test) networks
- [ ] pallet and [extrinsic ordering](https://github.com/paritytech/cumulus/blob/master/docs/release.md#extrinsic-ordering--storage) as well as `SignedExtension`s have stayed
the same. Bump `transaction_version` otherwise
- [ ] the [benchmarks](https://github.com/paritytech/ci_cd/wiki/Benchmarks:-cumulus) ran
- [ ] the weights have been updated for any modified runtime logic
- [ ] the various pieces of XCM config are sane
- [ ] :crab: the new weights are sane, there are no significant (>50%) drops or rises with no reason
- [ ] :crab: XCM config is compatible with the configurations and versions of relevant interlocutors, like the Relay Chain.

### On the release branch

The following checks can be performed after we have forked off to the release-
candidate branch or started an additional release candidate branch (rc-2, rc-3, etc)
The following checks can be performed after we have forked off to the release-candidate branch or started an additional release candidate branch (rc-2, rc-3, etc)

- [ ] Verify [new migrations](https://github.com/paritytech/cumulus/blob/master/docs/release.md#new-migrations) complete successfully, and the
runtime state is correctly updated for any public (non-private/test)
Expand All @@ -41,6 +43,10 @@ candidate branch or started an additional release candidate branch (rc-2, rc-3,
- [ ] Check that [build artifacts](https://github.com/paritytech/cumulus/blob/master/docs/release.md#build-artifacts) have been added to the
draft-release.

# Post release

- [ ] :crab: all commits (runtime version bumps, fixes) on this release branch have been merged back to master.

---

Read more about the [release documentation](https://github.com/paritytech/cumulus/blob/master/docs/release.md).
1 change: 1 addition & 0 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ rules:
check_type: changed_files
condition:
include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
exclude: ^scripts/ci/gitlab/pipeline/zombienet.yml$
min_approvals: 2
teams:
- ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install tooling
run: |
sudo apt-get install -y protobuf-compiler
protoc --version

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: Rust versions
run: rustup show

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

- name: Build rustdocs
run: SKIP_WASM_BUILD=1 cargo doc --all --no-deps
Expand All @@ -27,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@v3
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Quick check Formatting
name: Rustfmt check

on:
push:
branches:
- "*"
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

Expand All @@ -15,26 +15,26 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Install Rust nightly toolchain
uses: actions-rs/toolchain@v1
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.7
with:
profile: minimal
toolchain: nightly
override: true
components: clippy, rustfmt

- name: Cache Dependencies & Build Outputs
uses: actions/cache@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- uses: actions/checkout@v3
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: Cargo fmt
uses: actions-rs/cargo@v1
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.3
with:
command: fmt
args: --all -- --check
2 changes: 1 addition & 1 deletion .github/workflows/release-01_branch-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
fetch-depth: 0

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/release-10_rc-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ on:
jobs:
tag_rc:
runs-on: ubuntu-latest
strategy:
matrix:
channel:
- name: 'Cumulus Release Coordination'
room: '!ZrLPsivsytpkdJfVaa:matrix.parity.io'
pre-releases: true
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
fetch-depth: 0
- id: compute_tag
Expand Down Expand Up @@ -67,11 +73,11 @@ jobs:
assignees: release-engineering
filename: .github/ISSUE_TEMPLATE/release-runtime.md

- name: Send Matrix message
- name: Matrix notification to ${{ matrix.channel.name }}
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
if: steps.create-issue-checklist-client.outputs.url != '' && steps.create-issue-checklist-runtime.outputs.url != ''
with:
room_id: ${{ secrets.INTERNAL_CUMULUS_MATRIX_ROOM_ID }}
room_id: ${{ matrix.channel.room }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
server: "matrix.parity.io"
message: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
$CMD >> output.txt
sed -z -i 's/\n\n/\n/g' output.txt
cat output.txt | egrep -n -i ''
SUMMARY=$(./scripts/ci/extrinsic-ordering-filter.sh output.txt)
SUMMARY=$(./scripts/ci/github/extrinsic-ordering-filter.sh output.txt)
echo -e $SUMMARY
echo -e $SUMMARY >> output.txt

Expand All @@ -79,7 +79,7 @@ jobs:
continue-on-error: true

- name: Save output as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: ${{ env.CHAIN }}
path: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
cat output.txt

- name: Save output as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: ${{ matrix.runtime }}
path: |
Expand Down
42 changes: 24 additions & 18 deletions .github/workflows/release-30_create-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
runtime: rococo-parachain
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
ref: ${{ github.event.inputs.ref2 }}

- name: Cache target dir
if: ${{ github.event.inputs.release_type != 'client' }}
uses: actions/cache@v3
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
with:
path: "${{ github.workspace }}/runtime/${{ matrix.runtime }}/target"
key: srtool-target-${{ matrix.runtime }}-${{ github.sha }}
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Build ${{ matrix.runtime }} runtime
if: ${{ github.event.inputs.release_type != 'client' }}
id: srtool_build
uses: chevdor/srtool-actions@v0.5.0
uses: chevdor/srtool-actions@v0.6.0
with:
image: paritytech/srtool
chain: ${{ matrix.runtime }}
Expand All @@ -93,14 +93,14 @@ jobs:

- name: Upload ${{ matrix.runtime }} srtool json
if: ${{ github.event.inputs.release_type != 'client' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: ${{ matrix.runtime }}-srtool-json
path: ${{ matrix.runtime }}-srtool-digest.json

- name: Upload ${{ matrix.runtime }} runtime
if: ${{ github.event.inputs.release_type != 'client' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: ${{ matrix.runtime }}-runtime
path: |
Expand All @@ -114,18 +114,18 @@ jobs:
asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
fetch-depth: 0
path: cumulus
ref: ${{ github.event.inputs.ref2 }}

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

- name: Download srtool json output
uses: actions/download-artifact@v3
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0

- name: Prepare tooling
run: |
Expand Down Expand Up @@ -177,22 +177,22 @@ jobs:

- name: Archive srtool json
if: ${{ github.event.inputs.release_type != 'client' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: srtool-json
path: |
**/*-srtool-digest.json

- name: Archive context artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: release-notes-context
path: |
cumulus/scripts/ci/changelog/context.json

- name: Create draft release
id: create-release
uses: actions/create-release@v1
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -228,14 +228,14 @@ jobs:
runtime: rococo-parachain
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
ref: ${{ github.event.inputs.ref2 }}

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0

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

Expand All @@ -258,7 +258,7 @@ jobs:
mv "$(sed -E 's/-(.*)/_\1/' <<< ${{ matrix.runtime }})_runtime.compact.compressed.wasm" "${{ matrix.runtime }}_runtime.compact.compressed.wasm" || true

- name: Upload compressed ${{ matrix.runtime }} wasm
uses: actions/upload-release-asset@v1
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -271,11 +271,17 @@ jobs:
if: ${{ github.event.inputs.notification == 'true' }}
runs-on: ubuntu-latest
needs: publish-draft-release
strategy:
matrix:
channel:
- name: 'Cumulus Release Coordination'
room: '!ZrLPsivsytpkdJfVaa:matrix.parity.io'
pre-releases: true
steps:
- name: Internal polkadot channel
uses: s3krit/matrix-message-action@v0.0.3
- name: Matrix notification to ${{ matrix.channel.name }}
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
with:
room_id: ${{ secrets.INTERNAL_CUMULUS_MATRIX_ROOM_ID }}
room_id: ${{ matrix.channel.room }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
message: |
**New draft for ${{ github.repository }}**: ${{ github.event.inputs.ref2 }}<br/>
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-50_docker-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
ref: ${{ github.event.release.tag_name }}

Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
./docker/scripts/build-injected-image.sh

- name: Login to Dockerhub
uses: docker/login-action@v2
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-50_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
ref: ${{ github.event.release.tag_name }}

Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
./docker/scripts/build-injected-image.sh

- name: Login to Dockerhub
uses: docker/login-action@v2
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-99_bot-announce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
pre-release: true

steps:
- name: send message
uses: s3krit/matrix-message-action@v0.0.3
- name: Matrix notification to ${{ matrix.channel.name }}
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
with:
room_id: ${{ matrix.channel.room }}
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
Expand Down
Loading