Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
0e9d395
Bump node version to 1.19.0 in polkadot-cli
ParityReleases Jun 10, 2025
fcef81f
Bump node version to 1.19.0 in polkadot-omni-node-lib
ParityReleases Jun 10, 2025
2161c8e
Bump spec_version to 1_019_000
ParityReleases Jun 10, 2025
e2af364
Reordering prdocs for the release stable2506
ParityReleases Jun 10, 2025
7162805
[stable2506] Backport #8755 (#8815)
paritytech-release-backport-bot[bot] Jun 10, 2025
b807828
Fix build pipeline
EgorPopelyaev Jun 10, 2025
46dae3e
[stable2506] Backport #8820 (#8822)
paritytech-release-backport-bot[bot] Jun 11, 2025
0431632
[stable2506] Backport #8833 (#8899)
paritytech-release-backport-bot[bot] Jun 23, 2025
7b03c8b
[stable2506] Backport #8816 (#8826)
paritytech-release-backport-bot[bot] Jun 23, 2025
16ff6db
[stable2506] Backport #8787 (#8914)
paritytech-release-backport-bot[bot] Jun 25, 2025
e8308f6
[stable2506] Backport #8973 (#8979)
paritytech-release-backport-bot[bot] Jun 25, 2025
c2a088e
[stable2506] Backport #8596 (#8970)
paritytech-release-backport-bot[bot] Jun 25, 2025
2d0b78c
[stable2506] Backport #8923 (#8971)
paritytech-release-backport-bot[bot] Jun 26, 2025
8403607
[stable2506] Backport #8831 (#8843)
paritytech-release-backport-bot[bot] Jun 26, 2025
d0f4111
[stable2506] Backport #8832 (#8847)
paritytech-release-backport-bot[bot] Jun 26, 2025
51ac2a9
[stable2506] Backport #8834 (#8890)
paritytech-release-backport-bot[bot] Jun 26, 2025
e1b3e38
[stable2506] Backport #8903 (#8916)
paritytech-release-backport-bot[bot] Jun 26, 2025
ad97b9d
[stable2506] Backport #8925 (#8934)
paritytech-release-backport-bot[bot] Jun 26, 2025
13bc301
[stable2506] Backport #8861 (#8926)
paritytech-release-backport-bot[bot] Jun 27, 2025
07b3450
[stable2506] Backport #8076 (#9005)
paritytech-release-backport-bot[bot] Jun 27, 2025
98cc294
[stable2506] Backport #8948 (#8960)
paritytech-release-backport-bot[bot] Jun 30, 2025
0ecdd75
[stable2506] Backport #8980 (#8984)
paritytech-release-backport-bot[bot] Jun 30, 2025
b7b7304
[stable2506] Backport #8694 (#9031)
paritytech-release-backport-bot[bot] Jun 30, 2025
58a5eff
[stable2506] Backport #8932 (#9011)
paritytech-release-backport-bot[bot] Jun 30, 2025
da2e66e
[stable2506] Backport #9059 (#9065)
paritytech-release-backport-bot[bot] Jul 2, 2025
0fa4b0f
[stable2506] Backport #9050 (#9069)
paritytech-release-backport-bot[bot] Jul 2, 2025
03ed2da
[stable2506] Bump spec_version to 1_019_001 and reorder prdocs (#9077)
EgorPopelyaev Jul 2, 2025
fa7056a
[stable2506] Reorder prdoc (#9078)
EgorPopelyaev Jul 2, 2025
9ea8169
[stable2506] Backport #9047 (#9083)
paritytech-release-backport-bot[bot] Jul 3, 2025
e57fe52
[stable2506] Backport #8837 (#9090)
paritytech-release-backport-bot[bot] Jul 3, 2025
8ac625f
[stable2506] Backport #9092 (#9097)
paritytech-release-backport-bot[bot] Jul 4, 2025
90693fd
[stable2506] Backport #8839 (#9072)
paritytech-release-backport-bot[bot] Jul 4, 2025
d95e3c3
[stable2506] Reorder prdocs (#9104)
EgorPopelyaev Jul 4, 2025
97b232b
[stable2506] Backport #9102 (#9110)
paritytech-release-backport-bot[bot] Jul 7, 2025
a66a9c7
[stable2506] Backport #9139 (#9145)
paritytech-release-backport-bot[bot] Jul 9, 2025
c3bfa7a
[stable2506] Backport #9094 (#9156)
paritytech-release-backport-bot[bot] Jul 10, 2025
de111c2
[stable2506] Backport #9127 (#9181)
paritytech-release-backport-bot[bot] Jul 14, 2025
fcdb807
[stable2506] Backport #8860 relay chain logic (runtime + client) (#9193)
paritytech-release-backport-bot[bot] Jul 14, 2025
00325dd
[stable2506] Backport #9137 (#9200)
paritytech-release-backport-bot[bot] Jul 15, 2025
158076b
[stable2506] Backport #9202 (#9210)
paritytech-release-backport-bot[bot] Jul 16, 2025
861c780
[stable2506] Backport #8891 (#9232)
paritytech-release-backport-bot[bot] Jul 17, 2025
21afdb7
[stable2506] Backport #9264 (#9276)
paritytech-release-backport-bot[bot] Jul 21, 2025
6fd693e
[stable2506] Post crates release updates (#9218)
EgorPopelyaev Jul 24, 2025
bcf4010
[stable2506] Backport #9179 (#9304)
paritytech-release-backport-bot[bot] Jul 30, 2025
1e4e953
[stable2506] Fix `pallet-xcm` tests with `test_log_capture` (#9382)
raymondkfcheung Jul 30, 2025
8f68ad1
[stable2506] Backport #9354 (#9375)
paritytech-release-backport-bot[bot] Jul 31, 2025
c55944d
[stable2506] Backport #9195 (#9405)
paritytech-release-backport-bot[bot] Jul 31, 2025
b13724f
[stable2506] Backport #9348 (#9351)
paritytech-release-backport-bot[bot] Jul 31, 2025
f15a424
[stable2506] Backport #9250 (#9359)
paritytech-release-backport-bot[bot] Jul 31, 2025
b2950c2
[stable2506] Backport #9281 (#9329)
paritytech-release-backport-bot[bot] Jul 31, 2025
03e07b6
[stable2506] Backport #9355 (#9370)
paritytech-release-backport-bot[bot] Aug 1, 2025
ab7c86b
[stable2506] Backport #9338 (#9438)
paritytech-release-backport-bot[bot] Aug 11, 2025
1acf051
[stable2506] Use stable2506 branch instead of master to check benches…
EgorPopelyaev Aug 13, 2025
0d40573
[stable2506] Backport #8857 (#9390)
paritytech-release-backport-bot[bot] Aug 13, 2025
15a0c8b
[stable2506] Backport #8838 (#9439)
paritytech-release-backport-bot[bot] Aug 13, 2025
411c502
[stable2506] Backport #9445 (#9449)
paritytech-release-backport-bot[bot] Aug 13, 2025
7231580
[stable2506] Backport #9189 (#9464)
paritytech-release-backport-bot[bot] Aug 13, 2025
e79afab
[stable2506] Backport #9489 (#9492)
paritytech-release-backport-bot[bot] Aug 15, 2025
4129017
[stable2506] Post crates release changes (#9505)
EgorPopelyaev Aug 18, 2025
f3969c7
[stable2506] Move prdoc to release folder (#9508)
EgorPopelyaev Aug 18, 2025
bb71a69
[stable2506] Backport #9516 (#9519)
paritytech-release-backport-bot[bot] Aug 20, 2025
f8cb94c
[stable2506] Backport #9514 (#9522)
paritytech-release-backport-bot[bot] Aug 20, 2025
43425df
[stable2506] Backport #9544 (#9599)
paritytech-release-backport-bot[bot] Sep 1, 2025
ed54223
[stable2506] Backport #9564 (#9583)
paritytech-release-backport-bot[bot] Sep 2, 2025
03d0b02
[stable2506] Backport #9451 (#9623)
paritytech-release-backport-bot[bot] Sep 2, 2025
2279155
[stable2506] Backport #9581 (#9634)
paritytech-release-backport-bot[bot] Sep 4, 2025
2caeef4
[stable2506] Post crates release stable2506-2 (#9649)
EgorPopelyaev Sep 4, 2025
e80cde6
choir: gitignore
metricaez Sep 12, 2025
7099ba5
feat: pallet broadcaster starter
metricaez Sep 13, 2025
57675e4
feat: some tests
metricaez Sep 13, 2025
207de16
feat: Publish with stub trait handler
metricaez Sep 14, 2025
6ed6d0f
feat: broadcast_adapter
metricaez Sep 15, 2025
711d3e1
feat: HandlePublish restructure
metricaez Sep 15, 2025
82f7822
feat: move publish creation from xcm to pallet
metricaez Sep 16, 2025
70a9a7a
feat: add broadcaster to rococo
metricaez Sep 16, 2025
9630418
feat: runtime api
metricaez Sep 16, 2025
9d1adb3
feat: store keys
metricaez Sep 21, 2025
e9ab562
feat: extraction via inherent first impl
metricaez Sep 22, 2025
d223b13
fix: fix tests
metricaez Sep 22, 2025
a71ad3a
feat: store data roots
metricaez Sep 23, 2025
8c59d80
feat: extract roots on parachain-system
metricaez Sep 23, 2025
0765976
feat: first sub broadcaster logic
metricaez Sep 23, 2025
334fb1b
feat: Subscribe instruction
metricaez Sep 23, 2025
dbd66e5
feat: filter by subscription
metricaez Sep 23, 2025
54301ee
feat: root change detection
metricaez Sep 29, 2025
78e1331
feat: pubsub mechanism - initial implementation
metricaez Sep 29, 2025
a58f578
Merge branch 'feat/pubsub-polish' of https://github.com/blockdeep/pol…
metricaez Sep 29, 2025
9b8dd3f
feat: logs clean up and event emission on broadcaster
metricaez Sep 30, 2025
3a1440b
feat: handle bounds and clean up
metricaez Sep 30, 2025
331e62c
feat: small opt
metricaez Sep 30, 2025
087c85a
feat: adapter tests
metricaez Sep 30, 2025
a13befb
feat: bound key and data of Publish
metricaez Oct 1, 2025
aec78c9
feat: Publish and Sub XCMErrors
metricaez Oct 1, 2025
b782498
feat: benchmark first approach
metricaez Oct 1, 2025
6a2f6d6
feat: benchmarks and proper weights for rococo
metricaez Oct 2, 2025
dc6817a
feat: fix param inconsitency
metricaez Oct 2, 2025
a14d153
fix: cleanup dead code, move trait, fix pending trait
metricaez Oct 2, 2025
114256d
choir: cleanup rutime api methods
metricaez Oct 2, 2025
20196ff
feat: move runtime api call of inherent to proper traits
metricaez Oct 3, 2025
16d2643
choir: cleanup dead test
metricaez Oct 3, 2025
1a4ba5c
feat: sproof test
metricaez Oct 3, 2025
5df7dcd
choir: clean dev logs
metricaez Oct 3, 2025
4db8f2c
feat: handle clear_prefix failure
metricaez Oct 4, 2025
480fe43
feat: early return
metricaez Oct 4, 2025
3b3d8f0
feat: data storage and processing opt and tests
metricaez Oct 6, 2025
998d4ce
feat: benchmarking for parachain-system
metricaez Oct 7, 2025
aa2becd
feat: better hashing for ParaId
metricaez Oct 7, 2025
ea5317f
choir: some more tests
metricaez Oct 8, 2025
2229ad0
feat: remove one iteration
metricaez Oct 8, 2025
89d6162
feat: remove Subscribe xcm instruction
metricaez Dec 3, 2025
f90c67d
feat: add subscriptions storage and extrinsic to parachain system
metricaez Dec 3, 2025
a0618d7
feat: storedata roots as storage map and not vec
metricaez Dec 3, 2025
16d1af2
feat: get subscriptions into the collator via API
metricaez Dec 4, 2025
e2f1877
feat: propagate keys up to relay proof generation
metricaez Dec 4, 2025
4f4798e
feat: first approach to get data from proof
metricaez Dec 5, 2025
ec0ea3d
choir: parachain system and inherent clean up and refactor
metricaez Dec 5, 2025
44156a4
feat: api data retrieval cleanup
metricaez Dec 6, 2025
b602641
feat: first approach to generilzation of API
metricaez Dec 7, 2025
0886a75
feat: child info unificication
metricaez Dec 7, 2025
bb04277
feat: new pallet architecture
metricaez Dec 8, 2025
48c5f30
choir: shorter comments
metricaez Dec 8, 2025
dfa8156
feat: register publisher
metricaez Dec 8, 2025
7389dad
feat: de register
metricaez Dec 8, 2025
68bbc43
feat: first cleanup intializer appraoch
metricaez Dec 8, 2025
e967a65
feat: outgoing weight ack and tests
metricaez Dec 8, 2025
4e8c5f2
feat: broadcaster weights and benchmarks
metricaez Dec 9, 2025
c03867d
feat: OnNewSessionOutgoing to avoid broadcaster integration in every …
metricaez Dec 9, 2025
bfa19f1
choir: remove unnecesary root tracking on broadcaster
metricaez Dec 9, 2025
8795618
feat: generic API
metricaez Dec 11, 2025
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
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .github/scripts/release/build-linux-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

BIN=$1
PACKAGE=${2:-$BIN}
# must be given as feature1,feature2,feature3...
FEATURES=$3
if [ -n "$FEATURES" ]; then
FEATURES="--features ${FEATURES}"
fi

PROFILE=${PROFILE:-production}
ARTIFACTS=/artifacts/$BIN
Expand All @@ -17,7 +22,7 @@ echo "Artifacts will be copied into $ARTIFACTS"
mkdir -p "$ARTIFACTS"

git log --pretty=oneline -n 1
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE $FEATURES

echo "Artifact target: $ARTIFACTS"

Expand Down
7 changes: 6 additions & 1 deletion .github/scripts/release/build-macos-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ PROFILE=${PROFILE:-production}
# write, so make it relative to github workspace.
ARTIFACTS=$GITHUB_WORKSPACE/artifacts/$BIN
VERSION=$(git tag -l --contains HEAD | grep -E "^v.*")
# must be given as feature1,feature2,feature3...
FEATURES=$3
if [ -n "$FEATURES" ]; then
FEATURES="--features ${FEATURES}"
fi

echo "Artifacts will be copied into $ARTIFACTS"
mkdir -p "$ARTIFACTS"

git log --pretty=oneline -n 1
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE
time cargo build --profile $PROFILE --locked --verbose --bin $BIN --package $PACKAGE $FEATURES

echo "Artifact target: $ARTIFACTS"

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,29 @@ jobs:
echo "PRDOC_EXTRA_ARGS=--max-bump minor" >> $GITHUB_ENV

- name: Echo Skip
if: ${{ contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
run: echo "Skipping this PR because it is labeled as R0-silent."
if: ${{ contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
run: echo "Skipping this PR because it is labeled as R0-no-crate-publish-required."

- name: Rust Cache
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
with:
cache-on-failure: true

- name: Rust compilation prerequisites
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
run: |
rustup default $TOOLCHAIN
rustup target add wasm32-unknown-unknown --toolchain $TOOLCHAIN
rustup component add rust-src --toolchain $TOOLCHAIN

- name: Install parity-publish
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
# Set the target dir to cache the build.
run: CARGO_TARGET_DIR=./target/ cargo install [email protected] --locked -q

- name: Get original PR number
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
shell: bash
env:
PR_TITLE: ${{ github.event.pull_request.title }}
Expand All @@ -108,7 +108,7 @@ jobs:
echo "PR_NUMBER=$original_pr_number" >> $GITHUB_ENV

- name: Check semver
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-no-crate-publish-required') }}
env:
PRDOC_EXTRA_ARGS: ${{ env.PRDOC_EXTRA_ARGS }}
PR: ${{ env.PR_NUMBER }}
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/release-20_build-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
build-polkadot-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot", "polkadot-prepare-worker", "polkadot-execute-worker"]'
package: polkadot
Expand All @@ -69,7 +69,7 @@ jobs:
build-polkadot-parachain-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-parachain' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-parachain"]'
package: "polkadot-parachain-bin"
Expand All @@ -91,12 +91,13 @@ jobs:
build-polkadot-omni-node-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-omni-node' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-omni-node"]'
package: "polkadot-omni-node"
release_tag: ${{ needs.validate-inputs.outputs.release_tag }}
target: x86_64-unknown-linux-gnu
features: runtime-benchmarks
secrets:
PGP_KMS_KEY: ${{ secrets.PGP_KMS_KEY }}
PGP_KMS_HASH: ${{ secrets.PGP_KMS_HASH }}
Expand All @@ -113,7 +114,7 @@ jobs:
build-frame-omni-bencher-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'frame-omni-bencher' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["frame-omni-bencher"]'
package: "frame-omni-bencher"
Expand All @@ -135,7 +136,7 @@ jobs:
build-chain-spec-builder-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'chain-spec-builder' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["chain-spec-builder"]'
package: staging-chain-spec-builder
Expand All @@ -157,7 +158,7 @@ jobs:
build-polkadot-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot", "polkadot-prepare-worker", "polkadot-execute-worker"]'
package: polkadot
Expand All @@ -179,7 +180,7 @@ jobs:
build-polkadot-parachain-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-parachain' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-parachain"]'
package: polkadot-parachain-bin
Expand All @@ -201,12 +202,13 @@ jobs:
build-polkadot-omni-node-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'polkadot-omni-node' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["polkadot-omni-node"]'
package: polkadot-omni-node
release_tag: ${{ needs.validate-inputs.outputs.release_tag }}
target: aarch64-apple-darwin
features: runtime-benchmarks
secrets:
PGP_KMS_KEY: ${{ secrets.PGP_KMS_KEY }}
PGP_KMS_HASH: ${{ secrets.PGP_KMS_HASH }}
Expand All @@ -223,7 +225,7 @@ jobs:
build-frame-omni-bencher-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'frame-omni-bencher' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["frame-omni-bencher"]'
package: frame-omni-bencher
Expand All @@ -245,7 +247,7 @@ jobs:
build-chain-spec-builder-macos-binary:
needs: [validate-inputs]
if: ${{ inputs.binary == 'chain-spec-builder' || inputs.binary == 'all' }}
uses: "./.github/workflows/release-reusable-rc-buid.yml"
uses: "./.github/workflows/release-reusable-rc-build.yml"
with:
binary: '["chain-spec-builder"]'
package: staging-chain-spec-builder
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
jobs:
check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [ check-synchronization ]
Expand All @@ -43,7 +45,7 @@ jobs:
needs: [ validate-inputs ]
uses: "./.github/workflows/release-srtool.yml"
with:
excluded_runtimes: "asset-hub-rococo bridge-hub-rococo coretime-rococo people-rococo rococo rococo-parachain substrate-test bp cumulus-test kitchensink minimal-template parachain-template penpal polkadot-test seedling shell frame-try sp solochain-template polkadot-sdk-docs-first"
excluded_runtimes: "asset-hub-rococo bridge-hub-rococo coretime-rococo people-rococo rococo rococo-parachain substrate-test bp cumulus-test kitchensink minimal-template parachain-template penpal polkadot-test seedling shell frame-try sp solochain-template polkadot-sdk-docs-first pallet-staking-async-parachain pallet-staking-async-rc frame-storage-access-test yet-another-parachain"
build_opts: "--features on-chain-release-build"
profile: production
permissions:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-31_promote-rc-to-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:

check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [ check-synchronization ]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-40_publish-deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
jobs:
check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [check-synchronization]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-50_publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ env:
jobs:
check-synchronization:
uses: paritytech-release/sync-workflows/.github/workflows/check-synchronization.yml@main
secrets:
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }}

validate-inputs:
needs: [check-synchronization]
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/release-99_notif-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
channel:
# Internal
# Internal
- name: "RelEng: Polkadot Release Coordination"
room: '!cqAmzdIcbOFwrdrubV:parity.io'
pre-release: true
Expand All @@ -22,7 +22,7 @@ jobs:
room: '!EoIhaKfGPmFOBrNSHT:web3.foundation'
pre-release: true

# Public
# Public
- name: '#polkadotvalidatorlounge:web3.foundation'
room: '!NZrbtteFeqYKCUGQtr:matrix.parity.io'
pre-releases: false
Expand All @@ -34,6 +34,20 @@ jobs:
pre-releases: false

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}

- name: Extract node version
id: extract_version
run: |
. ./.github/scripts/common/lib.sh

version=v$(get_polkadot_node_version_from_code)
echo "Extracted node version: $version"
echo "node_version=$version" >> $GITHUB_OUTPUT

- name: Matrix notification to ${{ matrix.channel.name }}
if: github.event.release.prerelease == false || matrix.channel.pre-release
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3
Expand All @@ -45,6 +59,7 @@ jobs:
@room

A new node release has been ${{github.event.action}} in **${{github.event.repository.full_name}}:**<br/>
Release version: [${{github.event.release.tag_name}}](${{github.event.release.html_url}})
Release version: [${{github.event.release.tag_name}}](${{github.event.release.html_url}})<br/>
Node version: ${{ steps.extract_version.outputs.node_version }}

-----
8 changes: 6 additions & 2 deletions .github/workflows/release-build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
required: true
default: "release"
description: "The profile to use for the binary build"
features:
required: false
type: string
description: "Features to enable when building the binary (must be a list of comma-separated features)"

jobs:

Expand Down Expand Up @@ -63,10 +67,10 @@ jobs:
if [ "${{ inputs.binary }}" = "polkadot" ]; then
for binary in polkadot polkadot-prepare-worker polkadot-execute-worker; do
echo "Building $binary..."
./.github/scripts/release/build-linux-release.sh $binary ${{ inputs.package }} "${PROFILE}"
./.github/scripts/release/build-linux-release.sh $binary ${{ inputs.package }} "${PROFILE}" ${{ inputs.features }}
done
else
./.github/scripts/release/build-linux-release.sh ${{ inputs.binary }} ${{ inputs.package }} "${PROFILE}"
./.github/scripts/release/build-linux-release.sh ${{ inputs.binary }} ${{ inputs.package }} "${PROFILE}" ${{ inputs.features }}
fi

- name: Upload ${{ inputs.binary }} artifacts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ on:
required: true
type: string

features:
description: Features to be enabled when building the binary (must be a list of comma-separated features)
required: false
type: string

secrets:
PGP_KMS_KEY:
required: true
Expand Down Expand Up @@ -82,7 +87,7 @@ jobs:
- name: Install pgpkkms
run: |
# Install pgpkms that is used to sign built artifacts
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@e7f806f99e9be5c52f0b4a536b7d4ef9c3e695ed"
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@e7f806f99e9be5c52f0b4a536b7d4ef9c3e695ed"
which pgpkms

- name: Checkout sources
Expand All @@ -101,7 +106,7 @@ jobs:
- name: Build binary
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}" #avoid "detected dubious ownership" error
./.github/scripts/release/build-linux-release.sh ${{ matrix.binaries }} ${{ inputs.package }}
./.github/scripts/release/build-linux-release.sh ${{ matrix.binaries }} ${{ inputs.package }} ${{ inputs.features }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
Expand Down Expand Up @@ -204,7 +209,7 @@ jobs:
- name: Install pgpkkms
run: |
# Install pgpkms that is used to sign built artifacts
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@e7f806f99e9be5c52f0b4a536b7d4ef9c3e695ed"
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@e7f806f99e9be5c52f0b4a536b7d4ef9c3e695ed" --break-system-packages

- name: Import gpg keys
shell: bash
Expand All @@ -216,7 +221,7 @@ jobs:
- name: Build binary
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}" #avoid "detected dubious ownership" error
./.github/scripts/release/build-macos-release.sh ${{ matrix.binaries }} ${{ inputs.package }}
./.github/scripts/release/build-macos-release.sh ${{ matrix.binaries }} ${{ inputs.package }} ${{ inputs.features }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
chain: ${{ matrix.chain }}
runtime_dir: ${{ matrix.runtime_dir }}
profile: ${{ inputs.profile }}
tag: "1.84.1"

- name: Summary
run: |
Expand Down
Loading