-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
6,003 additions
and
3,834 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,35 +32,20 @@ jobs: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Docker meta [kusama] | ||
id: meta_kusama | ||
- name: Docker meta | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: docker.io/mangatasolutions/mangata-node | ||
tags: type=semver,prefix=kusama-,pattern={{ version }} | ||
tags: type=semver,pattern={{ version }} | ||
flavor: | | ||
latest=false | ||
- name: Docker meta [rococo] | ||
id: meta_rococo | ||
uses: docker/[email protected] | ||
with: | ||
images: docker.io/mangatasolutions/mangata-node | ||
tags: type=semver,prefix=rococo-,pattern={{ version }} | ||
flavor: | | ||
latest=false | ||
- name: Tag and push image [kusama] | ||
uses: akhilerm/[email protected] | ||
with: | ||
src: docker.io/mangatasolutions/mangata-node:release-${{ needs.init.outputs.RELEASE_VERSION }} | ||
dst: ${{ steps.meta_kusama.outputs.tags }} | ||
|
||
- name: Tag and push image [rococo] | ||
- name: Tag and push image | ||
uses: akhilerm/[email protected] | ||
with: | ||
src: docker.io/mangatasolutions/mangata-node:release-${{ needs.init.outputs.RELEASE_VERSION }} | ||
dst: ${{ steps.meta_rococo.outputs.tags }} | ||
dst: ${{ steps.meta.outputs.tags }} | ||
|
||
- name: Export docker image | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -216,10 +216,10 @@ jobs: | |
key: cargo-try-runtime-${{ inputs.cache_version }}-${{ hashFiles('Cargo.lock') }} | ||
|
||
- name: Run try-runtime Rococo testnet | ||
run: cargo run --release --features=try-runtime,mangata-rococo try-runtime --chain=public-testnet --runtime=target/release/wbuild/mangata-rococo-runtime/mangata_rococo_runtime.wasm on-runtime-upgrade live --uri wss://roccoco-testnet-collator-01.mangatafinance.cloud:443 | ||
run: cargo run --release --features=try-runtime,mangata-rococo try-runtime --chain=rococo --runtime=target/release/wbuild/mangata-rococo-runtime/mangata_rococo_runtime.wasm on-runtime-upgrade live --uri wss://roccoco-testnet-collator-01.mangatafinance.cloud:443 | ||
|
||
- name: Run try-runtime Kusama Mainnet | ||
run: cargo run --release --features=try-runtime try-runtime --chain=kusama-mainnet --runtime=target/release/wbuild/mangata-kusama-runtime/mangata_kusama_runtime.wasm on-runtime-upgrade live --uri wss://prod-kusama-collator-01.mangatafinance.cloud:443 | ||
run: cargo run --release --features=try-runtime try-runtime --chain=kusama --runtime=target/release/wbuild/mangata-kusama-runtime/mangata_kusama_runtime.wasm on-runtime-upgrade live --uri wss://prod-kusama-collator-01.mangatafinance.cloud:443 | ||
|
||
- name: Fix permissions on self-hosted runner | ||
if: always() | ||
|
@@ -265,7 +265,7 @@ jobs: | |
run: | | ||
mkdir ./benchmarks && target/release/mangata-node benchmark pallet \ | ||
-l=info,xyk=error,collective-mangata=warn,bootstrap=warn \ | ||
--chain dev \ | ||
--chain kusama \ | ||
--execution wasm \ | ||
--wasm-execution compiled \ | ||
--pallet '*' \ | ||
|
@@ -277,17 +277,16 @@ jobs: | |
- name: Run block & extrinsic overhead benchmarks | ||
run: | | ||
target/release/mangata-node benchmark overhead --execution native --chain dev -lblock_builder=debug --max-ext-per-block 50000 --base-path . | ||
target/release/mangata-node benchmark overhead --execution native --chain kusama-local -lblock_builder=debug --max-ext-per-block 50000 --base-path . | ||
cp block_weights.rs extrinsic_weights.rs ./benchmarks | ||
- name: Fix permissions on self-hosted runner | ||
if: always() | ||
run: chown -R 1004:1005 $GITHUB_WORKSPACE | ||
|
||
- name: Upload logs and docker images to GitHub | ||
- name: Upload logs and docker images to GitHub | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'full-benchmarks') }} | ||
uses: actions/[email protected] | ||
with: | ||
name: benchmarks | ||
path: ./benchmarks | ||
|
||
path: ./benchmarks |
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
Oops, something went wrong.