Release Stream PerfTest #1
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
name: Release Stream PerfTest | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'maven' | |
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} | |
gpg-passphrase: MAVEN_GPG_PASSPHRASE | |
- name: Release Stream PerfTest | |
run: | | |
git config user.name "rabbitmq-ci" | |
git config user.email "[email protected]" | |
ci/release-stream-perf-test.sh | |
- name: Package Stream Perf Test | |
run: ci/package-stream-perf-test.sh | |
env: | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | |
- name: Push to GitHub Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: packages/* | |
name: ${{ env.release_name }} | |
tag_name: ${{ env.tag_name }} | |
target_commitish: ${{ env.release_branch }} | |
prerelease: ${{ env.prerelease }} | |
repository: rabbitmq/rabbitmq-stream-stream-perf | |
- name: Trigger Stream Perf Test Docker image build | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
event-type: new_release | |
client-payload: >- | |
{"version": "${{ env.release_version }}", | |
"url" : "https://github.com/rabbitmq/rabbitmq-stream-perf-test/releases/download/v${{ env.release_version }}/stream-perf-test-${{ env.release_version }}.jar", | |
"tags": "pivotalrabbitmq/stream-perf-test:latest,pivotalrabbitmq/stream-perf-test:${{ env.release_version }}"} | |
- name: Publish Documentation | |
run: | | |
git config user.name "rabbitmq-ci" | |
git config user.email "[email protected]" | |
ci/publish-documentation-to-github-pages.sh |