This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'buildable_revert-libp2p-0.52' into HEAD
... so that we can test in versi without worring about the regression introduced by the recent p2p upgrade.
- Loading branch information
Showing
173 changed files
with
4,590 additions
and
2,433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,19 @@ on: | |
jobs: | ||
notify-devops: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
channel: | ||
- name: 'Team: DevOps' | ||
room: '!lUslSijLMgNcEKcAiE:parity.io' | ||
|
||
steps: | ||
- name: Notify devops | ||
if: github.event.label.name == 'A1-needsburnin' | ||
uses: s3krit/[email protected] | ||
- name: Send Matrix message to ${{ matrix.channel.name }} | ||
if: startsWith(github.event.label.name, 'A1-') | ||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 | ||
with: | ||
room_id: ${{ secrets.POLKADOT_DEVOPS_MATRIX_ROOM_ID }} | ||
access_token: ${{ secrets.POLKADOT_DEVOPS_MATRIX_ACCESS_TOKEN }} | ||
message: "@room Burn-in request received for the following PR: ${{ github.event.pull_request.html_url }}" | ||
server: "matrix.parity.io" | ||
room_id: ${{ matrix.channel.room }} | ||
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }} | ||
server: m.parity.io | ||
message: | | ||
@room Burn-in request received for the following PR: ${{ github.event.pull_request.html_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,12 @@ on: | |
jobs: | ||
tag_rc: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
channel: | ||
- name: "RelEng: Polkadot Release Coordination" | ||
room: '!cqAmzdIcbOFwrdrubV:parity.io' | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
@@ -33,6 +39,7 @@ jobs: | |
echo "new_tag=$version-rc1" >> $GITHUB_OUTPUT | ||
echo "first_rc=true" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Apply new tag | ||
uses: tvdias/github-tagger@ed7350546e3e503b5e942dffd65bc8751a95e49d # v0.0.2 | ||
with: | ||
|
@@ -41,6 +48,7 @@ jobs: | |
# RELEASE_BRANCH_TOKEN requires public_repo OAuth scope | ||
repo-token: "${{ secrets.RELEASE_BRANCH_TOKEN }}" | ||
tag: ${{ steps.compute_tag.outputs.new_tag }} | ||
|
||
- id: create-issue | ||
uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # v2.9.1 | ||
# Only create the issue if it's the first release candidate | ||
|
@@ -50,11 +58,14 @@ jobs: | |
VERSION: ${{ steps.compute_tag.outputs.version }} | ||
with: | ||
filename: .github/ISSUE_TEMPLATE/release.md | ||
- name: Send Matrix message | ||
uses: s3krit/[email protected] | ||
|
||
- name: Send Matrix message to ${{ matrix.channel.name }} | ||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 | ||
if: steps.create-issue.outputs.url != '' | ||
with: | ||
room_id: ${{ secrets.INTERNAL_POLKADOT_MATRIX_ROOM_ID }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
server: "matrix.parity.io" | ||
message: "Release process for polkadot ${{ steps.compute_tag.outputs.version }} has been started. Tracking issue: ${{ steps.create-issue.outputs.url }}" | ||
room_id: ${{ matrix.channel.room }} | ||
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }} | ||
server: m.parity.io | ||
message: | | ||
Release process for polkadot ${{ steps.compute_tag.outputs.version }} has been started.<br/> | ||
Tracking issue: ${{ steps.create-issue.outputs.url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,11 +181,19 @@ jobs: | |
post_to_matrix: | ||
runs-on: ubuntu-latest | ||
needs: publish-draft-release | ||
strategy: | ||
matrix: | ||
channel: | ||
- name: "RelEng: Polkadot Release Coordination" | ||
room: '!cqAmzdIcbOFwrdrubV:parity.io' | ||
|
||
steps: | ||
- name: Internal polkadot channel | ||
uses: s3krit/[email protected] | ||
- name: Send Matrix message to ${{ matrix.channel.name }} | ||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 | ||
with: | ||
room_id: ${{ secrets.INTERNAL_POLKADOT_MATRIX_ROOM_ID }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
message: "**New version of polkadot tagged**: ${{ github.ref }}<br/>Draft release created: ${{ needs.publish-draft-release.outputs.release_url }}" | ||
server: "matrix.parity.io" | ||
room_id: ${{ matrix.channel.room }} | ||
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }} | ||
server: m.parity.io | ||
message: | | ||
**New version of polkadot tagged**: ${{ github.ref }}<br/> | ||
Draft release created: ${{ needs.publish-draft-release.outputs.release_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,17 +21,29 @@ jobs: | |
- name: '#polkadot-announcements:matrix.parity.io' | ||
room: '!UqHPWiCBGZWxrmYBkF:matrix.parity.io' | ||
pre-release: false | ||
- name: "RelEng: Polkadot Release Coordination" | ||
room: '!cqAmzdIcbOFwrdrubV:parity.io' | ||
pre-release: true | ||
- name: 'Ledger <> Polkadot Coordination' | ||
room: '!EoIhaKfGPmFOBrNSHT:web3.foundation' | ||
pre-release: true | ||
- name: 'General: Rust, Polkadot, Substrate' | ||
room: '!aJymqQYtCjjqImFLSb:parity.io' | ||
pre-release: false | ||
- name: 'Team: DevOps' | ||
room: '!lUslSijLMgNcEKcAiE:parity.io' | ||
pre-release: true | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Send Matrix message to ${{ matrix.channel.name }} | ||
if: github.event.release.prerelease == false || matrix.channel.pre-release | ||
uses: s3krit/[email protected] | ||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 | ||
with: | ||
room_id: ${{ matrix.channel.room }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
server: "m.parity.io" | ||
message: "***Polkadot ${{github.event.release.tag_name}} has been released!***<br/>${{github.event.release.html_url}}<br/><br/>${{github.event.release.body}}<br/>" | ||
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }} | ||
server: m.parity.io | ||
message: | | ||
***Polkadot ${{github.event.release.tag_name}} has been released!***<br/> | ||
${{github.event.release.html_url}}<br/><br/> | ||
${{github.event.release.body}}<br/> |
Oops, something went wrong.