Skip to content

Commit

Permalink
revival (#54)
Browse files Browse the repository at this point in the history
* revival

* remove push build from build workflow

* added tests

* wip: cleaned up, removed dependencies to more stuff

* removed guava

* added docs

* added tests to example

* declared all dependencies

* regression
  • Loading branch information
jonathanlukas authored Jul 22, 2024
1 parent 5919037 commit bb2a135
Show file tree
Hide file tree
Showing 145 changed files with 4,651 additions and 2,860 deletions.
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---

name: Bug report
about: Create a report to help us improve
title: ''
labels: 'kind/bug'
assignees: ''

---

**Describe the bug**

<!-- A clear and concise description of what the bug is. -->

**To Reproduce**

<!--
Steps to reproduce the behavior
If possible add a minimal reproducer code sample
-->

**Expected behavior**

<!-- A clear and concise description of what you expected to happen. -->

**Log/Stacktrace**

<!-- If possible add the full stacktrace or log which contains the issue. -->

<details><summary>Full Stacktrace</summary>
<p>

```
<STACKTRACE>
```

</p>
</details>

**Environment:**
- OS: <!-- [e.g. Linux] -->
- Deployment: <!-- [SaaS or SM (Self Managed) and version] -->
- Spring-Zeebe Version: <!-- [e.g. 8.2.4] -->
- SpringBoot Version: <!-- [e.g. 2.7.x, 3.x.x] -->
- Configuration: <!-- [e.g. exporters etc.] -->
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---

name: Documentation issue
about: Changes to the documentation
title: ''
labels: 'kind/documentation'
assignees: ''

---

**Description**

A clear and concise description of what this issue is about.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---

name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'kind/feature'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
46 changes: 0 additions & 46 deletions .github/workflows/gradle-publish.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/mvn-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build via Maven and run tests

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java environment
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn verify -PcheckFormat -B
58 changes: 58 additions & 0 deletions .github/workflows/mvn-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# If this workflow is triggered by a push to either main or release branches then it
# deploys a SNAPSHOT
# If this workflow is triggered by publishing a Release, it
# deploys a RELEASE with the selected version
# updates the project version by incrementing the patch version
# commits the version update change to the repository's branch that triggered the workflow.
name: Deploy artifacts with Maven

on:
push:
branches:
- main
- release/**
release:
types: [ published ]
jobs:
publish:
runs-on: ubuntu-22.04
steps:

- name: Check out code
uses: actions/checkout@v4

- name: Set up Java environment
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: maven
gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }}
gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE

- name: Deploy SNAPSHOT / Release
uses: camunda-community-hub/community-action-maven-release@v1
with:
release-version: ${{ github.event.release.tag_name }}
maven-url: s01.oss.sonatype.org
nexus-usr: ${{ secrets.NEXUS_USR }}
nexus-psw: ${{ secrets.NEXUS_PSW }}
maven-usr: ${{ secrets.MAVEN_CENTRAL_DEPLOYMENT_USR }}
maven-psw: ${{ secrets.MAVEN_CENTRAL_DEPLOYMENT_PSW }}
maven-additional-options: -U
maven-gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE }}
maven-auto-release-after-close: true
github-token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.event.release.target_commitish || github.ref_name }}
id: release

- if: github.event.release
name: Attach artifacts to GitHub Release (Release only)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.release.outputs.artifacts_archive_path }}
asset_name: ${{ steps.release.outputs.artifacts_archive_path }}
asset_content_type: application/zip
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
HELP.md
.gradle
build/
target
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
Expand Down
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Code of Conduct
# Code of Conduct

### View the [Camunda Code of Conduct](https://camunda.com/events/code-conduct/) and find ways to report violations.
### View the [Camunda Code of Conduct](https://camunda.com/events/code-conduct/) and find ways to report violations.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ These are roles that are not code-based, but require some knowledge in that you
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
- [GitHub Help](https://help.github.com)
- [CODE_OF_CONDUCT](https://github.com/camunda-community-hub/community/blob/main/CODE_OF_CONDUCT.MD)
- [CODE_OF_CONDUCT](https://github.com/camunda-community-hub/community/blob/main/CODE_OF_CONDUCT.MD)
Loading

0 comments on commit bb2a135

Please sign in to comment.