-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ankan/staking-migrate-currency-to-fungible-2
- Loading branch information
Showing
261 changed files
with
11,812 additions
and
3,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ jobs: | |
- name: pack artifacts | ||
run: | | ||
mkdir -p ./artifacts | ||
VERSION="${{ needs.preflight.outputs.SOURCE_REF_NAME }}" # will be tag or branch name | ||
VERSION="${{ needs.preflight.outputs.SOURCE_REF_SLUG }}" # will be tag or branch name | ||
mv ./target/testnet/polkadot ./artifacts/. | ||
mv ./target/testnet/polkadot-prepare-worker ./artifacts/. | ||
mv ./target/testnet/polkadot-execute-worker ./artifacts/. | ||
|
@@ -62,7 +62,7 @@ jobs: | |
sha256sum polkadot | tee polkadot.sha256 | ||
shasum -c polkadot.sha256 | ||
cd ../ | ||
EXTRATAG="${{ needs.preflight.outputs.SOURCE_REF_NAME }}-${COMMIT_SHA}" | ||
EXTRATAG="${{ needs.preflight.outputs.SOURCE_REF_SLUG }}-${COMMIT_SHA}" | ||
echo "Polkadot version = ${VERSION} (EXTRATAG = ${EXTRATAG})" | ||
echo -n ${VERSION} > ./artifacts/VERSION | ||
echo -n ${EXTRATAG} > ./artifacts/EXTRATAG | ||
|
@@ -77,7 +77,7 @@ jobs: | |
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -103,15 +103,15 @@ jobs: | |
mkdir -p ./artifacts | ||
mv ./target/release/polkadot-parachain ./artifacts/. | ||
echo "___The VERSION is either a tag name or the curent branch if triggered not by a tag___" | ||
echo ${{ needs.preflight.outputs.SOURCE_REF_NAME }} | tee ./artifacts/VERSION | ||
echo ${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | tee ./artifacts/VERSION | ||
- name: tar | ||
run: tar -cvf artifacts.tar artifacts | ||
|
||
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -147,7 +147,7 @@ jobs: | |
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -172,8 +172,8 @@ jobs: | |
mkdir -p ./artifacts | ||
mv ./target/testnet/adder-collator ./artifacts/. | ||
mv ./target/testnet/undying-collator ./artifacts/. | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_NAME }}" > ./artifacts/VERSION | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_NAME }}-${COMMIT_SHA}" > ./artifacts/EXTRATAG | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_SLUG }}" > ./artifacts/VERSION | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_SLUG }}-${COMMIT_SHA}" > ./artifacts/EXTRATAG | ||
echo "adder-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" | ||
echo "undying-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" | ||
cp -r ./docker/* ./artifacts | ||
|
@@ -184,7 +184,7 @@ jobs: | |
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -209,8 +209,8 @@ jobs: | |
mv ./target/testnet/malus ./artifacts/. | ||
mv ./target/testnet/polkadot-execute-worker ./artifacts/. | ||
mv ./target/testnet/polkadot-prepare-worker ./artifacts/. | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_NAME }}" > ./artifacts/VERSION | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_NAME }}-${COMMIT_SHA}" > ./artifacts/EXTRATAG | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_SLUG }}" > ./artifacts/VERSION | ||
echo -n "${{ needs.preflight.outputs.SOURCE_REF_SLUG }}-${COMMIT_SHA}" > ./artifacts/EXTRATAG | ||
echo "polkadot-test-malus = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" | ||
cp -r ./docker/* ./artifacts | ||
|
@@ -220,7 +220,7 @@ jobs: | |
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -246,6 +246,7 @@ jobs: | |
WASM_BUILD_NO_COLOR=1 forklift cargo build --locked --release -p staging-node-cli | ||
ls -la target/release/ | ||
- name: pack artifacts | ||
shell: bash | ||
run: | | ||
mv target/release/substrate-node ./artifacts/substrate/substrate | ||
echo -n "Substrate version = " | ||
|
@@ -264,7 +265,7 @@ jobs: | |
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -294,7 +295,7 @@ jobs: | |
- name: upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: ${{ github.job }}-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
path: artifacts.tar | ||
retention-days: 1 | ||
|
||
|
@@ -313,7 +314,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-test-parachain-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-test-parachain-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
|
||
- name: tar | ||
run: tar -xvf artifacts.tar | ||
|
@@ -337,7 +338,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-linux-stable-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-linux-stable-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
|
||
- name: tar | ||
run: tar -xvf artifacts.tar | ||
|
@@ -361,7 +362,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-test-collators-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-test-collators-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
|
||
- name: tar | ||
run: tar -xvf artifacts.tar | ||
|
@@ -385,7 +386,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-malus-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-malus-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
|
||
- name: tar | ||
run: tar -xvf artifacts.tar | ||
|
@@ -409,7 +410,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-linux-substrate-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-linux-substrate-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
|
||
- name: tar | ||
run: tar -xvf artifacts.tar | ||
|
@@ -441,23 +442,23 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-linux-stable-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-linux-stable-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
- name: tar | ||
run: | | ||
tar -xvf artifacts.tar | ||
rm artifacts.tar | ||
- uses: actions/[email protected] | ||
with: | ||
name: build-linux-stable-cumulus-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-linux-stable-cumulus-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
- name: tar | ||
run: | | ||
tar -xvf artifacts.tar | ||
rm artifacts.tar | ||
- uses: actions/[email protected] | ||
with: | ||
name: prepare-bridges-zombienet-artifacts-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: prepare-bridges-zombienet-artifacts-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
- name: tar | ||
run: | | ||
tar -xvf artifacts.tar | ||
|
@@ -482,7 +483,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: build-linux-stable-cumulus-${{ needs.preflight.outputs.SOURCE_REF_NAME }} | ||
name: build-linux-stable-cumulus-${{ needs.preflight.outputs.SOURCE_REF_SLUG }} | ||
|
||
- name: tar | ||
run: tar -xvf artifacts.tar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,7 @@ jobs: | |
- name: install parity-publish | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }} | ||
# Set the target dir to cache the build. | ||
run: CARGO_TARGET_DIR=./target/ cargo install [email protected].3 --locked -q | ||
run: CARGO_TARGET_DIR=./target/ cargo install [email protected].4 --locked -q | ||
|
||
- name: check semver | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'R0-silent') }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,12 +26,14 @@ jobs: | |
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 | ||
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7 | ||
with: | ||
cache-on-failure: true | ||
|
||
- name: install parity-publish | ||
run: cargo install [email protected] --locked -q | ||
run: | | ||
rustup override set 1.82.0 | ||
cargo install [email protected] --locked -q | ||
- name: parity-publish update plan | ||
run: parity-publish --color always plan --skip-check --prdoc prdoc/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,12 @@ jobs: | |
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 | ||
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7 | ||
with: | ||
cache-on-failure: true | ||
|
||
- name: install parity-publish | ||
run: cargo install [email protected].3 --locked -q | ||
run: cargo install [email protected].4 --locked -q | ||
|
||
- name: parity-publish check | ||
run: parity-publish --color always check --allow-unpublished |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,12 @@ jobs: | |
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 | ||
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7 | ||
with: | ||
cache-on-failure: true | ||
|
||
- name: install parity-publish | ||
run: cargo install [email protected].3 --locked -q | ||
run: cargo install [email protected].4 --locked -q | ||
|
||
- name: parity-publish claim | ||
env: | ||
|
Oops, something went wrong.