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

Da poc upgrade 3.0 #3

Open
wants to merge 232 commits into
base: da-poc
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 227 commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
b2f10ed
bumpd minor version (#7873)
gui1117 Jan 12, 2021
af88571
Add Prometheus alerts if unbounded channels are too large (#7866)
tomaka Jan 12, 2021
f977fb8
Bump retain_mut from 0.1.1 to 0.1.2 (#7869)
dependabot[bot] Jan 12, 2021
7a52a74
babe: initialize next authorities on genesis (#7872)
andresilva Jan 12, 2021
928b735
Update serde and parity-multiaddr, to fix master CI (#7877)
tomaka Jan 12, 2021
ecb85f7
Add ss58 version prefix for CORD (from Dhiway) (#7862)
smohan-dw Jan 12, 2021
b2a5019
network-gossip: add metric for number of local messages (#7871)
andresilva Jan 12, 2021
82d97c8
Clean-up pass in network/src/protocol.rs (#7889)
tomaka Jan 13, 2021
05e5892
contracts: Don't read the previous value when overwriting a storage i…
athei Jan 13, 2021
aa8b7db
Fix clear prefix check to avoid erasing child trie roots. (#7848)
cheme Jan 13, 2021
559e56b
CI: test prometheus alerts moved to check; deploy depends on tests; c…
TriplEight Jan 13, 2021
1334eb7
pallet_authority_discovery: introduce current_authorities and next_au…
ordian Jan 13, 2021
c2aa425
make helper error types generics (#7878)
drahnr Jan 13, 2021
f2367f7
Add payment_queryFeeDetails RPC (#7692)
liuchengxu Jan 14, 2021
fae26bb
Use checked math when calculating storage size (#7885)
athei Jan 14, 2021
1c9a9e4
contracts: Cap the surcharge reward by the amount of rent that way pa…
athei Jan 14, 2021
a962daa
Update the Grafana dashboards (#7886)
tomaka Jan 14, 2021
a9bbc7b
Log target before prefix for more consistent logging (#7897)
bkchr Jan 14, 2021
d0b2e7d
contracts: Fix failing benchmark test (#7900)
athei Jan 14, 2021
f1c6725
CI: trigger simnet master and wait for status (#7899)
TriplEight Jan 14, 2021
8ee55dd
Storage chains part 1 (#7868)
arkpar Jan 14, 2021
e6d498a
tests: fix UI test so we can update CI image (#7901)
TriplEight Jan 14, 2021
bb3435a
*: Update to libp2p v0.34.0 (#7888)
mxinden Jan 15, 2021
53fbef5
Fix bad debug_assert (#7904)
tomaka Jan 15, 2021
bfd6826
fix template (#7905)
gui1117 Jan 15, 2021
ab10fb5
improve benchmarking error output (#7863)
ropottnik Jan 15, 2021
caeb3b9
Fix not restoring non-poisoned state (#7906)
tomaka Jan 15, 2021
23ece2f
Add Test for Variable Components in Benchmarking (#7902)
shawntabrizi Jan 15, 2021
946c0e1
fix cargo fmt (#7907)
honeywest Jan 15, 2021
cfb8157
Add ss58 version prefix for Patract/Jupiter (from PatractHubs) (#7785)
atenjin Jan 15, 2021
7a79f54
Introduces account existence providers reference counting (#7363)
gavofyork Jan 16, 2021
d3673c2
fix clippy error (#7912)
honeywest Jan 17, 2021
d42240b
Allow configuring Yamux window size (#7916)
tomaka Jan 18, 2021
4ac74e9
Decouple Stkaing and Election - Part1: Support traits (#7908)
kianenigma Jan 18, 2021
2679599
Feat suppert procedural (#7913)
honeywest Jan 18, 2021
8aa9281
Expose BountyUpdatePeriod. (#7921)
krzysztof-jelski Jan 18, 2021
74a50ab
Add ss58 version prefix for Litentry (#7918)
Satoshi-Kusumoto Jan 18, 2021
cde8232
Address review comments of #7916 (#7917)
tomaka Jan 18, 2021
2b47773
Update details for the Polymesh network (#7919)
adamdossa Jan 18, 2021
6c14fac
Update ss58 registry for Robonomics (#7923)
ensrationis Jan 18, 2021
e3b6315
babe: log block and slot number on verification (#7920)
andresilva Jan 18, 2021
b64ec19
Add explicit limits to notifications sizes and adjust yamux buffer si…
tomaka Jan 19, 2021
e813f62
Freeze Assets and Asset Metadata (#7346)
shawntabrizi Jan 19, 2021
61fa641
Increase UnboundedChannelVeryLarge threshold from 5k to 15k (#7931)
tomaka Jan 19, 2021
2d5a75d
Sync: Propagate block announcement data (#7903)
bkchr Jan 19, 2021
a9ed67e
Disable Nagle algorithm (#7932)
tomaka Jan 20, 2021
4868630
Migrate frame-system to pallet attribute macro (#7898)
ascjones Jan 20, 2021
8f43280
Telemetry per node (#7463)
cecton Jan 20, 2021
2a5e10a
Allow validators to block and kick their nominator set. (#7930)
gavofyork Jan 20, 2021
d5bdd81
Fix elections-phragmen and proxy issue (#7040)
kianenigma Jan 20, 2021
1baeefa
.maintain: Replace sentry-node with local-docker-test-network (#7943)
mxinden Jan 21, 2021
a7fd1e5
Attempt to remove the `where` bounds in arithmetic. (#7933)
kianenigma Jan 21, 2021
3e870d1
Minor contributor docs update (#7948)
gnunicorn Jan 21, 2021
d9e56ef
Make offchain indexing work (#7940)
bkchr Jan 21, 2021
4b687df
Grandpa warp sync request-response protocol (#7711)
expenses Jan 21, 2021
bd5c9a6
Cleaner GRANDPA RPC API for proving finality (#7339)
octol Jan 21, 2021
947a6bc
Allow transaction for offchain indexing (#7290)
cheme Jan 22, 2021
ba50a59
Enable sync mode for paritydb (#7961)
arkpar Jan 24, 2021
aaba404
Very minor typo in the docs (#7967)
g2udevelopment Jan 25, 2021
bb0fb29
Remove hidden item NonExhaustive in syn crate (#7969)
sorpaas Jan 25, 2021
13c75ae
Detect conflicting module names in `construct_runtime!` (#7968)
bkchr Jan 25, 2021
67e6000
pallet minor doc improvment (#7922)
gui1117 Jan 25, 2021
dd173ae
Make pallets use construct_runtime (#7950)
gui1117 Jan 25, 2021
38f723b
client/network/req-resp: Prevent request id collision (#7957)
mxinden Jan 25, 2021
2b43895
use construct_runtime for more pallet (#7974)
gui1117 Jan 25, 2021
65003c5
Migrate some more pallets to construct_runtime (#7975)
ascjones Jan 25, 2021
51d2312
Pallet proc macro doc improvements (#7955)
ascjones Jan 25, 2021
13cdf1c
Refuse to start substrate without providing an explicit chain (#7977)
dvdplm Jan 25, 2021
addf203
client/network: Report reputation changes via response (#7958)
mxinden Jan 26, 2021
4888ac6
Migrate pallet-template to pallet attribute macro (#7981)
g2udevelopment Jan 26, 2021
bc3075c
Fix Network trait implementation not doing what it's supposed to do (…
tomaka Jan 26, 2021
46c510f
Make pallet use construct_runtime in tests instead of impl_* (#7986)
gui1117 Jan 26, 2021
e82518b
Rewrite the async code in `BasicQueue` (#7988)
bkchr Jan 26, 2021
1490be7
grandpa: remove runtime checks in prove_finality (#7953)
octol Jan 26, 2021
d0723f1
Ensure transactional with ? works in frame v2 (#7982)
gui1117 Jan 26, 2021
c003a48
Increase maximum size of transaction notifications (#7993)
tomaka Jan 27, 2021
9c0ae89
Let mock in pallet-template use construct_runtime (#7991)
g2udevelopment Jan 27, 2021
0b0d124
Fix state cache for cumulus (#7990)
arkpar Jan 27, 2021
2d597fc
Merkle Mountain Range pallet improvements (#7891)
tomusdrw Jan 28, 2021
64df2f9
Introduce a `Slot` type (#7997)
bkchr Jan 28, 2021
68d7157
Clarify and expand ProvideInherent docs (#7941)
JoshOrndorff Jan 28, 2021
ae3dabb
Introduce sc_peerset::DropReason (#7996)
tomaka Jan 29, 2021
a51a988
Doc fixes for sc-telemetry & API struct rename (#7934)
cecton Jan 29, 2021
1d5d13a
Fix telemetry span not entering properly & enter span in sc-cli (#7951)
cecton Jan 29, 2021
93b231e
Update parity-scale-codec to 2.0 (#7994)
gui1117 Jan 29, 2021
caff191
Test is_inherent_required (#8002)
4meta5 Jan 29, 2021
9659509
Sync: Fix issue of not freeing a block announcement slot (#8006)
bkchr Jan 29, 2021
a45e3f2
CI: return flaming fir deployment (#8007)
TriplEight Jan 29, 2021
30ec0be
chore: fix typos (#8013)
yjhmelody Feb 1, 2021
017a9a0
Fix tracing spans are not being forwarded to spawned task (#8009)
bkchr Feb 1, 2021
043cb0a
make AllModules public (#8017)
apopiak Feb 1, 2021
5a5f06e
client/network: Use request response for light client requests (#7895)
mxinden Feb 1, 2021
b7fc46d
relax translate closure to FnMut (#8019)
apopiak Feb 1, 2021
26f3d68
Remove outdated Grafana information (#8012)
tomaka Feb 1, 2021
b201d7c
contracts: Emit event on contract termination (#8014)
athei Feb 2, 2021
7cb5eed
Fix tracing tests (#8022)
bkchr Feb 2, 2021
aaf6598
contracts: Improve documentation (#8018)
athei Feb 2, 2021
d5b0856
Disable Kademlia random walk when --reserved-nodes is passed (#7999)
tomaka Feb 2, 2021
81ca765
Convert AURA to new pallet macro (#8020)
bkchr Feb 2, 2021
bc69520
Rename system_networkState to system_unstable_networkState (#8001)
tomaka Feb 2, 2021
075796f
Decouple the session validators from im-online (#7127)
liuchengxu Feb 2, 2021
c7f52d1
better formatting for doc comments (#8030)
JoshOrndorff Feb 2, 2021
5a94966
Add a send_request function to NetworkService (#8008)
eskimor Feb 2, 2021
56c64cf
Storage chains: serve transactions over IPFS/bitswap (#7963)
arkpar Feb 3, 2021
9d7b884
Improve log line (#8032)
tomaka Feb 3, 2021
2fb4534
Export `IfDisconnected` in public module. (#8034)
eskimor Feb 3, 2021
9b40d50
frame-system: Index type 'MaybeSerializeDeserialize' bound. (#8035)
shaunxw Feb 3, 2021
f80d23b
contracts: Make ChainExtension trait generic over the runtime (#8003)
athei Feb 3, 2021
840478a
AURA: Switch to `CurrentSlot` instead of `LastTimestamp` (#8023)
bkchr Feb 3, 2021
dc02c65
contracts: Charge rent for code storage (#7935)
athei Feb 4, 2021
169b16f
Migrate assets pallet to new macros (#7984)
dvdplm Feb 4, 2021
85c479f
babe, grandpa: cleanup stale equivocation reports (#8041)
andresilva Feb 4, 2021
05eb8d9
move some pallet test to use construct_runtime (#8049)
gui1117 Feb 4, 2021
6105169
Migrate more pallet tests to construct_runtime (#8051)
ascjones Feb 4, 2021
a675f9a
Update dependencies ahead of next release (#8015)
gnunicorn Feb 4, 2021
3c9b031
transaction-pool: drop unpropagable txs if local node cant author blo…
andresilva Feb 4, 2021
cc71cca
Fix some problems with `prove_warp_sync` (#8037)
expenses Feb 5, 2021
09ba69f
CheckSpecVersion reference fix (#8056)
al3mart Feb 5, 2021
f14488d
contracts: Remove ConfigCache (#8047)
athei Feb 5, 2021
26e9a11
Extend SS58 network identifiers (#8039)
gavofyork Feb 6, 2021
0b719f8
Use construct_runtime in tests (#8059)
gui1117 Feb 6, 2021
bbc7b0e
Bump wasmtime from 0.19.0 to 0.22.0 (#7865)
dependabot[bot] Feb 8, 2021
29aca98
Remove backwards-compatibility networking hack (#8068)
tomaka Feb 8, 2021
07a5f29
Switch to latest `impl-trait-for-tuples` (#8082)
bkchr Feb 9, 2021
66cfa92
Add Crust Network SS58 Address (#8064)
badkk Feb 9, 2021
077c480
Add Ares SS58 address type (#8061)
jiyilanzhou Feb 9, 2021
273bc7b
Replace last usages of `<() as PalletInfo>` in substrate (#8080)
gui1117 Feb 9, 2021
4777aba
Remove PalletInfo impl for () (#8090)
ascjones Feb 9, 2021
48e9d49
WasmExecutor takes a cache directory (#8057)
pepyakin Feb 9, 2021
9c5da5c
Add Aventus ss58 address (#8050)
nahuseyoum Feb 9, 2021
28b950e
sc-network: switch on default features for libp2p on non-wasm-builds …
gnunicorn Feb 10, 2021
91a7418
pallet macro: easier syntax for `#[pallet::pallet]` with `struct Pall…
gui1117 Feb 10, 2021
90c9706
Pallet attribute macro migrate guidelines minor fixes (#8094)
shaunxw Feb 10, 2021
90bb153
Switch to use `diener patch` for companion build (#8073)
bkchr Feb 10, 2021
22441aa
Migrate pallet-balances to pallet attribute macro (#7936)
ascjones Feb 10, 2021
ce018b8
babe, grandpa: set longevity for equivocation report transactions (#8…
andresilva Feb 10, 2021
ba290e0
Migrate pallet-timestamp to pallet attribute macro. (#8078)
shaunxw Feb 10, 2021
12562bb
Use log level error to report telemetry (#8097)
cecton Feb 10, 2021
49a4103
Releasing 3.0 (#8098)
gnunicorn Feb 10, 2021
6315bde
new: replace extrinsics root Hash with ExtrinsicsRoot struct
Jan 12, 2021
730c964
chg: add newWithCommitment()
Jan 12, 2021
49ab7ec
WIP
Jan 29, 2021
5a62e34
new: KC building and validation
Feb 2, 2021
112ce6f
chg: set max size block according to KC specs
Feb 2, 2021
76982e2
KC fix WIP
Feb 2, 2021
a304e0e
fix: allow compilation, WASM is not used anyway
Feb 3, 2021
14c1d64
fix: compilation
Feb 3, 2021
d1d5224
Edited extension code
prabal-banerjee Feb 4, 2021
9711629
fix: use kate config to setup a chain
Feb 4, 2021
3746737
fix: speed up KC building
Feb 5, 2021
d49e5d4
new: RPC query for proofs
Feb 10, 2021
0df25ee
chg: query proof by cells RPC
Feb 16, 2021
e165fee
fix: hardcode public params into genesis
Feb 17, 2021
205c67d
Proof of Extrinsic ported from web eg on node-template to this repo
prabal-banerjee Feb 8, 2021
dda63e7
Simple pallet to submit data as extrinsic - cannot submit same data t…
prabal-banerjee Feb 8, 2021
3d329e2
Added basic script which submits sample data in every block
prabal-banerjee Feb 8, 2021
780f11e
chg: serialize evaluated point too as part of proof
Feb 22, 2021
9318061
WIP
Feb 23, 2021
87bad1d
chg: remove assertions, rename variables for better readability
Feb 24, 2021
9066d6c
fix: proof generation and block padding
Feb 26, 2021
f6b1875
new: cache extended data matrix per block.
Feb 26, 2021
f4fde89
cleanup
Feb 26, 2021
ac3ecf9
fix: do not run WASM anymore
Mar 9, 2021
c8acce5
Change DA pallet. Modified chain spec. Removed api script.
prabal-banerjee Mar 23, 2021
88297d5
chg: chain name
Mar 24, 2021
488d8b4
Minor change to node & chain names. Fix chain type for account support
prabal-banerjee Mar 24, 2021
7919649
Changed runtime names. Added charlie as authority for testnet
prabal-banerjee Mar 30, 2021
a8962e7
chg: get block length from storage instead of compile time constant
May 6, 2021
89380ba
chg: build KC with on-chain block length params.
May 11, 2021
a9ee94b
chg: some ensure!
May 11, 2021
1b167bc
new: variable fee based on value
May 11, 2021
672d04b
Modified weight calculation for submit_data
prabal-banerjee May 13, 2021
db652f0
misc: add more checks of the input
May 13, 2021
3a0e221
Removed key len from weight calculation. Corrected typo.
prabal-banerjee May 13, 2021
f9ee0b9
fix: do not set chunk size and ratio
May 18, 2021
2b868dd
Removing KC build to check sync issues
prabal-banerjee Apr 7, 2021
1bb19e5
Reintroduced KC. Increased block time to 20s
prabal-banerjee Apr 7, 2021
fe01db7
Added previous chain_spec.json as backup
prabal-banerjee Apr 8, 2021
8e6f06f
Edited chain_spec to add three validators and one faucet
prabal-banerjee Apr 8, 2021
45a7e03
Updated GRANDPA keys to ed25519
prabal-banerjee Apr 9, 2021
5252ce2
new: variable block size in runtime
May 20, 2021
bc6eb12
new: kate_blockLength RPC call
May 24, 2021
c8621f1
fix: get block length within the environment
May 28, 2021
70542b1
fix: block size estimation
Jun 1, 2021
6914cdb
fix: strip resulting bytes to actual size
Jun 1, 2021
eabc2f6
Replaced DA with Avail to keep explorer and naming consistent
prabal-banerjee Jun 4, 2021
10f5c0c
Changed the chain-spec
prabal-banerjee Jun 4, 2021
f36d93a
chg: revert to base version of multiplication
Jun 7, 2021
6656843
fix: next block size should be in power of 2
Jun 9, 2021
17a4466
aura to babe
kroos47 Jul 14, 2021
b91f090
changed to service, no RPC added
kroos47 Jul 15, 2021
6161be3
added GenesisConfig:Need verification
kroos47 Jul 15, 2021
e44c82b
final commit, needs verification
kroos47 Jul 16, 2021
984eecc
fix:chain_spec staking change, single validator
kroos47 Jul 16, 2021
2476453
added staging_testnet
kroos47 Jul 19, 2021
79484b0
fix:stash account balance
kroos47 Jul 19, 2021
fc2c35b
fix
kroos47 Jul 19, 2021
7036940
updated wasm_binary and added AuthoritydiscoveryID
kroos47 Jul 21, 2021
2722bb2
staking log
kroos47 Jul 21, 2021
6501bdf
added indices and runtime changes
kroos47 Jul 22, 2021
6f91032
runtime changes
kroos47 Jul 22, 2021
dcdf569
runtime fixed for balanes
kroos47 Jul 27, 2021
0b01a04
runtime changes ,fixed staking
kroos47 Jul 27, 2021
9c68f6d
added governance
kroos47 Aug 2, 2021
331c4a2
fix:added basefilter
kroos47 Aug 2, 2021
f4aa344
fix:added basefilter fn
kroos47 Aug 2, 2021
472d8d4
fix:config chain_spec
kroos47 Aug 2, 2021
dbd5d2a
runtime changes
kroos47 Aug 11, 2021
bb21ed0
changed the duration and customSpec
kroos47 Sep 7, 2021
9f3a14d
Revert "changed the duration and customSpec"
kroos47 Sep 7, 2021
a28790e
fix:duration and chainSpec
kroos47 Sep 8, 2021
ea2aa46
fix chainSpec
kroos47 Sep 9, 2021
fe317f3
fix:chainSpec
kroos47 Sep 9, 2021
7b082c7
changed spec name
kroos47 Sep 9, 2021
f089224
Migration to V3.0.0
MiguelDD1 Oct 20, 2021
98938e0
Upgrade to V3.0.0
MiguelDD1 Oct 25, 2021
77d0a5e
Fix issuees from formatter
MiguelDD1 Oct 25, 2021
719bf43
Fix UT related with KC params
MiguelDD1 Oct 26, 2021
9c79723
Fix UT about Genesis and KC Params
MiguelDD1 Oct 28, 2021
31768db
Fix UT `signed_ext_check_weight_block_size_works`
MiguelDD1 Oct 28, 2021
030d506
UT fixes: Genesis requires Kate Pub Params
MiguelDD1 Oct 28, 2021
d0fd481
Fix Genesis on tests
MiguelDD1 Nov 2, 2021
10dab41
Im-online enabled & update
MiguelDD1 Nov 3, 2021
0f45442
Fix Genesis of ImOnline
MiguelDD1 Nov 3, 2021
cd21485
Merge branch 'da-poc' into da-poc-upgrade-3.0
MiguelDD1 Nov 8, 2021
ebfdd1b
Remove internal plonk & fix deps
MiguelDD1 Nov 14, 2021
4d87f6b
Enable benchmarking on node-template
Nov 15, 2021
7fcc491
Enable benchmarking on node-template
Nov 15, 2021
f65b162
Fix impl-serde dependency
MiguelDD1 Nov 21, 2021
db49c7e
Re-enable some UTs
MiguelDD1 Nov 21, 2021
4484f6c
Fix `benchmarking` & `plonk` dep to tag
MiguelDD1 Nov 22, 2021
0c92099
Merge pull request #6 from maticnetwork/feature/MAT-3320/update_plonk
MiguelDD1 Nov 25, 2021
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
  •  
  •  
  •  
92 changes: 53 additions & 39 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ stages:
- deploy
- flaming-fir

workflow:
rules:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH

variables: &default-vars
GIT_STRATEGY: fetch
GIT_DEPTH: 100
Expand All @@ -52,8 +57,6 @@ default:
.kubernetes-build: &kubernetes-build
tags:
- kubernetes-parity-build
environment:
name: parity-build
interruptible: true

.docker-env: &docker-env
Expand All @@ -72,11 +75,6 @@ default:
tags:
- linux-docker

workflow:
rules:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH

.test-refs: &test-refs
rules:
- if: $CI_PIPELINE_SOURCE == "web"
Expand Down Expand Up @@ -129,7 +127,7 @@ check-signed-tag:
<<: *kubernetes-build
rules:
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- ./.maintain/gitlab/check_signed.sh

Expand All @@ -150,6 +148,19 @@ test-dependency-rules:
script:
- .maintain/ensure-deps.sh

test-prometheus-alerting-rules:
stage: check
image: paritytech/tools:latest
<<: *kubernetes-build
rules:
- if: $CI_COMMIT_BRANCH
changes:
- .gitlab-ci.yml
- .maintain/monitoring/**/*
script:
- promtool check rules .maintain/monitoring/alerting-rules/alerting-rules.yaml
- cat .maintain/monitoring/alerting-rules/alerting-rules.yaml | promtool test rules .maintain/monitoring/alerting-rules/alerting-rule-tests.yaml

#### stage: test

cargo-audit:
Expand Down Expand Up @@ -340,14 +351,6 @@ cargo-check-macos:
tags:
- osx

test-prometheus-alerting-rules:
stage: test
image: paritytech/tools:latest
<<: *kubernetes-build
script:
- promtool check rules .maintain/monitoring/alerting-rules/alerting-rules.yaml
- cat .maintain/monitoring/alerting-rules/alerting-rules.yaml | promtool test rules .maintain/monitoring/alerting-rules/alerting-rule-tests.yaml

#### stage: build

check-polkadot-companion-status:
Expand Down Expand Up @@ -494,13 +497,13 @@ build-rust-doc:
DOCKERFILE: $PRODUCT.Dockerfile
IMAGE_NAME: docker.io/parity/$PRODUCT
before_script:
- test "$Docker_Hub_User_Parity" -a "$Docker_Hub_Pass_Parity" ||
( echo "no docker credentials provided"; exit 1 )
script:
- cd ./artifacts/$PRODUCT/
- VERSION="$(cat ./VERSION)"
- echo "${PRODUCT} version = ${VERSION}"
- test -z "${VERSION}" && exit 1
script:
- test "$Docker_Hub_User_Parity" -a "$Docker_Hub_Pass_Parity" ||
( echo "no docker credentials provided"; exit 1 )
- buildah bud
--format=docker
--build-arg VCS_REF="${CI_COMMIT_SHA}"
Expand All @@ -509,10 +512,11 @@ build-rust-doc:
--tag "$IMAGE_NAME:latest"
--file "$DOCKERFILE" .
- echo "$Docker_Hub_Pass_Parity" |
buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
- buildah info
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
- buildah push --format=v2s2 "$IMAGE_NAME:latest"
- buildah logout "$IMAGE_NAME"

publish-docker-substrate:
stage: publish
Expand All @@ -526,7 +530,6 @@ publish-docker-substrate:
<<: *docker-build-vars
PRODUCT: substrate
after_script:
- buildah logout "$IMAGE_NAME"
# only VERSION information is needed for the deployment
- find ./artifacts/ -depth -not -name VERSION -type f -delete

Expand All @@ -539,8 +542,6 @@ publish-docker-subkey:
variables:
<<: *docker-build-vars
PRODUCT: subkey
after_script:
- buildah logout "$IMAGE_NAME"

publish-s3-release:
stage: publish
Expand Down Expand Up @@ -595,7 +596,7 @@ publish-draft-release:
image: paritytech/tools:latest
rules:
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- ./.maintain/gitlab/publish_draft_release.sh
allow_failure: true
Expand All @@ -605,14 +606,19 @@ publish-to-crates-io:
<<: *docker-env
rules:
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
script:
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
- cargo unleash em-dragons --no-check --owner github:paritytech:core-devs ${CARGO_UNLEASH_PKG_DEF}
allow_failure: true

deploy-kubernetes-alerting-rules:
#### stage: deploy

deploy-prometheus-alerting-rules:
stage: deploy
needs:
- job: test-prometheus-alerting-rules
artifacts: false
interruptible: true
retry: 1
tags:
Expand All @@ -634,21 +640,29 @@ deploy-kubernetes-alerting-rules:
- .gitlab-ci.yml
- .maintain/monitoring/**/*

trigger-simnet:
stage: deploy
rules:
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
needs:
- job: publish-docker-substrate
artifacts: false
trigger:
project: parity/simnet
branch: master
strategy: depend

.validator-deploy: &validator-deploy
stage: flaming-fir
stage: deploy
rules:
# .build-refs, but manual
- if: $CI_COMMIT_REF_NAME == "master"
when: manual
- if: $CI_PIPELINE_SOURCE == "web"
when: manual
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
when: manual
# this job runs only on nightly pipeline with the mentioned variable, against `master` branch
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule" && $PIPELINE == "nightly"
needs:
# script will fail if there is no artifacts/substrate/VERSION
- job: publish-docker-substrate
artifacts: true
image: parity/azure-ansible:v1
image: parity/azure-ansible:v2
allow_failure: true
interruptible: true
tags:
Expand All @@ -674,12 +688,12 @@ validator 4 4:
script:
- ./.maintain/flamingfir-deploy.sh flamingfir-validator4

#### stage: .post
#### stage: .post

check-labels:
stage: .post
image: paritytech/tools:latest
<<: *kubernetes-build
stage: .post
image: paritytech/tools:latest
<<: *kubernetes-build
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
script:
Expand Down
1 change: 0 additions & 1 deletion .maintain/chaostest/.eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .maintain/chaostest/.eslintrc.json

This file was deleted.

11 changes: 0 additions & 11 deletions .maintain/chaostest/.gitignore

This file was deleted.

90 changes: 0 additions & 90 deletions .maintain/chaostest/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions .maintain/chaostest/bin/run

This file was deleted.

3 changes: 0 additions & 3 deletions .maintain/chaostest/bin/run.cmd

This file was deleted.

Loading