Skip to content

Commit

Permalink
Epic/6638/pubsub extension (#6)
Browse files Browse the repository at this point in the history
added gcp pubsub extension sdk
  • Loading branch information
Florian-Limpoeck authored Aug 24, 2022
1 parent e3b58a1 commit d4c9d10
Show file tree
Hide file tree
Showing 36 changed files with 3,433 additions and 1 deletion.
1,161 changes: 1,161 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish to Maven Central

on:
release:
types: [ published ]

jobs:
publish:
environment: mavenCentralPublish
runs-on: ubuntu-latest
steps:
- name: Configure git
env:
TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: git config --global url."https://${TOKEN}:[email protected]/".insteadOf "https://github.com/"
- name: Checkout
uses: actions/checkout@v2
- name: Checkout hivemq-platform
run: |
git clone https://github.com/hivemq/hivemq-platform.git ../hivemq-platform
cd ../hivemq-platform
git checkout "${GITHUB_REF##*/}" || true
cd ../hivemq-pubsub-extension-customization-sdk
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Check
run: ./gradlew check
- name: Publish to Maven Central
env:
ORG_GRADLE_PROJECT_signKey: ${{ secrets.SIGN_KEY }}
ORG_GRADLE_PROJECT_signKeyPass: ${{ secrets.SIGN_KEY_PASS }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Gradle
.gradle
build/

# IntelliJ
out/
*.iml
.idea/*
!.idea/codeStyles
!.idea/inspectionProfiles
!.idea/runConfigurations

.java-version
.DS_Store
335 changes: 335 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d4c9d10

Please sign in to comment.