Skip to content

Commit

Permalink
revival of micronaut-etcd by upgrading to the latest micronaut-templa…
Browse files Browse the repository at this point in the history
…te and version
  • Loading branch information
FrogDevelopper committed Oct 22, 2024
1 parent 758fc71 commit a25326f
Show file tree
Hide file tree
Showing 51 changed files with 1,544 additions and 782 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
root = true

[*]
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
indent_style = space

[{*.sh,gradlew}]
end_of_line = lf

[{*.bat,*.cmd}]
end_of_line = crlf

[{*.mustache,*.ftl}]
insert_final_newline = false

[*.java]
indent_size = 4
tab_width = 4
max_line_length = 100
# Import order can be configured with ij_java_imports_layout=...
# See documentation https://youtrack.jetbrains.com/issue/IDEA-170643#focus=streamItem-27-3708697.0-0

[*.xml]
indent_size = 4
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

*.java text eol=lf
*.groovy text eol=lf
*.html text eol=lf
*.kt text eol=lf
*.kts text eol=lf
*.md text diff=markdown eol=lf
*.py text diff=python executable
*.pl text diff=perl executable
*.pm text diff=perl
*.css text diff=css eol=lf
*.js text eol=lf
*.sql text eol=lf
*.q text eol=lf

*.sh text eol=lf
gradlew text eol=lf

*.bat text eol=crlf
*.cmd text eol=crlf
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Bug Report
description: File a bug report
body:
- type: markdown
attributes:
value: |
Thanks for reporting an issue, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Github Discussions :arrow_up:, [Stack Overflow](https://stackoverflow.com/tags/micronaut) or [Gitter](https://gitter.im/micronautfw/).
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
placeholder: Tell us what should happen
validations:
required: false
- type: textarea
attributes:
label: Actual Behaviour
description: A concise description of what you're experiencing.
placeholder: Tell us what happens instead
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false
- type: textarea
attributes:
label: Environment Information
description: Environment information where the problem occurs.
placeholder: |
- Operating System:
- JDK Version:
validations:
required: false
- type: input
id: example
attributes:
label: Example Application
description: Example application link.
placeholder: |
Link to GitHub repository with an example that reproduces the issue
validations:
required: false
- type: input
id: version
attributes:
label: Version
description: Micronaut version
validations:
required: true
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
contact_links:
- name: Micronaut Core Discussions
url: https://github.com/micronaut-projects/micronaut-core/discussions
about: Ask questions about Micronaut on Github
- name: Micronaut Data Discussions
url: https://github.com/micronaut-projects/micronaut-data/discussions
about: Ask Micronaut Data related questions on Github
- name: Stack Overflow
url: https://stackoverflow.com/tags/micronaut
about: Ask questions on Stack Overflow
- name: Chat
url: https://gitter.im/micronautfw/
about: Chat with us on Gitter.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/new_feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature request
description: Create a new feature request
body:
- type: markdown
attributes:
value: |
Please describe the feature you want for Micronaut to implement, before that check if there is already an existing issue to add it.
- type: textarea
attributes:
label: Feature description
placeholder: Tell us what feature you would like for Micronaut to have and what problem is it going to solve
validations:
required: true
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Feature request
description: Create a new feature request
body:
- type: markdown
attributes:
value: |
Please describe the feature you want for Micronaut to implement, before that check if there is already an existing issue to add it.
- type: textarea
attributes:
label: Feature description
placeholder: Tell us what feature you would like for Micronaut to have and what problem is it going to solve
validations:
required: true
16 changes: 0 additions & 16 deletions .github/dependabot.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
changelog:
exclude:
authors:
- micronaut-build
categories:
- title: Breaking Changes 🛠
labels:
- 'type: breaking'
- title: New Features 🎉
labels:
- 'type: enhancement'
- title: Bug Fixes 🐞
labels:
- 'type: bug'
- title: Improvements ⭐
labels:
- 'type: improvement'
- title: Docs 📖
labels:
- 'type: docs'
- title: Dependency updates 🚀
labels:
- 'type: dependency-upgrade'
- 'dependency-upgrade'
- title: Regressions 🧐
labels:
- 'type: regression'
- title: GraalVM 🏆
labels:
- 'relates-to: graal'
- title: Other Changes 💡
labels:
- "*"
26 changes: 26 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"extends": [
"config:base"
],
"addLabels": ["type: dependency-upgrade"],
"schedule": [
"after 10pm every day"
],
"prHourlyLimit": 1,
"prConcurrentLimit": 20,
"timezone": "Europe/Prague",
"packageRules": [
{
"matchPackagePatterns": ["actions.*"],
"dependencyDashboardApproval": true,
"matchUpdateTypes": ["patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchUpdateTypes": ["patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
}
]
}
3 changes: 2 additions & 1 deletion .github/workflows/.rsync-filter
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- files-sync.yml
- test-files-sync.yml
- update-gradle-wrapper.yml
- .rsync-filter
- .rsync-filter
- template-cleanup.yml
31 changes: 0 additions & 31 deletions .github/workflows/bintray-publish.yml

This file was deleted.

19 changes: 9 additions & 10 deletions .github/workflows/central-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: v${{ github.event.inputs.release_version }}
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/wrapper-validation-action@v3
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: 'temurin'
java-version: '17'
- name: Publish to Sonatype OSSRH
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
GPG_FILE: ${{ secrets.GPG_FILE }}
PUBLISH_IN_2_STEPS: ${{ secrets.PUBLISH_IN_2_STEPS }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
run: |
echo $GPG_FILE | base64 -d > secring.gpg
if [ -z ${PUBLISH_IN_2_STEPS+x} ]; then
./gradlew publish closeAndReleaseRepository
else
./gradlew publish && ./gradlew closeAndReleaseRepository
fi
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
40 changes: 0 additions & 40 deletions .github/workflows/dependency-update.yml

This file was deleted.

Loading

0 comments on commit a25326f

Please sign in to comment.