forked from thingsboard/thingsboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rocknitive-fork' into release-3.6
- Loading branch information
Showing
21 changed files
with
246 additions
and
137 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
branches: [ release-* ] | ||
push: | ||
branches: [ release-* ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'zulu' | ||
|
||
- name: Build with Maven | ||
working-directory: ${{github.workspace}} | ||
run: mvn clean install --batch-mode --update-snapshots -Dlicense.skip -DskipTests -Ddockerfile.skip=false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
env: | ||
DOCKER_REGISTRY: ghcr.io | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
distribution: 'zulu' | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{env.DOCKER_REGISTRY}} | ||
username: ${{github.actor}} | ||
password: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Parse tag | ||
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV | ||
|
||
- name: Set version from tag | ||
working-directory: ${{github.workspace}} | ||
run: mvn versions:set -DnewVersion=${{env.TAG_VERSION}} -DgenerateBackupPoms=false | ||
|
||
- name: Build with Maven and push Docker images | ||
working-directory: ${{github.workspace}} | ||
run: mvn clean install --batch-mode --update-snapshots -Dlicense.skip -DskipTests -Ddockerfile.skip=false -Ddocker.repo=${{env.DOCKER_REGISTRY}}/${{github.repository_owner}} -Dpush-docker-image | ||
|
||
- name: Append version to filename of thingsboard.deb | ||
working-directory: ${{github.workspace}}/application/target/ | ||
run: mv thingsboard.deb thingsboard-${{env.TAG_VERSION}}.deb | ||
|
||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
generate_release_notes: true | ||
files: ${{github.workspace}}/application/target/thingsboard-${{env.TAG_VERSION}}.deb |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
test.message.subject=Test message from Thingsboard | ||
activation.subject=Your account activation on Thingsboard | ||
account.activated.subject=Thingsboard - your account has been activated | ||
reset.password.subject=Thingsboard - Password reset has been requested | ||
password.was.reset.subject=Thingsboard - your account password has been reset | ||
account.lockout.subject=Thingsboard - User account has been lockout | ||
api.usage.state=Thingsboard - Account limits | ||
2fa.verification.code.subject=ThingsBoard - 2FA verification code | ||
test.message.subject=Test message from [Rocknitive] Suite | ||
activation.subject=[Rocknitive] Account-Aktivierung | ||
account.activated.subject=[Rocknitive] - Account wurde aktiviert | ||
reset.password.subject=[Rocknitive] - Zurücksetzen des Passworts angefragt | ||
password.was.reset.subject=[Rocknitive] - Passwort wurde zurückgesetzt | ||
account.lockout.subject=[Rocknitive] - Account wurde gesperrt | ||
api.usage.state=[Rocknitive] - Account limits | ||
2fa.verification.code.subject=[Rocknitive] - 2FA verification code |
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
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
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
Oops, something went wrong.