Replace spring-batch with spring-ai in GH templates

This commit is contained in:
Michael Hunger
2023-09-21 01:40:03 +02:00
committed by Mark Pollack
parent 6554bdebda
commit cffa790a8b
5 changed files with 40 additions and 46 deletions

View File

@@ -14,7 +14,7 @@ If the bug is trivial, just go ahead and create the issue. Otherwise, please tak
A clear and concise description of what the bug is about.
**Environment**
Please provide as many details as possible: Spring Batch version, Java version, which database you use if any, etc
Please provide as many details as possible: Spring AI version, Java version, which vector store you use if any, etc
**Steps to reproduce**
Steps to reproduce the issue.
@@ -23,5 +23,5 @@ Steps to reproduce the issue.
A clear and concise description of what you expected to happen.
**Minimal Complete Reproducible example**
Please provide a failing test or a [minimal complete verifiable example](https://github.com/spring-projects/spring-batch/blob/main/ISSUE_REPORTING.md) that reproduces the issue.
Please provide a failing test or a minimal complete verifiable example that reproduces the issue.
Bug reports that are reproducible will take priority in resolution over reports that are not reproducible.

View File

@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions and Community Support
url: https://stackoverflow.com/questions/tagged/spring-batch
about: Please ask and answer questions on StackOverflow with the spring-batch tag
url: https://stackoverflow.com/questions/tagged/spring-ai
about: Please ask and answer questions on StackOverflow with the spring-ai tag

View File

@@ -10,8 +10,8 @@ assignees: ''
For anything other than bug reports and feature requests (performance, refactoring, etc),
just go ahead and file the issue. Please provide as many details as possible.
If you have a question or a support request, please open a new discussion on [GitHub Discussions](https://github.com/spring-projects/spring-batch/discussions)
or ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/spring-batch).
If you have a question or a support request, please open a new discussion on [GitHub Discussions](https://github.com/spring-projects-experimental/spring-ai/discussions)
or ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/spring-ai).
Please do **not** create issues on the [Issue Tracker](https://github.com/spring-projects/spring-batch/issues) for questions or support requests.
Please do **not** create issues on the [Issue Tracker](https://github.com/spring-projects/spring-ai/issues) for questions or support requests.
We would like to keep the issue tracker **exclusively** for bug reports and feature requests.

View File

@@ -5,8 +5,3 @@ You might have already read the [contributor guide][1], but as a reminder, pleas
* Rebase your changes on the latest `main` branch and squash your commits
* Add/Update unit tests as needed
* Run a build and make sure all tests pass prior to submission
For more details, please check the [contributor guide][1].
Thank you upfront!
[1]: https://github.com/spring-projects/spring-batch/blob/main/CONTRIBUTING.md

View File

@@ -17,51 +17,50 @@ jobs:
- name: Prepare directory structure
run: |
mkdir -p nexus/org/springframework/batch/spring-batch-bom/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-batch-infrastructure/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-batch-core/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-batch-test/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-batch-integration/$RELEASE_VERSION
mkdir -p nexus/org/springframework/ai/spring-ai-core/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-ai-openai/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-ai-azure-openai/$RELEASE_VERSION
mkdir -p nexus/org/springframework/batch/spring-ai-spring-boot-autoconfigure/$RELEASE_VERSION
- name: Download release files from Artifactory
env:
ARTIFACTORY_URL: "https://repo.spring.io/libs-staging-local/org/springframework/batch"
ARTIFACTORY_URL: "https://repo.spring.io/libs-staging-local/org/springframework/ai"
run: |
echo "Downloading BOM artifacts"
cd nexus/org/springframework/batch/spring-batch-bom/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-batch-bom/$RELEASE_VERSION/spring-batch-bom-$RELEASE_VERSION.pom
# echo "Downloading BOM artifacts"
# cd nexus/org/springframework/batch/spring-ai-bom/$RELEASE_VERSION
# wget $ARTIFACTORY_URL/spring-ai-bom/$RELEASE_VERSION/spring-ai-bom-$RELEASE_VERSION.pom
echo "Downloading infrastructure artifacts"
cd ../../../../../..
cd nexus/org/springframework/batch/spring-batch-infrastructure/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-batch-infrastructure/$RELEASE_VERSION/spring-batch-infrastructure-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-batch-infrastructure/$RELEASE_VERSION/spring-batch-infrastructure-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-batch-infrastructure/$RELEASE_VERSION/spring-batch-infrastructure-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-batch-infrastructure/$RELEASE_VERSION/spring-batch-infrastructure-$RELEASE_VERSION-sources.jar
echo "Downloading core artifacts"
cd ../../../../../..
cd nexus/org/springframework/batch/spring-batch-core/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-batch-core/$RELEASE_VERSION/spring-batch-core-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-batch-core/$RELEASE_VERSION/spring-batch-core-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-batch-core/$RELEASE_VERSION/spring-batch-core-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-batch-core/$RELEASE_VERSION/spring-batch-core-$RELEASE_VERSION-sources.jar
cd nexus/org/springframework/ai/spring-ai-core/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-ai-core/$RELEASE_VERSION/spring-ai-core-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-ai-core/$RELEASE_VERSION/spring-ai-core-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-ai-core/$RELEASE_VERSION/spring-ai-core-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-ai-core/$RELEASE_VERSION/spring-ai-core-$RELEASE_VERSION-sources.jar
echo "Downloading test artifacts"
echo "Downloading openai artifacts"
cd ../../../../../..
cd nexus/org/springframework/batch/spring-batch-test/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-batch-test/$RELEASE_VERSION/spring-batch-test-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-batch-test/$RELEASE_VERSION/spring-batch-test-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-batch-test/$RELEASE_VERSION/spring-batch-test-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-batch-test/$RELEASE_VERSION/spring-batch-test-$RELEASE_VERSION-sources.jar
cd nexus/org/springframework/batch/spring-ai-openai/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-ai-openai/$RELEASE_VERSION/spring-ai-openai-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-ai-openai/$RELEASE_VERSION/spring-ai-openai-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-ai-openai/$RELEASE_VERSION/spring-ai-openai-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-ai-openai/$RELEASE_VERSION/spring-ai-openai-$RELEASE_VERSION-sources.jar
echo "Downloading integration artifacts"
echo "Downloading azure openai artifacts"
cd ../../../../../..
cd nexus/org/springframework/batch/spring-batch-integration/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-batch-integration/$RELEASE_VERSION/spring-batch-integration-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-batch-integration/$RELEASE_VERSION/spring-batch-integration-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-batch-integration/$RELEASE_VERSION/spring-batch-integration-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-batch-integration/$RELEASE_VERSION/spring-batch-integration-$RELEASE_VERSION-sources.jar
cd nexus/org/springframework/batch/spring-ai-azure-openai/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-ai-azure-openai/$RELEASE_VERSION/spring-ai-azure-openai-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-ai-azure-openai/$RELEASE_VERSION/spring-ai-azure-openai-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-ai-azure-openai/$RELEASE_VERSION/spring-ai-azure-openai-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-ai-azure-openai/$RELEASE_VERSION/spring-ai-azure-openai-$RELEASE_VERSION-sources.jar
echo "Downloading autoconfiguration artifacts"
cd ../../../../../..
cd nexus/org/springframework/batch/spring-ai-spring-boot-autoconfigure/$RELEASE_VERSION
wget $ARTIFACTORY_URL/spring-ai-spring-boot-autoconfigure/$RELEASE_VERSION/spring-ai-spring-boot-autoconfigure-$RELEASE_VERSION.pom
wget $ARTIFACTORY_URL/spring-ai-spring-boot-autoconfigure/$RELEASE_VERSION/spring-ai-spring-boot-autoconfigure-$RELEASE_VERSION.jar
wget $ARTIFACTORY_URL/spring-ai-spring-boot-autoconfigure/$RELEASE_VERSION/spring-ai-spring-boot-autoconfigure-$RELEASE_VERSION-javadoc.jar
wget $ARTIFACTORY_URL/spring-ai-spring-boot-autoconfigure/$RELEASE_VERSION/spring-ai-spring-boot-autoconfigure-$RELEASE_VERSION-sources.jar
- name: Sign artifacts and release them to Maven Central
uses: jvalkeal/nexus-sync@v0