Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/inter 541 #36

Merged
merged 31 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6398cfc
feat: support java versions 17 and 21
Mar 26, 2024
71ad13a
chore: update swagger annotations
Mar 26, 2024
642fe0e
chore: update jackson fasterxml dependency
Mar 26, 2024
4996427
chore: update junit5 version
Mar 26, 2024
1c13034
chore: update jersey version
Mar 26, 2024
993a946
chore: update gradle to 8.7
Mar 26, 2024
60456b8
chore: update mockito version
Mar 26, 2024
3651972
chore: use shared logos
Mar 26, 2024
599df68
chore: remove hardcoded logos
Mar 26, 2024
07356b4
chore: set supported java versions
Mar 26, 2024
f1d1653
chore: use github app for release
Mar 26, 2024
a25ed88
chore: update supported java versions
Mar 26, 2024
c277b22
chore: run functional tests for java 17 and 21
Mar 26, 2024
e3aa887
chore: update release flow
Mar 26, 2024
6cd9dc5
chore: move releaserc file
Mar 26, 2024
cb1f378
chore: set java version
Mar 26, 2024
26d64cf
chore: remove old semantic release call
Mar 26, 2024
4ab5e7e
chore: remove old publisher
Mar 26, 2024
52edd98
chore: move publish part to releaserc
Mar 26, 2024
012d061
chore: update github actions to new versions
Mar 27, 2024
c73750a
chore: update readme
Mar 27, 2024
be8ae3d
chore: update status reporter
Mar 27, 2024
b115ea2
chore: remove redundant env
Mar 27, 2024
aeb7c09
chore: use dx-toolkit for semantic release plugins
Mar 27, 2024
f1c1c1a
chore: use dx-toolkit for analyzing commits
Mar 27, 2024
6b9b212
chore: use dx-toolkit release job
Mar 27, 2024
1e577bc
chore: no spaces in badges
Mar 27, 2024
c78903f
chore: fix spaces
Mar 27, 2024
a63d7de
chore: remove pom.xml
Mar 27, 2024
1ccd6f2
chore: update templates
Mar 27, 2024
299b205
chore: update logos
Mar 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/resources/logo_dark.svg

This file was deleted.

1 change: 0 additions & 1 deletion .github/resources/logo_light.svg

This file was deleted.

64 changes: 5 additions & 59 deletions .github/workflows/analyze-commits.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,11 @@
name: Analyze Commit Messages
on: [pull_request]
on:
pull_request:

permissions:
pull-requests: write
contents: write
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
id: commitlint
- if: ${{ failure() && steps.commitlint.outcome == 'failure' }}
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
with:
header: Commitlint
recreate: true
message: |
## Wrong commit message format detected
We use [Semantic Commit Messages](https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716) in our project.

> **Warning**
> Probably you forgot to activate local git hooks.

Run the next command in the project root to activate local hooks:
```sh
sh ./install_hooks.sh
```

More info you can find in [job logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
- if: ${{ success() }}
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
with:
header: Commitlint
hide: true
hide_classify: "OUTDATED"
release-notes-comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Collect semantic-release-info
id: semantic_release_info
uses: fingerprintjs/action-semantic-release-info@v1
- if: ${{ steps.semantic_release_info.outputs.no_release == 'false' }}
name: Add comment to the PR
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
with:
header: ReleasePreview
recreate: true
message: |
## This PR will create a ${{steps.semantic_release_info.outputs.type}} release :rocket:
${{steps.semantic_release_info.outputs.notes}}
- if: ${{ steps.semantic_release_info.outputs.no_release == 'true' }}
name: Add comment to the PR
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
with:
header: ReleasePreview
recreate: true
message: |
## This PR will not create a new release :rocket:
analyze-commits:
name: Generate docs and coverage report
uses: fingerprintjs/dx-team-toolkit/.github/workflows/analyze-commits.yml@v1
25 changes: 14 additions & 11 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '8', '11' ]
java: [ '8', '11', '17', '21' ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '${{ matrix.java }}'
Expand All @@ -31,11 +31,14 @@ jobs:
FPJS_API_REGION: "${{ secrets.FPJS_API_REGION }}"
FPJS_VISITOR_ID: "${{ secrets.FPJS_VISITOR_ID }}"
FPJS_REQUEST_ID: "${{ secrets.FPJS_REQUEST_ID }}"
- name: Report Status
if: always()
uses: ravsamhq/notify-slack-action@0d9c6ff1de9903da88d24c0564f6e83cb28faca9
with:
status: ${{ job.status }}
notification_title: 'Java ${{ matrix.java }} SDK Functional Test has {status_message}'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}


report_status:
needs: functional_tests
if: always()
uses: fingerprintjs/dx-team-toolkit/.github/workflows/report-workflow-status.yml@v1
with:
notification_title: 'Node SDK Functional Tests has {status_message}'
job_status: ${{ needs.functional_tests.result }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Loading
Loading