forked from kptfh/feign-reactive
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into id-for-annotation
- Loading branch information
Showing
30 changed files
with
134 additions
and
101 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 |
---|---|---|
@@ -1,27 +1,22 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: maven | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: io.projectreactor.tools:blockhound | ||
versions: | ||
- 1.0.5.RELEASE | ||
- dependency-name: org.springframework.boot:spring-boot-dependencies | ||
versions: | ||
- 2.4.2 | ||
- 2.4.3 | ||
- 2.4.4 | ||
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess | ||
versions: | ||
- "1.27" | ||
- "1.28" | ||
- dependency-name: org.openjdk.jmh:jmh-core | ||
versions: | ||
- "1.27" | ||
- "1.28" | ||
- dependency-name: org.springframework.cloud:spring-cloud-dependencies | ||
versions: | ||
- Hoxton.SR10 | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
target-branch: "develop" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 50 | ||
ignore: | ||
- dependency-name: "com.amazonaws:*" | ||
update-types: ["version-update:semver-patch"] | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
target-branch: "develop" | ||
labels: | ||
- "housekeeping" | ||
schedule: | ||
interval: "monthly" | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,2 @@ | ||
"documentation": | ||
- /**/*.adoc |
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,14 @@ | ||
name: "Pull Request Auto Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
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,40 +1,19 @@ | ||
name: Publish to the Maven Central Repository | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Version to be released | ||
required: true | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{github.event.release.target_commitish}} | ||
token: ${{ secrets.RELEASE_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- name: Validate ${{ github.event.inputs.version }} release exists | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
const response = await github.rest.repos.listReleases({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo | ||
}); | ||
if (!response) { | ||
throw new Error(`There are no available releases`); | ||
} | ||
for (const release of response.data) { | ||
if (release.name === "${{ github.event.inputs.version }}") { | ||
return | ||
} | ||
} | ||
throw new Error(`Release ${{ github.event.inputs.version }} is not available`); | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -45,23 +24,24 @@ jobs: | |
server-password: MAVEN_PASSWORD | ||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg-passphrase: MAVEN_GPG_PASSPHRASE | ||
cache: 'maven' | ||
|
||
- name: Update version | ||
run: | | ||
./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.version }} versions:commit | ||
git config user.name "jenkins" | ||
git config user.email "[email protected]" | ||
git commit -m "Release ${{ github.event.inputs.version }}" -a | ||
git push | ||
if: ${{ success() }} | ||
run: ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{github.event.release.tag_name}} versions:commit | ||
|
||
- name: Publish to the Maven Central Repository | ||
run: ./mvnw --batch-mode --no-transfer-progress -Dgib.disable=true -Ddocker.cleanup.skip=true -P ossrh -DskipTests deploy | ||
if: ${{ success() }} | ||
run: ./mvnw --batch-mode --no-transfer-progress -Dgib.disable=true -P ossrh -DskipTests deploy | ||
env: | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} | ||
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
|
||
- name: Publish release on GitHub | ||
uses: test-room-7/action-publish-release-drafts@v0 | ||
- name: Commit & Push changes | ||
if: ${{ success() }} | ||
uses: actions-js/push@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
tag-name: ${{ github.event.inputs.version }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
message: 'Release ${{github.event.release.tag_name}}' | ||
branch: ${{ github.event.release.target_commitish }} |
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,39 @@ | ||
name: Renovate for update docker images | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
dryRun: | ||
description: "Dry-Run" | ||
default: false | ||
required: false | ||
type: boolean | ||
logLevel: | ||
description: "Log-Level" | ||
required: false | ||
default: 'debug' | ||
type: choice | ||
options: | ||
- info | ||
- warn | ||
- debug | ||
- error | ||
- fatal | ||
schedule: | ||
- cron: '0 8 * * *' | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Self-hosted Renovate | ||
uses: renovatebot/[email protected] | ||
with: | ||
configurationFile: .github/renovate/renovate.json | ||
token: ${{ secrets.RELEASE_PERSONAL_ACCESS_TOKEN }} | ||
env: | ||
DRY_RUN: ${{ inputs.dryRun || 'false' }} | ||
LOG_LEVEL: ${{ inputs.logLevel || 'debug' }} |
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
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
Oops, something went wrong.