Skip to content

Commit

Permalink
Merge branch 'master' into backport-tests-for-claim-assets
Browse files Browse the repository at this point in the history
  • Loading branch information
programskillforverification authored Jul 6, 2024
2 parents b55758c + 221eddc commit 2f8822b
Show file tree
Hide file tree
Showing 107 changed files with 4,493 additions and 1,399 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/checks-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# However, env variables don't work for forks: https://github.com/orgs/community/discussions/44322
# This workaround sets the container image for each job using 'set-image' job output.
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
run: cat .github/env >> $GITHUB_OUTPUT
fmt:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -40,7 +40,7 @@ jobs:
run: cargo +nightly fmt --all -- --check
check-dependency-rules:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: check dependency rules
Expand All @@ -49,7 +49,7 @@ jobs:
../.gitlab/ensure-deps.sh
check-rust-feature-propagation:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -65,7 +65,7 @@ jobs:
time zepter run check
test-rust-features:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -75,7 +75,7 @@ jobs:
run: bash .gitlab/rust-features.sh .
check-toml-format:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand All @@ -87,7 +87,7 @@ jobs:
echo "Please run `taplo format --config .config/taplo.toml` to fix any toml formatting issues"
check-workspace:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.0 (22. Sep 2023)
- name: install python deps
Expand All @@ -104,7 +104,7 @@ jobs:
run: python3 .github/scripts/deny-git-deps.py .
check-markdown:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -127,7 +127,7 @@ jobs:
markdownlint --config "$CONFIG" --ignore target .
check-umbrella:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/command-bench-all.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Bench All

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand Down Expand Up @@ -51,9 +51,8 @@ on:
- people-rococo
- people-westend


jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/command-bench-overhead.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Bench Overhead

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand Down Expand Up @@ -31,7 +31,7 @@ on:
- cumulus

jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/command-bench.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Bench

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand Down Expand Up @@ -76,9 +76,8 @@ on:
- starters
- testing


jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/command-fmt.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Command FMT

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
required: true

jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand All @@ -20,6 +20,7 @@ jobs:
cmd-fmt:
needs: [set-image]
runs-on: ubuntu-latest
timeout-minutes: 20
container:
image: ${{ needs.set-image.outputs.IMAGE }}
steps:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/command-update-ui.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Command Update UI

on:
workflow_dispatch:
on:
workflow_dispatch:
inputs:
pr:
description: Number of the Pull Request
Expand All @@ -11,7 +11,7 @@ on:
required: false

jobs:
set-image:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
Expand All @@ -23,6 +23,7 @@ jobs:
cmd-update-ui:
needs: [set-image]
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 90
container:
image: ${{ needs.set-image.outputs.IMAGE }}
steps:
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 @@ -37,7 +37,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand All @@ -58,7 +58,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand All @@ -53,7 +53,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
continue-on-error: true # this rarely triggers in practice
Expand All @@ -78,7 +78,7 @@ jobs:
needs: [set-image, changes]
if: ${{ needs.changes.outputs.rust }}
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
timeout-minutes: 60
container:
image: ${{ needs.set-image.outputs.IMAGE }}
env:
Expand Down
24 changes: 24 additions & 0 deletions .gitlab/pipeline/zombienet/cumulus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,27 @@ zombienet-cumulus-0007-full_node_warp_sync:
--local-dir="${LOCAL_DIR}"
--concurrency=1
--test="0007-full_node_warp_sync.zndsl"

zombienet-cumulus-0008-elastic_authoring:
extends:
- .zombienet-cumulus-common
- .zombienet-refs
- .zombienet-before-script
- .zombienet-after-script
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
--local-dir="${LOCAL_DIR}"
--concurrency=1
--test="0008-elastic_authoring.zndsl"

zombienet-cumulus-0009-elastic_pov_recovery:
extends:
- .zombienet-cumulus-common
- .zombienet-refs
- .zombienet-before-script
- .zombienet-after-script
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
--local-dir="${LOCAL_DIR}"
--concurrency=1
--test="0009-elastic_pov_recovery.zndsl"
13 changes: 3 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cumulus/client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ futures = { workspace = true }
parking_lot = { workspace = true }
tracing = { workspace = true, default-features = true }
schnellru = { workspace = true }
tokio = { workspace = true, features = ["macros"] }

# Substrate
sc-client-api = { workspace = true, default-features = true }
sc-consensus = { workspace = true, default-features = true }
sc-consensus-aura = { workspace = true, default-features = true }
sc-consensus-babe = { workspace = true, default-features = true }
sc-consensus-slots = { workspace = true, default-features = true }
sc-utils = { workspace = true, default-features = true }
sc-telemetry = { workspace = true, default-features = true }
sp-api = { workspace = true, default-features = true }
sp-application-crypto = { workspace = true, default-features = true }
Expand Down
Loading

0 comments on commit 2f8822b

Please sign in to comment.