Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
240e20b
[stable2407] Backport #5713 (#5739)
paritytech-cmd-bot-polkadot-sdk[bot] Oct 7, 2024
3809977
[stable2407] Backport #3049 (#5734)
paritytech-cmd-bot-polkadot-sdk[bot] Oct 7, 2024
43daea1
Move prdocs to release folder
EgorPopelyaev Oct 8, 2024
977ff2a
Bump polkadot node version
EgorPopelyaev Oct 8, 2024
69c3190
Update plan
Morganamilo Oct 9, 2024
f72fe54
[stable2407] Backport Fix parity-publish (#5670) (#6019)
EgorPopelyaev Oct 10, 2024
88c3250
[stable2407] Backport docker fix to 2407 (#6017)
EgorPopelyaev Oct 11, 2024
47155f8
[stable2407] Backport #5913 (#6004)
paritytech-cmd-bot-polkadot-sdk[bot] Oct 15, 2024
fc62793
[stable2407] Backport #4803 (#6097)
paritytech-cmd-bot-polkadot-sdk[bot] Oct 17, 2024
fff69c3
[stable2407] Backport #5599 (#6068)
paritytech-cmd-bot-polkadot-sdk[bot] Oct 25, 2024
6d6aa61
[stable2407] Backport #6205 (#6238)
paritytech-cmd-bot-polkadot-sdk[bot] Nov 5, 2024
bab3fb5
[stable2407] Backport #6148 (#6232)
paritytech-cmd-bot-polkadot-sdk[bot] Nov 7, 2024
6f9c849
Bump node version
EgorPopelyaev Nov 7, 2024
fa0f15e
Move prdocs
EgorPopelyaev Nov 7, 2024
48bce85
Update plan
Morganamilo Nov 7, 2024
b386125
Apply plan
Morganamilo Nov 7, 2024
0e22c93
[stable2407] Backport #6417 (#6437)
paritytech-cmd-bot-polkadot-sdk[bot] Nov 12, 2024
b5eb098
[Release|CI/CD] Fix audiences changelog template (#6444)
EgorPopelyaev Nov 12, 2024
b98e0b3
[stable2407] Backport #6526 (#6530)
paritytech-cmd-bot-polkadot-sdk[bot] Nov 21, 2024
7041e2b
[stable2407] Backport #6645 (#6655)
paritytech-cmd-bot-polkadot-sdk[bot] Nov 27, 2024
f5245c8
[stable2407] Backport #6579 (#6634)
paritytech-cmd-bot-polkadot-sdk[bot] Nov 27, 2024
9ac3300
[stable2407] Backport #6603 (#6668)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 3, 2024
c29cf6e
Backport #5887 to `stable2407` (#6674)
s0me0ne-unkn0wn Dec 3, 2024
5405cdc
[stable2407] Backport #6031 (#6106)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 4, 2024
6604c1c
[stable2407] Backport #6080 (#6180)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 4, 2024
22601b2
[stable2407] Backport #6540 (#6591)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 4, 2024
fb7075d
[stable2407] Backport #6506 (#6657)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 4, 2024
37323c9
[stable2407] Backport #6459 (#6663)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 4, 2024
2be0d01
Bump polkadot node version
EgorPopelyaev Dec 4, 2024
fe4e09d
Move prdoxs to release folder
EgorPopelyaev Dec 4, 2024
9c8ad9b
Apply plan
Morganamilo Dec 9, 2024
ed1932e
Update Cargo.lock
EgorPopelyaev Dec 9, 2024
637f011
[stable2407] Backport #6690 (#6798)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 10, 2024
f2ada78
[stable2407] Backport #6729 (#6828)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 11, 2024
57794df
[stable2407] Backport #6662 (#6801)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 11, 2024
3fd8c60
[stable2407] Backport #5311 (#6804)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 11, 2024
f2081f6
[stable2407] Backport #6696 (#6839)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 11, 2024
fb9b95d
[stable2407] Backport #6864 (#6877)
paritytech-cmd-bot-polkadot-sdk[bot] Dec 18, 2024
826bb49
[stable2407] Backport #7050 (#7058)
paritytech-cmd-bot-polkadot-sdk[bot] Jan 8, 2025
92e4d83
[stable2407] Backport #7013 (#7015)
paritytech-cmd-bot-polkadot-sdk[bot] Jan 10, 2025
7e984b5
Switch to parity-large runners to be able to run on the github (#7113)
EgorPopelyaev Jan 10, 2025
dcbca59
Move prdocs to release folder
EgorPopelyaev Jan 10, 2025
08af329
Bump node_version
EgorPopelyaev Jan 10, 2025
77aa3e5
[stable2407] Backport #7116 (#7135)
paritytech-cmd-bot-polkadot-sdk[bot] Jan 13, 2025
83db0a1
Move prdoc to release folder
EgorPopelyaev Jan 13, 2025
c983de5
[stable2407] Backport #6807 (#7155)
paritytech-cmd-bot-polkadot-sdk[bot] Jan 15, 2025
6c1c8b9
[stable2407] Backport #6973 (#7159)
paritytech-cmd-bot-polkadot-sdk[bot] Jan 15, 2025
c980380
[stable2407] Backport #6971 (#7172)
paritytech-cmd-bot-polkadot-sdk[bot] Jan 15, 2025
6ae6bbc
Move prdocs to release folder
EgorPopelyaev Jan 15, 2025
39e71bd
Apply plan
EgorPopelyaev Jan 16, 2025
fd4b790
[stable2407] Backport #7365 (#7380)
paritytech-cmd-bot-polkadot-sdk[bot] Feb 5, 2025
dc31da0
[stable2407] Backport #7437 (#7465)
paritytech-cmd-bot-polkadot-sdk[bot] Feb 5, 2025
544b535
[stable2407] Backport #7446 (#7460)
paritytech-cmd-bot-polkadot-sdk[bot] Feb 5, 2025
5a543ef
Update plan
EgorPopelyaev Feb 6, 2025
5c40d27
Apply changes
EgorPopelyaev Feb 6, 2025
78e15d1
Move prdocs to release folder
EgorPopelyaev Feb 6, 2025
7642d6b
Bump node version
EgorPopelyaev Feb 6, 2025
f0ddc6f
Backport 1.12.0: check-weight: Disable total pov size check for manda…
skunert May 27, 2024
5067508
Implement `CheckMetadataHash` extension (#4274) (#4619)
bkchr May 29, 2024
b7be8b2
init bifrost-polkadot-base
dnjscksdn98 Oct 19, 2023
852526f
fix: add legacy transferrable balance to currency trait (#1)
dnjscksdn98 Dec 20, 2023
4db553c
wasm-builder(cherry-pick): Also set mcpu for c deps (https://github.c…
dnjscksdn98 Jul 22, 2024
3dc203c
update Cargo.lock
dnjscksdn98 Sep 20, 2024
d78fc55
feat: add a getter function to retrieve keystore raw value
dnjscksdn98 Jan 20, 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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/scripts/common/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ fetch_release_artifacts() {
# - GITHUB_TOKEN
# - REPO in the form paritytech/polkadot
fetch_release_artifacts_from_s3() {
BINARY=$1
echo "Version : $VERSION"
echo "Repo : $REPO"
echo "Binary : $BINARY"
Expand Down Expand Up @@ -461,7 +462,7 @@ function get_polkadot_node_version_from_code() {

validate_stable_tag() {
tag="$1"
pattern='^stable[0-9]+(-[0-9]+)?$'
pattern="^stable[0-9]{4}(-[0-9]+)?(-rc[0-9]+)?$"

if [[ $tag =~ $pattern ]]; then
echo $tag
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-runtime-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: cat .github/env >> $GITHUB_OUTPUT
# rococo and westend are disabled for now (no access to parity-chains.parity.io)
check-runtime-migration:
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 40
needs: [set-image]
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: install parity-publish
# Set the target dir to cache the build.
run: CARGO_TARGET_DIR=./target/ cargo install parity-publish@0.8.0 -q
run: CARGO_TARGET_DIR=./target/ cargo install parity-publish@0.8.0 --locked -q

- name: check semver
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/command-update-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: cat .github/env >> $GITHUB_OUTPUT
cmd-update-ui:
needs: [set-image]
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 90
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-check-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.8.0
run: cargo install parity-publish@0.8.0 --locked -q

- name: parity-publish check
run: parity-publish --color always check --allow-unpublished
2 changes: 1 addition & 1 deletion .github/workflows/publish-claim-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.8.0
run: cargo install parity-publish@0.8.0 --locked -q

- name: parity-publish claim
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

- name: Prepare tooling
run: |
URL=https://github.com/chevdor/tera-cli/releases/download/v0.2.4/tera-cli_linux_amd64.deb
URL=https://github.com/chevdor/tera-cli/releases/download/v0.4.0/tera-cli_linux_amd64.deb
wget $URL -O tera.deb
sudo dpkg -i tera.deb

Expand Down
74 changes: 54 additions & 20 deletions .github/workflows/release-50_publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,39 +75,43 @@ env:
# EVENT_ACTION: ${{ github.event.action }}
EVENT_NAME: ${{ github.event_name }}
IMAGE_TYPE: ${{ inputs.image_type }}
VERSION: ${{ inputs.version }}

jobs:
validate-inputs:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.validate_inputs.outputs.VERSION }}
release_id: ${{ steps.validate_inputs.outputs.RELEASE_ID }}
stable_tag: ${{ steps.validate_inputs.outputs.stable_tag }}

steps:
- name: Checkout sources
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Validate inputs
id: validate_inputs
run: |
. ./.github/scripts/common/lib.sh

VERSION=$(filter_version_from_input "${{ inputs.version }}")
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT

RELEASE_ID=$(check_release_id "${{ inputs.release_id }}")
echo "RELEASE_ID=${RELEASE_ID}" >> $GITHUB_ENV
echo "RELEASE_ID=${RELEASE_ID}" >> $GITHUB_OUTPUT

echo "Release ID: $RELEASE_ID"

STABLE_TAG=$(validate_stable_tag ${{ inputs.stable_tag }})
echo "stable_tag=${STABLE_TAG}" >> $GITHUB_OUTPUT

fetch-artifacts: # this job will be triggered for the polkadot-parachain rc and release or polkadot rc image build
if: ${{ inputs.binary == 'polkadot-parachain' || inputs.binary == 'chain-spec-builder' || inputs.image_type == 'rc' }}
runs-on: ubuntu-latest
needs: [validate-inputs]

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

#TODO: this step will be needed when automated triggering will work
#this step runs only if the workflow is triggered automatically when new release is published
Expand All @@ -129,14 +133,23 @@ jobs:
run: |
. ./.github/scripts/common/lib.sh

fetch_release_artifacts_from_s3
VERSION="${{ needs.validate-inputs.outputs.VERSION }}"
if [[ ${{ inputs.binary }} == 'polkadot' ]]; then
bins=(polkadot polkadot-prepare-worker polkadot-execute-worker)
for bin in "${bins[@]}"; do
fetch_release_artifacts_from_s3 $bin
done
else
fetch_release_artifacts_from_s3 $BINARY
fi

- name: Fetch chain-spec-builder rc artifacts or release artifacts based on release id
#this step runs only if the workflow is triggered manually and only for chain-spec-builder
if: ${{ env.EVENT_NAME == 'workflow_dispatch' && inputs.binary == 'chain-spec-builder' }}
run: |
. ./.github/scripts/common/lib.sh

RELEASE_ID="${{ needs.validate-inputs.outputs.RELEASE_ID }}"
fetch_release_artifacts

- name: Upload artifacts
Expand All @@ -153,7 +166,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Download artifacts
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
Expand Down Expand Up @@ -181,32 +194,45 @@ jobs:
run: |
. ./.github/scripts/common/lib.sh

RELEASE_ID=$(check_release_id "${{ inputs.release_id }}")
release=release-$RELEASE_ID && \
echo "release=${release}" >> $GITHUB_OUTPUT
echo "release=${{ needs.validate-inputs.outputs.stable_tag }}" >> $GITHUB_OUTPUT

commit=$(git rev-parse --short HEAD) && \
echo "commit=${commit}" >> $GITHUB_OUTPUT

tag=$(git name-rev --tags --name-only $(git rev-parse HEAD)) && \
[ "${tag}" != "undefined" ] && echo "tag=${tag}" >> $GITHUB_OUTPUT || \
echo "No tag, doing without"
echo "tag=${{ needs.validate-inputs.outputs.version }}" >> $GITHUB_OUTPUT

- name: Fetch release tags
working-directory: release-artifacts
if: ${{ env.IMAGE_TYPE == 'release'}}
id: fetch_release_refs
run: |
chmod a+rx $BINARY
[[ $BINARY != 'chain-spec-builder' ]] && VERSION=$(./$BINARY --version | awk '{ print $2 }' )

release=$( echo $VERSION | cut -f1 -d- )
if [[ $BINARY != 'chain-spec-builder' ]]; then
VERSION=$(./$BINARY --version | awk '{ print $2 }' )
release=$( echo $VERSION | cut -f1 -d- )
else
release=$(echo ${{ needs.validate-inputs.outputs.VERSION }} | sed 's/^v//')
fi

echo "tag=latest" >> $GITHUB_OUTPUT
echo "release=${release}" >> $GITHUB_OUTPUT
echo "stable=${{ needs.validate-inputs.outputs.stable_tag }}" >> $GITHUB_OUTPUT

- name: Build Injected Container image for polkadot rc or chain-spec-builder
if: ${{ env.BINARY == 'polkadot' || env.BINARY == 'chain-spec-builder' }}
- name: Build Injected Container image for polkadot rc
if: ${{ env.BINARY == 'polkadot' }}
env:
ARTIFACTS_FOLDER: release-artifacts
IMAGE_NAME: ${{ env.BINARY }}
OWNER: ${{ env.DOCKER_OWNER }}
TAGS: ${{ join(steps.fetch_rc_refs.outputs.*, ',') || join(steps.fetch_release_refs.outputs.*, ',') }}
run: |
ls -al
echo "Building container for $BINARY"
./docker/scripts/polkadot/build-injected.sh $ARTIFACTS_FOLDER

- name: Build Injected Container image chain-spec-builder
if: ${{ env.BINARY == 'chain-spec-builder' }}
env:
ARTIFACTS_FOLDER: release-artifacts
IMAGE_NAME: ${{ env.BINARY }}
Expand All @@ -233,8 +259,16 @@ jobs:
echo "Building container for $BINARY"
./docker/scripts/build-injected.sh

- name: Login to Dockerhub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
- name: Login to Dockerhub to publish polkadot
if: ${{ env.BINARY == 'polkadot' }}
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.POLKADOT_DOCKERHUB_USERNAME }}
password: ${{ secrets.POLKADOT_DOCKERHUB_TOKEN }}

- name: Login to Dockerhub to puiblish polkadot-parachain/chain-spec-builder
if: ${{ env.BINARY == 'polkadot-parachain' || env.BINARY == 'chain-spec-builder' }}
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.CUMULUS_DOCKERHUB_USERNAME }}
password: ${{ secrets.CUMULUS_DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -285,7 +319,7 @@ jobs:
environment: release
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-linux-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
test-linux-stable-int:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -57,7 +57,7 @@ jobs:
test-linux-stable-runtime-benchmarks:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
quick-benchmarks:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -52,7 +52,7 @@ jobs:
test-syscalls:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -77,7 +77,7 @@ jobs:
cargo-check-all-benches:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
runs-on: parity-large
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand Down
Loading