Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 6f7f450

Browse files
authored
Merge branch 'master' into nv-bench-proposer
2 parents baaf537 + 99ee2d7 commit 6f7f450

322 files changed

Lines changed: 8196 additions & 6470 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# If the author of the issues is not a contributor to the project, label
2+
# the issue with 'Z0-unconfirmed'
3+
4+
name: Label New Issues
5+
on:
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
label-new-issues:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Label drafts
14+
uses: andymckay/labeler@master
15+
if: github.event.issue.author_association == "NONE"
16+
with:
17+
add-labels: 'Z0-unconfirmed'

.github/workflows/polkadot-companion-labels.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Monitor the status of the gitlab-check-companion-build job
12-
uses: s3krit/await-status-action@4528ebbdf6e29bbec77c41caad1b2dec148ba894
12+
uses: s3krit/await-status-action@v1.0.1
1313
id: 'check-companion-status'
1414
with:
1515
authToken: ${{ secrets.GITHUB_TOKEN }}
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
contexts: 'continuous-integration/gitlab-check-polkadot-companion-build'
1818
timeout: 1800
1919
notPresentTimeout: 3600 # It can take quite a while before the job starts...
20+
failureStates: failure
21+
interruptedStates: error # Error = job was probably cancelled. We don't want to label the PR in that case
2022
- name: Label success
2123
uses: andymckay/labeler@master
2224
if: steps.check-companion-status.outputs.result == 'success'

.maintain/gitlab/generate_changelog.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,17 @@ while IFS= read -r line; do
1919
if has_label 'paritytech/substrate' "$pr_id" 'B0-silent'; then
2020
continue
2121
fi
22-
if has_label 'paritytech/substrate' "$pr_id" 'B1-runtimenoteworthy'; then
23-
runtime_changes="$runtime_changes
22+
if has_label 'paritytech/substrate' "$pr_id" 'B3-apinoteworthy' ; then
23+
api_changes="$api_changes
2424
$line"
2525
fi
26-
if has_label 'paritytech/substrate' "$pr_id" 'B1-clientnoteworthy'; then
26+
if has_label 'paritytech/substrate' "$pr_id" 'B5-clientnoteworthy'; then
2727
client_changes="$client_changes
2828
$line"
2929
fi
30-
if has_label 'paritytech/substrate' "$pr_id" 'B1-apinoteworthy' ; then
31-
api_changes="$api_changes
30+
if has_label 'paritytech/substrate' "$pr_id" 'B7-runtimenoteworthy'; then
31+
runtime_changes="$runtime_changes
3232
$line"
33-
continue
3433
fi
3534
done <<< "$all_changes"
3635

.maintain/gitlab/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ api_base="https://api.github.com/repos"
55
# Function to take 2 git tags/commits and get any lines from commit messages
66
# that contain something that looks like a PR reference: e.g., (#1234)
77
sanitised_git_logs(){
8-
git --no-pager log --pretty=format:"%s" "$1..$2" |
8+
git --no-pager log --pretty=format:"%s" "$1...$2" |
99
# Only find messages referencing a PR
1010
grep -E '\(#[0-9]+\)' |
1111
# Strip any asterisks

.maintain/sentry-node/docker-compose.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ services:
131131
- "sub-authority-discovery=trace"
132132
- "--prometheus-external"
133133

134-
ui:
135-
image: polkadot-js/apps
136-
ports:
137-
- "3000:80"
138-
139134
prometheus:
140135
image: prom/prometheus
141136
networks:

.maintain/sentry-node/prometheus/prometheus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ global:
22
scrape_interval: 15s
33

44
scrape_configs:
5-
- job_name: 'substrate_validator-a'
5+
- job_name: 'substrate-nodes'
66
static_configs:
77
- targets: ['validator-a:9615']
88
labels:

0 commit comments

Comments
 (0)