Skip to content

Commit

Permalink
[pinpoint-apm#8243] When a release event occurs in the Pinpoint githu…
Browse files Browse the repository at this point in the history
…b repository, https://github.com/pinpoint-apm/pinpoint-apm.github.io sends the repository dispatch event, and the payload includes release author information, release title, and body. An action that receives a repository dispatch event from https://github.com/pinpoint-apm/pinpoint-apm.github.io updates the release notes and compatibility tables on the Pinpoint website.
  • Loading branch information
feelform committed Nov 11, 2021
1 parent 81def63 commit c996980
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 129 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/homepage.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Homepage

on:
push:
branches: [ feature/repository_dispatch ]
jobs:
on:
release:
types: [published]

build:
jobs:
repository-dispatch-event:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: pinpoint-apm/pinpoint
event-type: my-event
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: pinpoint-apm/pinpoint-apm.github.io
event-type: release-pinpoint
client-payload: '{"username": "${{ github.actor }}", "release": ${{ toJSON(github.event.release) }}}'
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ For a more intimate guide, please check out our *[Introduction to Pinpoint](http
## Compatibility

Java version required to run Pinpoint:

<!-- <compatibilityJava.md> -->
Pinpoint Version | Agent | Collector | Web
---------------- | ----- | --------- | ---
1.7.x | 6-8 | 8 | 8
Expand All @@ -83,9 +83,9 @@ Pinpoint Version | Agent | Collector | Web
2.1.x | 6-14 | 8 | 8
2.2.x | 7-14 | 8 | 8
2.3.x | 7-17 | 8 | 8

<!-- </compatibilityJava.md> -->
HBase compatibility table:

<!-- <compatibilityHbase.md> -->
Pinpoint Version | HBase 1.0.x | HBase 1.2.x | HBase 1.4.x | HBase 2.0.x
---------------- | ----------- | ----------- | ----------- | -----------
1.7.x | not tested | yes | yes | no
Expand All @@ -94,9 +94,9 @@ Pinpoint Version | HBase 1.0.x | HBase 1.2.x | HBase 1.4.x | HBase 2.0.x
2.1.x | not tested | yes | yes | [optional](https://pinpoint-apm.gitbook.io/pinpoint/documents/hbase-upgrade#do-you-like-to-use-hbase-2x-for-pinpoint)
2.2.x | not tested | yes | yes | [optional](https://pinpoint-apm.gitbook.io/pinpoint/documents/hbase-upgrade#do-you-like-to-use-hbase-2x-for-pinpoint)
2.3.x | not tested | yes | yes | [hbase2-module](https://github.com/pinpoint-apm/pinpoint/tree/master/hbase2-module)

<!-- </compatibilityHbase.md> -->
Agent - Collector compatibility table:

<!-- <compatibilityPinpoint.md> -->
Agent Version | Collector 1.7.x | Collector 1.8.x | Collector 2.0.x | Collector 2.1.x | Collector 2.2.x | Collector 2.3.x |
------------- | --------------- | --------------- | --------------- | --------------- | --------------- | --------------- |
1.7.x | yes | yes | yes | yes | yes | yes
Expand All @@ -105,7 +105,7 @@ Agent Version | Collector 1.7.x | Collector 1.8.x | Collector 2.0.x | Collector
2.1.x | no | no | no | yes | yes | yes
2.2.x | no | no | no | no | yes | yes
2.3.x | no | no | no | no | no | yes

<!-- </compatibilityPinpoint.md> -->
Flink compatibility table:

Pinpoint Version | flink 1.3.X | flink 1.4.X | flink 1.5.X | flink 1.6.X | flink 1.7.X
Expand Down
14 changes: 7 additions & 7 deletions doc/compatibilityHbase.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pinpoint Version | HBase 0.98.x | HBase 1.0.x | HBase 1.2.x | HBase 2.0.x
---------------- | ------------ | ----------- | ----------- | -----------
1.5.x | not tested | yes | not tested | no
1.6.x | not tested | not tested | yes | no
1.7.x | not tested | not tested | yes | no
1.8.x | not tested | not tested | yes | no
2.0.x | not tested | not tested | yes | optional
| Pinpoint Version | HBase 0.98.x | HBase 1.0.x | HBase 1.2.x | HBase 2.0.x |
| :--- | :--- | :--- | :--- | :--- |
| 1.5.x | not tested | yes | not tested | no |
| 1.6.x | not tested | not tested | yes | no |
| 1.7.x | not tested | not tested | yes | no |
| 1.8.x | not tested | not tested | yes | no |
| 2.0.x | not tested | not tested | yes | optional |
16 changes: 8 additions & 8 deletions doc/compatibilityJava.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Pinpoint Version | Agent | Collector | Web
---------------- | ----- | --------- | ---
1.5.x | 6-8 | 7-8 | 7-8
1.6.x | 6-8 | 7-8 | 7-8
1.7.x | 6-8 | 8 | 8
1.8.0 | 6-10 | 8 | 8
1.8.1+ | 6-11 | 8 | 8
2.0.x | 6-11 | 8 | 8
| Pinpoint Version | Agent | Collector | Web |
| :--- | :--- | :--- | :--- |
| 1.5.x | 6-8 | 7-8 | 7-8 |
| 1.6.x | 6-8 | 7-8 | 7-8 |
| 1.7.x | 6-8 | 8 | 8 |
| 1.8.0 | 6-10 | 8 | 8 |
| 1.8.1+ | 6-11 | 8 | 8 |
| 2.0.x | 6-11 | 8 | 8 |
14 changes: 7 additions & 7 deletions doc/compatibilityPinpoint.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Agent Version | Collector 1.5.x | Collector 1.6.x | Collector 1.7.x | Collector 1.8.x | Collector 2.0.x
------------- | --------------- | --------------- | --------------- | --------------- | ---------------
1.5.x | yes | yes | yes | yes | yes
1.6.x | not tested | yes | yes | yes | yes
1.7.x | no | no | yes | yes | yes
1.8.x | no | no | no | yes | yes
2.0.x | no | no | no | no | yes
| Agent Version | Collector 1.5.x | Collector 1.6.x | Collector 1.7.x | Collector 1.8.x | Collector 2.0.x |
| :--- | :--- | :--- | :--- | :--- | :--- |
| 1.5.x | yes | yes | yes | yes | yes |
| 1.6.x | not tested | yes | yes | yes | yes |
| 1.7.x | no | no | yes | yes | yes |
| 1.8.x | no | no | no | yes | yes |
| 2.0.x | no | no | no | no | yes |
Loading

0 comments on commit c996980

Please sign in to comment.