Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from Upstream #35

Merged
merged 115 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
49c0f33
fix substrate-node-template generation (#2050)
d-moos Nov 1, 2023
4f05f9a
Build workers for testing on demand (#2018)
eagr Nov 1, 2023
c66ae37
[FRAME] Short-circuit fungible self transfer (#2118)
ggwpez Nov 1, 2023
1b1fab0
[testnet] Add `AssetHubRococo` <-> `AssetHubWestend` asset bridging s…
bkontur Nov 1, 2023
fe9435d
Fix for failed pipeline `test-doc` (#2127)
bkontur Nov 2, 2023
9ff5088
Bandersnatch dependency update (#2114)
davxy Nov 2, 2023
8ff4898
Added `bridge-hub-westend-runtime` to the `short-benchmarks` pipeline…
bkontur Nov 2, 2023
10857d0
Make `ExecResult` encodable (#1809)
pmikolajczyk41 Nov 2, 2023
29b4bd4
impl Clone for `MemoryKeystore` (#2131)
yjhmelody Nov 2, 2023
7df0417
XCM MultiAssets: sort after reanchoring (#2129)
serban300 Nov 2, 2023
e1c033e
Use `Message Queue` as DMP and XCMP dispatch queue (#1246)
ggwpez Nov 2, 2023
15a3483
Create new trait for non-dedup storage decode (#1932)
0xmovses Nov 2, 2023
0d3c67d
[testnet] Allow governance to control fees for Rococo <> Westend brid…
svyatonik Nov 3, 2023
e998740
skip trigger for review bot on draft PRs (#2145)
Bullrich Nov 3, 2023
dca1423
substrate: sysinfo: Expose failed hardware requirements (#2144)
alexggh Nov 3, 2023
f6f4c5a
Update Kusama Parachains Bootnode (#2148)
lazam Nov 3, 2023
8dc41ba
Do not request blocks below the common number when syncing (#2045)
dmitry-markin Nov 3, 2023
d512b3f
Convert `SyncingEngine::run` to use `tokio::select!` instead of polli…
dmitry-markin Nov 3, 2023
8cfbee7
Add deprecation checklist document for Substrate (#1583)
juangirini Nov 3, 2023
cd2d5d2
Tracking/limiting memory allocator (#1192)
s0me0ne-unkn0wn Nov 3, 2023
ca5f105
`sc-block-builder`: Remove `BlockBuilderProvider` (#2099)
bkchr Nov 3, 2023
21fbc00
Identity pallet improvements (#2048)
georgepisaltu Nov 3, 2023
1c0b437
cumulus test runtime: remove `GenesisExt` (#2147)
michalkucharczyk Nov 4, 2023
8d4ae36
Speed up try runtime checks for pallet-bags-list (#2151)
Ank4n Nov 4, 2023
f84b897
Speed up nominator state checks in staking pallet (#2153)
Ank4n Nov 4, 2023
0c39cf0
Update bootnode lists (#2150)
BulatSaif Nov 5, 2023
c46a7db
Tracking allocator: mark `Spinlock::unlock()` as unsafe and provide a…
s0me0ne-unkn0wn Nov 5, 2023
8ba7a6a
`chain-spec`: getting ready for native-runtime-free world (#1256)
michalkucharczyk Nov 5, 2023
15beef2
Fix update-ui-tests.sh (#2161)
ggwpez Nov 5, 2023
f6ee478
[CI] Update deps (#2159)
ggwpez Nov 5, 2023
7b06e63
Get rid of `NetworkService` in `ChainSync` (#2143)
dmitry-markin Nov 6, 2023
305aefc
`serde_json`: bumped to 1.0.108 (#2168)
michalkucharczyk Nov 6, 2023
fb2dc6d
Add warning when peer_id is not available when building topology (#2140)
alexggh Nov 6, 2023
318e596
Add force remove vesting (#1982)
0xmovses Nov 6, 2023
4ac9c4a
rename benchmark (#2173)
0xmovses Nov 6, 2023
0570b6f
approval-voting improvement: include all tranche0 assignments in one …
sandreim Nov 6, 2023
15df7f5
minor: overseer availability-distribution message declaration update …
alindima Nov 6, 2023
32a9740
TryDecodeEntireState check for storage types and pallets (#1805)
PieWol Nov 6, 2023
c4211b6
Initialise on-chain `StorageVersion` for pallets added after genesis …
liamaharon Nov 7, 2023
f5e9827
zombienet_tests: Fix genesis error in 0006-parachains-max-tranche0.to…
alexggh Nov 7, 2023
295a848
mark pallet-asset-rate optional in polkadot-runtime-common (#2187)
xlc Nov 7, 2023
4caa3d8
docs: fix typos (#2193)
vuittont60 Nov 7, 2023
44c7a5e
Fix "slashaed" typo (#2205)
laboon Nov 7, 2023
8ebb5c3
Disable incoming light-client connections for minimal relay node (#2202)
skunert Nov 7, 2023
0524aa5
XCM builder pattern (#2107)
franciscoaguirre Nov 8, 2023
2e2a75f
[testnets][xcm-emulator] add bridge-hub-westend and hook it up to emu…
acatangiu Nov 8, 2023
640e385
feat(frame-support-procedural): add `automaticaly_derived` attr to `N…
benluelo Nov 8, 2023
9adb46c
Add `sudo::remove_key` (#2165)
ggwpez Nov 8, 2023
9673fbf
Adding gitspiegel-trigger workflow (#2135)
mutantcornholio Nov 8, 2023
1bc0885
validate-block: Fix `TrieCache` implementation (#2214)
bkchr Nov 8, 2023
5039095
Refactor candidate validation messages (#2219)
s0me0ne-unkn0wn Nov 8, 2023
ffa0e30
[xcm-emulator] Chains generic over Network & Integration tests restru…
NachoPal Nov 8, 2023
b8acc57
`sc-chain-spec`: add support for custom host functions (#2190)
michalkucharczyk Nov 8, 2023
eabf9fb
integrations-test: `build_genesis_storage` name fix (#2232)
michalkucharczyk Nov 8, 2023
69494ea
Add prospective-parachain subsystem to minimal-relay-node + QoL impro…
skunert Nov 8, 2023
37bb02e
Make PalletInfo fields public (#2231)
franciscoaguirre Nov 8, 2023
3f7c743
BridgeHub Runtimes: Change registration order of `MessageQueue` palle…
vgeddes Nov 8, 2023
e4f5f3c
Rococo: Build two versions of the wasm binary (#2229)
bkchr Nov 8, 2023
6a23c23
Add RadiumBlock Bootnodes for parachains (#2224)
radiumb Nov 8, 2023
d347d68
Remove unnecessary map_error (#2239)
KiChjang Nov 9, 2023
48ea86f
Add descriptions to all published crates (#2029)
ggwpez Nov 9, 2023
0abbd60
Add license to tracking-allocator and add staging-prefix (#2259)
Morganamilo Nov 9, 2023
e8029a7
Don't publish frame and deps (#2260)
Morganamilo Nov 9, 2023
b0d0fb3
sc-state-db: Keep track of `LAST_PRUNED` after warp syncing (#2228)
bkchr Nov 9, 2023
03ee44d
Add license to tracking-allocator and add staging-prefix (#2261)
Morganamilo Nov 9, 2023
64effd0
Contracts move fixtures to new crate (#2246)
pgherveou Nov 10, 2023
3f0383a
[pallet-message-queue] Implement impl_trait_for_tuples for QueuePause…
vgeddes Nov 10, 2023
84ddbaf
Improve `VersionedMigration` naming conventions (#2264)
liamaharon Nov 10, 2023
6b7be11
Contracts: Add XCM traits to interface with contracts (#2086)
pgherveou Nov 10, 2023
0c5dcca
Add `s` utility function to frame support (#2275)
olanod Nov 11, 2023
951bcce
Unify `ChainSync` actions under one enum (#2180)
dmitry-markin Nov 13, 2023
5f4ce80
PVF host: Make unavailable security features print a warning (#2244)
mrcnski Nov 13, 2023
604704a
wasm-builder: Optimize `rerun-if-changed` logic (#2282)
bkchr Nov 13, 2023
ebcf0a0
pallet-grandpa: Remove `GRANDPA_AUTHORITIES_KEY` (#2181)
bkchr Nov 13, 2023
60c77a2
Adds syntax for marking calls feeless (#1926)
gupnik Nov 13, 2023
29654a4
Skip zombienet CI job until PolkadotJS includes `SkipCheckIfFeeless` …
gupnik Nov 13, 2023
1825737
pallet-xcm: enhance `reserve_transfer_assets` to support remote reser…
acatangiu Nov 13, 2023
c7bd880
Add CI to claim crates (#2299)
Morganamilo Nov 13, 2023
f332d68
doc(client/cli/src/arg_enums.rs): fix typo ✍️ (#2298)
ahasna Nov 13, 2023
8d26379
review-bot: trigger only on review approvals (#2289)
Bullrich Nov 13, 2023
689b9d9
cumulus-pov-recovery: check pov_hash instead of reencoding data (#2287)
alindima Nov 14, 2023
b371c35
Fix `ecdsa_bls` verify in BEEFY primitives (#2066)
drskalman Nov 14, 2023
ae1bdcf
Fix `expect_pallet` benchmarks not relaying on hard-coded `frame_syst…
bkontur Nov 14, 2023
54ca4f1
Delete undecodable Westend Asset Hub `Balances::Hold` and `Nfts::Item…
liamaharon Nov 14, 2023
a393cfc
Add details in `--dev` cli flag documentation (#2305)
Hugo-Trentesaux Nov 14, 2023
39cc957
xcm-emulator: add Rococo<>Westend bridge and add tests for assets tra…
acatangiu Nov 14, 2023
7cfc233
PVF: fix detection of unshare-and-change-root security capability (#2…
mrcnski Nov 14, 2023
b70d418
Add environment to claim workflow (#2318)
Morganamilo Nov 14, 2023
cfe5e62
chainHead: Support multiple hashes for `chainHead_unpin` method (#2295)
lexnv Nov 14, 2023
cd38ccf
chainHead: Remove `chainHead_genesis` method (#2296)
lexnv Nov 14, 2023
7d735fc
Add simple collator election mechanism (#1340)
georgepisaltu Nov 14, 2023
1cd38c2
Contracts: Bump contracts rococo (#2286)
pgherveou Nov 14, 2023
3a87390
chainHead/tests: Fix clippy (#2325)
lexnv Nov 14, 2023
54f8428
change prepare worker to use fork instead of threads (#1685)
jpserrat Nov 14, 2023
31c38ce
statement-distribution: support inactive local validator in grid (#1571)
slumber Nov 14, 2023
fc12f43
add NodeFeatures field to HostConfiguration and runtime API (#2177)
alindima Nov 14, 2023
f517900
Contracts expose pallet-xcm (#1248)
pgherveou Nov 14, 2023
f536043
pallet-xcm: use XcmTeleportFilter for teleported fees in reserve tran…
acatangiu Nov 15, 2023
18165eb
Unify `ChainSync` actions under one enum (follow-up) (#2317)
dmitry-markin Nov 15, 2023
5b0622b
[CI] Prepare CI for Merge Queues (#2308)
alvicsam Nov 15, 2023
c79b234
Identity Deposits Relay to Parachain Migration (#1814)
joepetrowski Nov 15, 2023
0226b55
Add `collectives-westend` and `glutton-westend` runtimes (#2024)
seadanda Nov 15, 2023
824b782
xcm: SovereignPaidRemoteExporter: remove unused RefundSurplus instruc…
acatangiu Nov 15, 2023
f4bb17c
[testnet] Remove Wococo stuff from BridgeHubRococo/AssetHubRococo (#2…
bkontur Nov 15, 2023
ea4085a
frame-system: Add `last_runtime_upgrade_spec_version` (#2351)
bkchr Nov 15, 2023
5c441f3
merge from master
Nov 16, 2023
715bf3e
fix merge damage
Nov 21, 2023
afe0a62
fmt
Nov 22, 2023
7e866eb
fmt
Nov 22, 2023
b308a68
fmt
Nov 22, 2023
8ab07a7
change parachain template para id
Nov 22, 2023
1745236
fix tests
Nov 22, 2023
15da5e1
fix fee manager
Nov 22, 2023
6d77fcf
Merge branch 'snowbridge' into update-snowbridge-with-master
Nov 22, 2023
a667be1
fmt
Nov 22, 2023
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/build-and-attach-release-runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- { name: asset-hub-westend, package: asset-hub-westend-runtime, path: cumulus/parachains/runtimes/assets/asset-hub-westend }
- { name: bridge-hub-rococo, package: bridge-hub-rococo-runtime, path: cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo }
- { name: contracts-rococo, package: contracts-rococo-runtime, path: cumulus/parachains/runtimes/contracts/contracts-rococo }
- { name: collectives-westend, package: collectives-westend-runtime, path: cumulus/parachains/runtimes/collectives/collectives-westend }
- { name: glutton-westend, package: glutton-westend-runtime, path: cumulus/parachains/runtimes/glutton/glutton-westend }
build_config:
# Release build has logging disabled and no dev features
- { type: on-chain-release, opts: --features on-chain-release-build }
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ name: Check labels
on:
pull_request:
types: [labeled, opened, synchronize, unlabeled]
merge_group:

jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- name: Skip merge queue
if: ${{ contains(github.ref, 'gh-readonly-queue') }}
run: exit 0
- name: Pull image
env:
IMAGE: paritytech/ruled_labels:0.4.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Check licenses

on:
pull_request:
merge_group:

permissions:
packages: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- ".github/workflows/check-links.yml"
- ".config/lychee.toml"
types: [opened, synchronize, reopened, ready_for_review]
merge_group:

permissions:
packages: read
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Check Markdown
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:

permissions:
packages: read
Expand All @@ -23,8 +24,8 @@ jobs:

- name: Install tooling
run: |
npm install -g markdownlint-cli
markdownlint --version
npm install -g markdownlint-cli
markdownlint --version

- name: Check Markdown
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-prdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Check PRdoc
on:
pull_request:
types: [labeled, opened, synchronize, unlabeled]
merge_group:

env:
IMAGE: paritytech/prdoc:v0.0.5
Expand All @@ -17,6 +18,9 @@ jobs:
check-prdoc:
runs-on: ubuntu-latest
steps:
- name: Skip merge queue
if: ${{ contains(github.ref, 'gh-readonly-queue') }}
run: exit 0
- name: Pull image
run: |
echo "Pulling $IMAGE"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:

jobs:
check-publish:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/claim-crates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Claim Crates

on:
push:
branches:
- master

jobs:
claim-crates:
runs-on: ubuntu-latest
environment: master
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0

- name: Rust Cache
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
with:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.2.0

- name: parity-publish claim
env:
PARITY_PUBLISH_CRATESIO_TOKEN: ${{ secrets.CRATESIO_PUBLISH_CLAIM_TOKEN }}
run: parity-publish claim
1 change: 1 addition & 0 deletions .github/workflows/fmt-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:

jobs:
quick_check:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gitspiegel-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- unlocked
- ready_for_review
- reopened
merge_group:

jobs:
sync:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ on:
- ready_for_review
- converted_to_draft
pull_request_review:
merge_group:

jobs:
pr-custom-review:
runs-on: ubuntu-latest
steps:
- name: Skip merge queue
if: ${{ contains(github.ref, 'gh-readonly-queue') }}
run: exit 0
- name: Skip if pull request is in Draft
# `if: github.event.pull_request.draft == true` should be kept here, at
# the step level, rather than at the job level. The latter is not
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/review-trigger.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Review-Trigger

on:
on:
pull_request_target:
types:
- opened
Expand All @@ -10,13 +10,18 @@ on:
- review_request_removed
- ready_for_review
pull_request_review:
merge_group:

jobs:
trigger-review-bot:
if: github.event.pull_request.draft != true
# (It is not a draft) && (it is not a review || it is an approving review)
if: ${{ github.event.pull_request.draft != true && (github.event_name != 'pull_request_review' || (github.event.review && github.event.review.state == 'APPROVED')) }}
runs-on: ubuntu-latest
name: trigger review bot
steps:
- name: Skip merge queue
if: ${{ contains(github.ref, 'gh-readonly-queue') }}
run: exit 0
- name: Get PR number
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
Expand Down
8 changes: 7 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ variables:
NEXTEST_FAILURE_OUTPUT: immediate-final
NEXTEST_SUCCESS_OUTPUT: final
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.79"
DOCKER_IMAGES_VERSION: "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}"
DOCKER_IMAGES_VERSION: "${CI_COMMIT_SHA}"

default:
retry:
Expand Down Expand Up @@ -136,11 +136,13 @@ default:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1

.test-pr-refs:
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues

# handle the specific case where benches could store incorrect bench data because of the downstream staging runs
# exclude cargo-check-benches from such runs
Expand All @@ -152,6 +154,7 @@ default:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1

.test-refs-no-trigger:
Expand All @@ -162,6 +165,7 @@ default:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/

Expand All @@ -172,6 +176,7 @@ default:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues

.publish-refs:
rules:
Expand All @@ -192,6 +197,7 @@ default:
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ # merge queues

.zombienet-refs:
extends: .build-refs
Expand Down
13 changes: 13 additions & 0 deletions .gitlab/pipeline/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,19 @@ check-runtime-migration-contracts-rococo:
WASM: "contracts_rococo_runtime.compact.compressed.wasm"
URI: "wss://rococo-contracts-rpc.polkadot.io:443"

# Check runtime migrations for Parity managed collectives chains
check-runtime-migration-collectives-westend:
stage: check
extends:
- .docker-env
- .test-pr-refs
- .check-runtime-migration
variables:
NETWORK: "collectives-westend"
PACKAGE: "collectives-westend-runtime"
WASM: "collectives_westend_runtime.compact.compressed.wasm"
URI: "wss://westend-collectives-rpc.polkadot.io:443"

find-fail-ci-phrase:
stage: check
variables:
Expand Down
4 changes: 2 additions & 2 deletions .gitlab/pipeline/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ publish-rustdoc:
DOCKERFILE: "" # docker/path-to.Dockerfile
IMAGE_NAME: "" # docker.io/paritypr/image_name
script:
# - test "$PARITYPR_USER" -a "$PARITYPR_PASS" ||
# ( echo "no docker credentials provided"; exit 1 )
# Exit if the job is not running in a merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- $BUILDAH_COMMAND build
--format=docker
--build-arg VCS_REF="${CI_COMMIT_SHA}"
Expand Down
10 changes: 10 additions & 0 deletions .gitlab/pipeline/short-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,17 @@ short-benchmark-collectives-polkadot:
variables:
RUNTIME_CHAIN: collectives-polkadot-dev

short-benchmark-collectives-westend:
<<: *short-bench-cumulus
variables:
RUNTIME_CHAIN: collectives-westend-dev

short-benchmark-glutton-kusama:
<<: *short-bench-cumulus
variables:
RUNTIME_CHAIN: glutton-kusama-dev-1300

short-benchmark-glutton-westend:
<<: *short-bench-cumulus
variables:
RUNTIME_CHAIN: glutton-westend-dev-1300
2 changes: 2 additions & 0 deletions .gitlab/pipeline/zombienet/cumulus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

.zombienet-before-script:
before_script:
# Exit if the job is not merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- echo "Zombie-net Tests Config"
- echo "${ZOMBIENET_IMAGE}"
- echo "${POLKADOT_IMAGE}"
Expand Down
18 changes: 13 additions & 5 deletions .gitlab/pipeline/zombienet/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# common settings for all zombienet jobs
.zombienet-polkadot-common:
before_script:
# Exit if the job is not merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export BUILD_RELEASE_VERSION="$(cat ./artifacts/BUILD_RELEASE_VERSION)" # from build-linux-stable job
- export DEBUG=zombie,zombie::network-node
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${POLKADOT_IMAGE}":${PIPELINE_IMAGE_TAG}
Expand All @@ -12,12 +14,12 @@
- export MALUS_IMAGE="${MALUS_IMAGE}":${PIPELINE_IMAGE_TAG}
- IMAGE_AVAILABLE=$(curl -o /dev/null -w "%{http_code}" -I -L -s https://registry.hub.docker.com/v2/repositories/parity/polkadot/tags/${BUILD_RELEASE_VERSION})
- if [ $IMAGE_AVAILABLE -eq 200 ]; then
export ZOMBIENET_INTEGRATION_TEST_SECONDARY_IMAGE="docker.io/parity/polkadot:${BUILD_RELEASE_VERSION}";
export ZOMBIENET_INTEGRATION_TEST_SECONDARY_IMAGE="docker.io/parity/polkadot:${BUILD_RELEASE_VERSION}";
else
echo "Getting the image to use as SECONDARY, using ${BUILD_RELEASE_VERSION} as base";
VERSIONS=$(curl -L -s 'https://registry.hub.docker.com/v2/repositories/parity/polkadot/tags/' | jq -r '.results[].name'| grep -E "v[0-9]" |grep -vE "[0-9]-");
VERSION_TO_USE=$(echo "${BUILD_RELEASE_VERSION}\n$VERSIONS"|sort -r|grep -A1 "${BUILD_RELEASE_VERSION}"|tail -1);
export ZOMBIENET_INTEGRATION_TEST_SECONDARY_IMAGE="docker.io/parity/polkadot:${VERSION_TO_USE}";
echo "Getting the image to use as SECONDARY, using ${BUILD_RELEASE_VERSION} as base";
VERSIONS=$(curl -L -s 'https://registry.hub.docker.com/v2/repositories/parity/polkadot/tags/' | jq -r '.results[].name'| grep -E "v[0-9]" |grep -vE "[0-9]-");
VERSION_TO_USE=$(echo "${BUILD_RELEASE_VERSION}\n$VERSIONS"|sort -r|grep -A1 "${BUILD_RELEASE_VERSION}"|tail -1);
export ZOMBIENET_INTEGRATION_TEST_SECONDARY_IMAGE="docker.io/parity/polkadot:${VERSION_TO_USE}";
fi
- echo "Zombienet Tests Config"
- echo "gh-dir ${GH_DIR}"
Expand Down Expand Up @@ -117,6 +119,8 @@ zombienet-polkadot-smoke-0001-parachains-smoke-test:
extends:
- .zombienet-polkadot-common
before_script:
# Exit if the job is not merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${POLKADOT_IMAGE}":${PIPELINE_IMAGE_TAG}
- export COL_IMAGE="${COLANDER_IMAGE}":${PIPELINE_IMAGE_TAG}
- echo "Zombienet Tests Config"
Expand All @@ -134,6 +138,8 @@ zombienet-polkadot-smoke-0002-parachains-parachains-upgrade-smoke:
extends:
- .zombienet-polkadot-common
before_script:
# Exit if the job is not merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${POLKADOT_IMAGE}":${PIPELINE_IMAGE_TAG}
- export CUMULUS_IMAGE="docker.io/paritypr/polkadot-parachain-debug:${DOCKER_IMAGES_VERSION}"
- echo "Zombienet Tests Config"
Expand Down Expand Up @@ -176,6 +182,8 @@ zombienet-polkadot-misc-0002-upgrade-node:
- job: build-linux-stable
artifacts: true
before_script:
# Exit if the job is not merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest"
- echo "Overrided poladot image ${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
- export COL_IMAGE="${COLANDER_IMAGE}":${PIPELINE_IMAGE_TAG}
Expand Down
2 changes: 2 additions & 0 deletions .gitlab/pipeline/zombienet/substrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# common settings for all zombienet jobs
.zombienet-substrate-common:
before_script:
# Exit if the job is not merge queue
- if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
- echo "Zombienet Tests Config"
- echo "${ZOMBIENET_IMAGE}"
- echo "${GH_DIR}"
Expand Down
Loading
Loading