-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit. Add @StructuredPrompt. Registering AI services factories to use SmallRye default factories instead of Langchain4J default services. Update Liberty example to include MP AI annotations instead of Langchain4J annotations, All examples now run with the MP annotations instead of Langchain4J annotations. Fix MP annotations to match Langchain4J annotations. Set up Release Workflows Preparing the release (#49) Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com> Release 0.0.1 (#50) Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com> [maven-release-plugin] prepare release 0.0.1 [maven-release-plugin] prepare for next development iteration Commit. Commit. Git Merge.
- Loading branch information
Buhake Sindi
committed
Oct 16, 2024
1 parent
3815068
commit 1000a16
Showing
91 changed files
with
2,675 additions
and
2,151 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,16 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: maven | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
# Only allow for patch release upgrades | ||
- dependency-name: '*' | ||
update-types: ['version-update:semver-major', 'version-update:semver-minor'] | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 |
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,4 @@ | ||
name: SmallRye LLM | ||
release: | ||
current-version: 0.0.1 | ||
next-version: 1.0.0-SNAPSHOT |
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,64 @@ | ||
name: SmallRye Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '.gitignore' | ||
- 'CODEOWNERS' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'README*' | ||
pull_request: | ||
paths-ignore: | ||
- '.gitignore' | ||
- 'CODEOWNERS' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'README*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [17, 21] | ||
name: build with jdk ${{matrix.java}} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
name: checkout | ||
|
||
- uses: actions/setup-java@v4 | ||
name: set up jdk ${{matrix.java}} | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{matrix.java}} | ||
cache: 'maven' | ||
cache-dependency-path: '**/pom.xml' | ||
|
||
- name: build with maven | ||
run: mvn -B formatter:validate verify --file pom.xml | ||
|
||
build-windows: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
java: [17, 21] | ||
name: build with jdk ${{matrix.java}} windows | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
name: checkout | ||
|
||
- uses: actions/setup-java@v4 | ||
name: set up jdk ${{matrix.java}} | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{matrix.java}} | ||
cache: 'maven' | ||
cache-dependency-path: '**/pom.xml' | ||
|
||
- name: build with maven | ||
run: mvn -B formatter:validate verify --file pom.xml |
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,18 @@ | ||
name: SmallRye Prepare Release | ||
|
||
on: | ||
pull_request: | ||
types: [ closed ] | ||
paths: | ||
- '.github/project.yml' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
prepare-release: | ||
name: Prepare Release | ||
if: ${{ github.event.pull_request.merged == true}} | ||
uses: smallrye/.github/.github/workflows/prepare-release.yml@main | ||
secrets: inherit |
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,29 @@ | ||
name: SmallRye Release | ||
run-name: Release ${{github.event.inputs.tag || github.ref_name}} | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: 'Tag to release' | ||
required: true | ||
|
||
permissions: | ||
attestations: write | ||
id-token: write | ||
# Needed for the publish-* workflows | ||
contents: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
perform-release: | ||
name: Perform Release | ||
uses: smallrye/.github/.github/workflows/perform-release.yml@main | ||
secrets: inherit | ||
with: | ||
version: ${{github.event.inputs.tag || github.ref_name}} |
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 @@ | ||
name: SmallRye Review Release | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '.github/project.yml' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
name: pre release | ||
|
||
steps: | ||
- uses: radcortez/project-metadata-action@main | ||
name: retrieve project metadata | ||
id: metadata | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
metadata-file-path: '.github/project.yml' | ||
|
||
- name: Validate version | ||
if: contains(steps.metadata.outputs.current-version, 'SNAPSHOT') | ||
run: | | ||
echo '::error::Cannot release a SNAPSHOT version.' | ||
exit 1 | ||
- uses: radcortez/milestone-review-action@main | ||
name: milestone review | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
milestone-title: ${{steps.metadata.outputs.current-version}} |
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,17 @@ | ||
name: Update Milestone | ||
|
||
on: | ||
pull_request_target: | ||
types: [closed] | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
name: update-milestone | ||
if: ${{github.event.pull_request.merged == true}} | ||
|
||
steps: | ||
- uses: radcortez/milestone-set-action@main | ||
name: milestone set | ||
with: | ||
github-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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.