-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/line/armeria into add-tlsEn…
…gineType-enum
- Loading branch information
Showing
399 changed files
with
14,636 additions
and
4,176 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
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,31 @@ | ||
version: 2 | ||
registries: | ||
gradle-plugin-portal: | ||
type: maven-repository | ||
url: https://plugins.gradle.org/m2 | ||
username: dummy # Required by dependabot | ||
password: dummy # Required by dependabot | ||
updates: | ||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
registries: | ||
- gradle-plugin-portal | ||
schedule: | ||
interval: "daily" | ||
time: "10:00" | ||
# Use Korea Standard Time (UTC +09:00) | ||
timezone: "Asia/Seoul" | ||
open-pull-requests-limit: 10 | ||
allow: | ||
- dependency-name: "com.gradle.enterprise" | ||
dependency-type: "production" | ||
- dependency-name: "com.gradle.common-custom-user-data-gradle-plugin" | ||
dependency-type: "production" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "10:00" | ||
# Use Korea Standard Time (UTC +09:00) | ||
timezone: "Asia/Seoul" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Release a new Armeria version | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release_version: | ||
description: 'Release Version' | ||
required: true | ||
type: string | ||
next_version: | ||
description: 'Next Version' | ||
required: true | ||
type: string | ||
|
||
env: | ||
LC_ALL: "en_US.UTF-8" | ||
|
||
jobs: | ||
tag-new-version: | ||
if: github.repository == 'line/armeria' | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: Validate inputs | ||
run: | | ||
if [[ ! "${{ inputs.release_version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | ||
echo "Error: 'release_version' should be in SemVer format." | ||
exit 1 | ||
fi | ||
if [[ ! "${{ inputs.next_version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | ||
echo "Error: 'next_version' should be in SemVer format." | ||
exit 1 | ||
fi | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_ACCESS_TOKEN }} | ||
|
||
- name: Set up Git remote | ||
run: | | ||
git remote set-url origin https://github.com/line/armeria.git | ||
shell: bash | ||
|
||
- name: Import GPG key | ||
id: import_gpg | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSWORD }} | ||
git_user_signingkey: true | ||
git_commit_gpgsign: true | ||
|
||
- id: setup-jdk-19 | ||
name: Set up JDK 19 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '19' | ||
|
||
- name: Set up Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
|
||
- name: Bump up version | ||
run: | | ||
./gradlew --no-daemon --stacktrace --max-workers=1 release \ | ||
-PreleaseVersion=${{ inputs.release_version }} \ | ||
-PnextVersion=${{ inputs.next_version }} | ||
shell: bash |
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.