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

Merges time-travel to master with all migrations #21

Merged
merged 589 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
589 commits
Select commit Hold shift + click to select a range
e7457b1
Disconnect node after sync request cancelled (#5945)
tomaka May 7, 2020
c32b328
Make sure `config_mut` returns a mutable reference (#5942)
bkchr May 7, 2020
b096036
Remove "simple declaration of the `Module` type" comments (#5944)
sorpaas May 7, 2020
f2cc629
Fix light clients in manual seal nodes (#5955)
JoshOrndorff May 8, 2020
52b2961
Updates lock file
drewstone May 8, 2020
7817e57
Bump wasmtime again (#5950)
arkpar May 8, 2020
3d669be
Expose BlockHashCount on system metadata constants (#5960)
jacogr May 9, 2020
d447025
Add database type for import benchmarks (#5959)
NikVolf May 10, 2020
255c201
weight adjustments for identity and timestamp pallets (#5946)
apopiak May 11, 2020
2e21842
Refactor network transactions handling (#5939)
NikVolf May 11, 2020
e059075
Fix very wrong staking test (#5952)
kianenigma May 11, 2020
6ecbc4c
Don't repeatedly lookup keys in `babe_epochAuthorship` rpc function (…
octol May 11, 2020
2995575
hotfix Docker release (#5968)
TriplEight May 11, 2020
d272ead
Properly log when we discard a sync response (#5969)
tomaka May 11, 2020
7f73312
Add crypto identifier to RuntimeAppPublic (#5965)
rakanalh May 11, 2020
65f742b
Small fix to block response completion reporting (#5967)
tomaka May 11, 2020
aaf0144
Minor update on example-offchain-worker code and comment (#5970)
jimmychu0807 May 11, 2020
3fe26e6
Update initialize tests for latest rust stable (#5971)
bkchr May 11, 2020
62e7245
Allow passing multiple --log CLI options (#5982)
tomaka May 12, 2020
e8b9b38
Optimize `decode_len` (#5975)
bkchr May 12, 2020
494bc3e
Split Operational and Normal weight (#5954)
shawntabrizi May 12, 2020
64d603a
client/finality-granpda/until_imported: Rework pinning (#5983)
mxinden May 12, 2020
b6cb00b
grandpa: update to finality-grandpa v0.12.3 (#5972)
andresilva May 12, 2020
b85fc50
grandpa: missing equivocation reporting nits (#5953)
andresilva May 12, 2020
9d09d37
Update and pin node-browser-testing wasm-bindgen version (#5987)
expenses May 12, 2020
d2b38b6
babe: minor rpc nits (#5974)
andresilva May 12, 2020
ba00ef1
get tx_hashes from watcher (#5981)
svyatonik May 12, 2020
4e8e1b7
Restore the reputation penalty for timeouts (#5984)
tomaka May 12, 2020
f3315cd
Spawn the network worker with spawn_blocking (#5909)
tomaka May 12, 2020
1d0b92c
client/network: Remove default Kademlia DHT in favor of per protocol …
mxinden May 12, 2020
f5a15d1
Turn an error! into a debug! (#6000)
tomaka May 12, 2020
488db83
Merges master
drewstone May 12, 2020
7b51997
Fix minor typos in im-online documentation (#5997)
pawelnguyen May 12, 2020
e097348
Only send last finalized block to telemetry (#6003)
bkchr May 12, 2020
9e7d8e6
Change BlockHashCount Parameter in Node/Node Template (#5990)
joepetrowski May 13, 2020
fe67a0c
Fix gitlab line-width CI check (#5994)
athei May 13, 2020
0a95ced
Monitor transactions rejected from the pool as invalid (#5992)
CodeSandwich May 13, 2020
dbd5582
Give more meaningful error on missing feature when opening a db (#5999)
bkchr May 13, 2020
3fd1405
Add CRYPTO_ID to AppKey (#6011)
rakanalh May 13, 2020
d201025
Add mitigation for the state inconsistency issue (#5996)
tomaka May 13, 2020
69a89fa
Fix minor clippy lints in grandpa (#5988)
octol May 13, 2020
525dc61
Handle clap errors manually and don't reset `SIGPIPE` (#6012)
bkchr May 13, 2020
8ba59a8
Convert `Public` to `CryptoTypePublicPair` (#6014)
rakanalh May 13, 2020
420086d
Fix potential state mismatch in behaviour.rs (#6013)
tomaka May 13, 2020
14e60f8
properly handle different block content (#6007)
NikVolf May 13, 2020
9d2665f
Add tests to Sudo Pallet (#5963)
emostov May 13, 2020
983c389
Improve `BadProof` docs (#6019)
bkchr May 13, 2020
f5b4410
Fix escaping of the wasm file path (#6018)
Demi-Marie May 13, 2020
d016811
ci: fix merge on polkadot companion job (#6020)
andresilva May 13, 2020
b1c61c6
[CI] Fix a few issues with .gitlab-ci.yml (#6016)
s3krit May 14, 2020
8a8f57d
Fix RPC tests for machines with a high number of cores (#6021)
bkchr May 14, 2020
3456713
Collective weights (#5802)
apopiak May 14, 2020
e1e3848
Don't log the yamux errors by default (#6034)
tomaka May 14, 2020
ea501c2
Add ‘transaction_version’ to the signed transaction (#5979)
Demi-Marie May 14, 2020
0ce6dbf
ci: github api use token for pull requests (#6037)
gabreal May 15, 2020
940e521
Update Staking Weights (#5964)
shawntabrizi May 15, 2020
d9ec920
bump kvdb-* versions (#6017)
insipx May 15, 2020
dbf2163
Relax substrate licensing scheme (#5947)
gnunicorn May 15, 2020
d841470
Democracy weight (#5828)
gui1117 May 15, 2020
f63db92
Fix lots of small nits in sc-network (#6028)
tomaka May 15, 2020
a4f1c7a
Put some graphics in the README? (#5930)
kianenigma May 15, 2020
5353480
Benchmarks for elections-phragmen pallet (#5845)
kianenigma May 15, 2020
82ec8ed
Use `sign_with` in consensus (#6008)
rakanalh May 15, 2020
61a7248
Added RuntimePublic for ecdsa public key. (#6029)
satellitex May 15, 2020
3f71d1e
Meter block import results via prometheus (#6025)
gnunicorn May 15, 2020
7e9a2ae
Releasing Alpha.8 (#6048)
gnunicorn May 15, 2020
1291fbf
Remove on_block_imported (#6039)
arkpar May 16, 2020
6d91909
Aura fix: make sure the key exists locally (#6054)
rakanalh May 16, 2020
8345611
resetting to -dev (#6050)
gnunicorn May 16, 2020
5a76009
Remove file accounts.scale (#6053)
sorpaas May 16, 2020
5e62f29
Fail test on warnings (#6043)
TriplEight May 18, 2020
f9fe88f
fix whitespace (#6062)
NikVolf May 18, 2020
4d85a52
grandpa: minor cleanup for gossip round start instant (#5976)
andresilva May 18, 2020
af46333
Add block construction prometheus metrics (#6030)
NikVolf May 18, 2020
05b7054
chore: updates the license badge (#6058)
clearloop May 18, 2020
c17fce2
Fix parallel code execution in wasmtime (#6055)
arkpar May 18, 2020
adb5acb
Print an error if we discover our own network identity (#6047)
tomaka May 18, 2020
9bb5cbc
Refactor EVM operations to module functions (#6056)
sorpaas May 18, 2020
f6afe5b
Make decl_storage generated code respect clippy (#6065)
gui1117 May 18, 2020
05579fe
Fix benchmarks and add check so that they won't break again (#6061)
NikVolf May 18, 2020
1208821
Include post dispatch corrected weight in extrinsic events (#6024)
athei May 18, 2020
12e08fd
Upgrade to libp2p v0.19 - Changes the default PeerId representation (…
tomaka May 18, 2020
bc413d1
Make GrandpaBlockImport public (#6068)
JoshOrndorff May 18, 2020
0947c5b
service: fix RPC unsafe exposed address detection (#6070)
andresilva May 19, 2020
9891eab
Clean a number of sp_io imports (#6072)
kianenigma May 19, 2020
812d94d
Detect obsolete block responses (#6077)
arkpar May 19, 2020
f347523
Refactor OverlayedChanges (#5989)
athei May 20, 2020
4269e23
Bump wasmtime version (#6081)
arkpar May 20, 2020
a67dcfb
Refactor resource and error handling in wasm (#6074)
0x7CFE May 20, 2020
899a448
Maximum extrinsic weight limit (#6067)
tomusdrw May 20, 2020
0227ff5
Restore the empty line after the license (#6088)
tomaka May 20, 2020
b3d38bf
Turn a SmallVec into VecDeque for performances (#6091)
tomaka May 20, 2020
9650348
evm: allow setting pre-defined accounts in genesis (#6086)
sorpaas May 20, 2020
7fccdfa
Make planning epoch config change in BABE easier (#5776)
sorpaas May 20, 2020
a97a493
Allow fee calculation to happen off-chain (#6076)
athei May 21, 2020
1789c6d
Handle piping error for commands that output to stdout (#6098)
arkpar May 21, 2020
292a8a5
Allow operational recovery path if on_initialize use fullblock. (#6089)
gui1117 May 21, 2020
075ef1c
Optimize network poll (#6099)
arkpar May 21, 2020
28ff83a
Increase precision of benchmarking results summary (#6092)
mattrutherford May 21, 2020
73ff938
Add notes about safe uses of twox (#6082)
Demi-Marie May 21, 2020
14d89b7
babe: treat epoch_authorship RPC method as unsafe (#6069)
andresilva May 21, 2020
9036931
Offences Weight for OnInitialize (#5961)
shawntabrizi May 21, 2020
ea0e23e
Keep `BlockWeight` in Storage (#6046)
shawntabrizi May 21, 2020
af95084
clarify docs on query_info and partial_fee (#6090)
joepetrowski May 21, 2020
15698fc
.maintain/monitoring: Add an initial set of Prometheus alerting rules…
mxinden May 21, 2020
1ba1e80
Add Keccak hasher (#6101)
satellitex May 21, 2020
0b274c9
Implement FixedPoint trait. (#5877)
marcio-diaz May 21, 2020
ddf2191
chore(client): remove the unnecessary clap dep (#6107)
clearloop May 21, 2020
6c2fdea
make calls public (#6109)
xlc May 22, 2020
f822521
Add a note about the deprecation of register_notifications_protocol (…
tomaka May 22, 2020
2e8a0c0
Fix some flaky offchain HTTP tests (#6038)
Xanewok May 22, 2020
9aa7b8f
Add JSON format to import blocks and set it as default (#5816)
pscott May 22, 2020
1b41fe7
put max votes into metadata (#6114)
gui1117 May 22, 2020
b3e0cb6
Don't clone values when calculating storage root (#6108)
bkchr May 23, 2020
b8c493d
First draft of offchain phragmen weights (#6032)
kianenigma May 23, 2020
ffa32fa
Fix default base path on windows (#6120)
arkpar May 25, 2020
6dd9531
Benchmarks sanity checks (#6119)
NikVolf May 25, 2020
b5e84bb
Events and better log for staking. (#6118)
kianenigma May 25, 2020
df30fd4
Tidy tests a bit. (#6122)
pepyakin May 25, 2020
e6d5d49
Remove sleep in import blocks (#6124)
pscott May 25, 2020
d749024
Bump to libp2p v0.19.1 (#6125)
tomaka May 25, 2020
599ba75
Tagging as rc1
gnunicorn May 25, 2020
597622e
Make sure fixed arithmetic tests don't rely on debug assertions (#6126)
bkchr May 25, 2020
3dedc03
Add Changelog for rc1 (#6128)
gnunicorn May 25, 2020
ffcce85
Filter calls in utility (#6131)
gavofyork May 26, 2020
45b9f0a
Releasing rc2 (#6136)
gnunicorn May 26, 2020
bda3b40
Fix mul_acc. (#6145)
marcio-diaz May 26, 2020
b3adec2
Don't iterate over peers in generic_proto::behaviour::poll (#6142)
tomaka May 26, 2020
dee1bfb
Fixes `wasm-builder` rerun if changed logic (#6144)
bkchr May 26, 2020
4fd3ee1
CLI: Make `--dev` conflict with `--chain` (#6146)
bkchr May 26, 2020
91f8ced
Make `wasm-builder` check before copy/write files if the content is t…
bkchr May 26, 2020
8e3c4aa
fix lstrip in biguint (#6151)
xlc May 27, 2020
d166fcf
remover ancient code (#6157)
NikVolf May 27, 2020
4b09788
Add subkey inspect-node-key (#6153)
tomaka May 27, 2020
2d39ec2
Make Get<T> const friendly + Clean the runtime files a bit. (#6132)
kianenigma May 27, 2020
993e2e4
Peerset cleanup (#6078)
tomaka May 27, 2020
82558d4
Updates to master again
drewstone May 27, 2020
0c28a1e
Improve logging for transaction pool (#6152)
NikVolf May 27, 2020
1972b3a
Add test for Transaction Payment on zero balance account (#6161)
shawntabrizi May 27, 2020
d5336db
Add a warning when the user passes a legacy PeerId (#6158)
tomaka May 27, 2020
d7058c8
Improve the log messages printed when a listener closes (#6162)
tomaka May 27, 2020
ac641cd
Fix Election when ForceNone V1 (#6166)
kianenigma May 28, 2020
49b1561
Update locks on upgrade (#6172)
gavofyork May 28, 2020
d65e644
offchain storage lock (#6010)
drahnr May 28, 2020
df59acf
Make post dispatch fee consistent with a direct calculation (#6165)
athei May 28, 2020
874794d
pallet-contracts: State rent fixes (#6147)
pepyakin May 28, 2020
009868d
Allow over-weight collective proposals to be closed (#6163)
shawntabrizi May 28, 2020
f489f18
Remove the update lock on upgrade iterator (#6179)
gavofyork May 28, 2020
5b4ed42
Wasm-builder `runtime-wasm` feature (#6177)
bkchr May 28, 2020
fc2e119
fix/review: remove doc hidden on private item (#6186)
drahnr May 29, 2020
cd305af
Make `Proposer` consume its reference on `propose` (#6190)
bkchr May 29, 2020
12b6c5d
Pin async-std to <1.6 (#6193)
tomaka May 30, 2020
4077246
Add a Substrate networking Grafana dashboard template (#6171)
tomaka Jun 1, 2020
9ebcda4
Update import metrics and add verification time (#6170)
NikVolf Jun 1, 2020
4c29f1c
report only on successfull block (#6187)
NikVolf Jun 1, 2020
f85fabd
Fix Rustdoc Build (#6207)
danforbes Jun 1, 2020
77819ad
impl FindAuthor<T::AuthorityId> for Aura (#6205)
JoshOrndorff Jun 2, 2020
cac1f43
Remove ReportHandle (#6213)
tomaka Jun 2, 2020
e51e287
pallet-evm ensure gas_price + Storage getter (#6191)
tgmichel Jun 2, 2020
d980d6b
Allow ExistentialDeposit = 0 (#6185)
xlc Jun 2, 2020
15cd657
Accept new Phragmén solutions if they are epsilon better + Better pre…
kianenigma Jun 2, 2020
3833722
refactor CI (#6176)
TriplEight Jun 2, 2020
342caad
Generalised proxies (#6156)
gavofyork Jun 2, 2020
799f5c1
block.tx[0] is not invalid if on_initialize is too heavy (#6217)
svyatonik Jun 2, 2020
82f254e
fix millis display (#6227)
NikVolf Jun 3, 2020
37d19c8
Make dev profile faster by compiling deps with opt-level=3 (#6228)
tomaka Jun 3, 2020
2743ed4
Fix libp2p features (#6229)
tomaka Jun 3, 2020
b4b6ab9
Split tx pool and offchain notification handling (#6231)
bkchr Jun 3, 2020
6ec5976
Add run_full_node, run_light_node and print_node_infos to the API (#…
cecton Jun 3, 2020
b86eeb2
The link to getting-started was obsolete. (#6238)
zx9w Jun 4, 2020
f028a50
Use Subscription Manager from `jsonrpc-pubsub` (#6208)
HCastano Jun 4, 2020
fb77af0
Fix peerset not filtering incoming connections in reserved-only (#6249)
tomaka Jun 4, 2020
fc11ba9
Fix service tests not calling update_chain (#6232)
tomaka Jun 4, 2020
bf9e58c
Revert "Use Subscription Manager from `jsonrpc-pubsub` (#6208)" (#6252)
andresilva Jun 4, 2020
a89dfc5
Revert "Remove balances migration. (#5224)"
apopiak Jun 4, 2020
e0e8501
impl_opaque_keys should allow doc comments (#6255)
Demi-Marie Jun 4, 2020
6745240
Use number of downloaded blocks for test (#6234)
arkpar Jun 4, 2020
3451ed1
Sentry nodes and validator nodes also imply reserved (#6251)
tomaka Jun 4, 2020
606b4fa
Remove pre-simple-payout code from staking (#6253)
kianenigma Jun 5, 2020
252b146
Rename all the election operations (#6245)
kianenigma Jun 5, 2020
9ce0774
Make transaction pool prune transactions only of canonical blocks (#6…
bkchr Jun 5, 2020
b74957d
Allow "anonymous" proxied accounts (#6236)
gavofyork Jun 6, 2020
37bbc55
Enable fixed point u128 (#6214)
marcio-diaz Jun 6, 2020
d68cfd7
Fix the metered unbounded sender/recievers (#6246)
expenses Jun 6, 2020
9fe0da5
Fix transaction pruning in tx-pool (#6276)
bkchr Jun 8, 2020
39a3372
Introduce stacked filtering (#6273)
gavofyork Jun 8, 2020
4a56061
client/api: fix possible deadlock when comparing with itself (#6277)
Jun 8, 2020
a5bf77d
Make all features explicit (#6267)
pscott Jun 8, 2020
3cb05a1
Use Subscription Manager from `jsonrpc-pubsub`: The Sequel (#6254)
HCastano Jun 8, 2020
669702e
Temporary and Heavy Weights for Society Pallet (#6283)
shawntabrizi Jun 8, 2020
f0eef06
Weights for Indices Pallet (#6282)
shawntabrizi Jun 8, 2020
563e627
setting to rc3
gnunicorn Jun 8, 2020
34695a8
adding Changelog
gnunicorn Jun 8, 2020
aec1f45
adjust type imports and remove test
apopiak Jun 11, 2020
f25d401
Assign unique storage names to pallets. (#5010)
shawntabrizi Mar 14, 2020
3186693
add weights to runtime migrations
apopiak Jun 12, 2020
7bb2ce7
use max block weight for balances migration
apopiak Jun 12, 2020
031e3f8
temporarily remove failing contracts migration
apopiak Jun 16, 2020
7fad36f
add more logging for migrations
apopiak Jun 16, 2020
cf6f060
fix transaction-payment migration by converting multiplier type
apopiak Jun 16, 2020
77f0b89
add more logging to balance migration
apopiak Jun 16, 2020
98221c1
more balance migration logging
apopiak Jun 16, 2020
5091c24
format balance migration
apopiak Jun 16, 2020
7a56883
even more balance migration logging
apopiak Jun 16, 2020
843facf
remove logging in loop and change upgrade flag type to bool
apopiak Jun 16, 2020
81915a6
cherry-pick #5226 (dd97b1478b31a4715df7e88a5ebc6664425fb6c6)
apopiak Jun 17, 2020
948320b
use test accounts for account migration
apopiak Jun 18, 2020
c804e1f
Merge pull request #7 from hicommonwealth/apopiak-hasher-migration
apopiak Jun 18, 2020
776fe92
move balances and accounts migrations out for custom calling
apopiak Jun 18, 2020
3190077
make migration mods public
apopiak Jun 18, 2020
4a9655f
fix transaction-payment migration based on https://github.com/parityt…
apopiak Jun 23, 2020
8b2c9db
Merge tag 'v2.0.0-rc3' into apopiak-merge-upstream
apopiak Jun 23, 2020
fee4052
Drew.merge upstream (#9)
drewstone Jun 23, 2020
12ed492
add emojis to logging 😁
apopiak Jun 26, 2020
8ca7da5
add staking migration (lazy payouts & simple payouts)
apopiak Jun 26, 2020
39a031b
fix logging typo
apopiak Jun 26, 2020
642d385
Add prime member migrattion
drewstone Jun 28, 2020
e1ff57d
Merge pull request #10 from hicommonwealth/apopiak-staking-migration
apopiak Jun 29, 2020
36272c4
Merge pull request #11 from hicommonwealth/drew-migrations-after-staking
apopiak Jun 29, 2020
50eb114
fix phragmen migration
apopiak Jun 29, 2020
0ad4f35
Add democracy migration and fix contracts migration (#12)
apopiak Jul 2, 2020
a56bcef
Add legacy network option back (#13)
drewstone Jul 7, 2020
fc1e1a4
Indices migration and fixes (#14)
apopiak Jul 7, 2020
8d20a7f
add migrations logs for indices
apopiak Jul 8, 2020
9e9223c
add multisig migration
apopiak Jul 8, 2020
536a92f
add logging to multisigs
apopiak Jul 8, 2020
4760f90
add printing to withdraw error
apopiak Jul 8, 2020
ddf1bec
log at InvalidTransaction::Payment locations
apopiak Jul 8, 2020
24e8b2e
panic in places where error is created
apopiak Jul 8, 2020
11f06d7
panic in withdraw_fee
apopiak Jul 9, 2020
31f3e0e
add panic in democracy
apopiak Jul 9, 2020
cfcde99
Revert "add panic in democracy"
apopiak Jul 9, 2020
8b3191a
log validate_transaction
apopiak Jul 9, 2020
7dcf8a0
more panics :-D
apopiak Jul 9, 2020
6102fed
remove panic
apopiak Jul 9, 2020
09648cc
remove panic in withdraw
apopiak Jul 9, 2020
1229174
log fee calculation
apopiak Jul 9, 2020
59f3d82
frame_system -> frame_support
apopiak Jul 9, 2020
cd45506
use debug formatter
apopiak Jul 9, 2020
a8aa9bb
set multiplier to default value
apopiak Jul 9, 2020
86caa9a
remove extra logging
apopiak Jul 10, 2020
bb92608
extract multisig migration into module
apopiak Jul 10, 2020
027b7ba
add newline
apopiak Jul 10, 2020
a5256dc
set new storage version for transaction payment pallet
apopiak Jul 10, 2020
0b2a655
Merge pull request #15 from hicommonwealth/apopiak-multisig-migration
apopiak Jul 10, 2020
a3da454
fix session migration (#17)
apopiak Jul 22, 2020
9c11e7a
Adds more accounts to scale file
drewstone Jul 30, 2020
62f53c0
Ups versions
drewstone Jul 31, 2020
70657f5
Fixes toml
drewstone Jul 31, 2020
81391c7
Adds versioning to staking migration (#20)
drewstone Aug 4, 2020
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ indent_style=space
indent_size=2
tab_width=8
end_of_line=lf

[*.sh]
indent_style=space
indent_size=2
tab_width=8
end_of_line=lf
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Release failure for {{ ref }}
---

Pipeline for release {{ ref }} failed. Please investigate.

If the pipeline has failed before pushing to crates.io, delete the release tag
and fix the release as necessary, retagging after complete. If the pipeline has
failed after pushing to crates.io, create a new tag incrementing the version.
21 changes: 21 additions & 0 deletions .github/workflows/auto-label-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Label PRs
on:
pull_request:
types: [opened,ready_for_review]

jobs:
label-new-prs:
runs-on: ubuntu-latest
steps:
- name: Label drafts
uses: andymckay/labeler@master
if: github.event.pull_request.draft == true
with:
add-labels: 'A3-inprogress'
remove-labels: 'A0-pleasereview'
- name: Label PRs
uses: andymckay/labeler@master
if: github.event.pull_request.draft == false && ! contains(github.event.pull_request.labels.*.name, 'A2-insubstantial')
with:
add-labels: 'A0-pleasereview'
remove-labels: 'A3-inprogress'
30 changes: 30 additions & 0 deletions .github/workflows/check-gitlab-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# A github action to track the status of the gitlab pipeline for tagged
# releases, and cancel the release/create a new issue if it fails

name: Monitor gitlab pipeline status

on:
push:
tags:
- v*
- ci-release-*

jobs:
monitor:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Monitor pipeline
run: env; ./.maintain/github/check_gitlab_pipeline.sh
id: monitor_pipeline
env:
TAGGER: ${{ github.event.pusher.name }}
- name: Create Issue
if: failure()
uses: JasonEtco/create-an-issue@v2
with:
filename: .github/ISSUE_TEMPLATE/release.md
assignees: ${{ github.event.pusher.name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/polkadot-companion-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check Polkadot Companion and Label

on:
pull_request:
types: [opened, synchronize]

jobs:
check_status:
runs-on: ubuntu-latest
steps:
- name: Monitor the status of the gitlab-check-companion-build job
uses: s3krit/await-status-action@v1.0.1
id: 'check-companion-status'
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
contexts: 'continuous-integration/gitlab-check-polkadot-companion-build'
timeout: 1800
notPresentTimeout: 3600 # It can take quite a while before the job starts...
failedStates: failure
interruptedStates: error # Error = job was probably cancelled. We don't want to label the PR in that case
- name: Label success
uses: andymckay/labeler@master
if: steps.check-companion-status.outputs.result == 'success'
with:
remove-labels: 'A7-needspolkadotpr'
- name: Label failure
uses: andymckay/labeler@master
if: steps.check-companion-status.outputs.result == 'failure'
with:
add-labels: 'A7-needspolkadotpr'
20 changes: 20 additions & 0 deletions .github/workflows/trigger-review-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger pipeline for review

on:
pull_request:
types: [ready_for_review]

jobs:
trigger:
runs-on: ubuntu-latest

steps:
- name: Trigger pipeline
run: |
curl -X POST \
-F token="$TOKEN" \
-F ref="$REF" \
https://gitlab.parity.io/api/v4/projects/145/trigger/pipeline
env:
REF: ${{ github.event.number }}
TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ rls*.log
.local
**/hfuzz_target/
**/hfuzz_workspace/
.cargo/
Loading