Bump io.quarkiverse.langchain4j:quarkus-langchain4j-bom from 0.25.0 to 1.2.0 in /app #779
Workflow file for this run
This file contains hidden or 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
| name: Simple build and test | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - email-feature-branch | ||
| - private-docs-rag-solution | ||
| paths-ignore: | ||
| - '**/*.md' | ||
| - '.github/dependabot.yml' | ||
| - '.github/workflows/dependabot-automerge.yml' | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| - email-feature-branch | ||
| - private-docs-rag-solution | ||
| paths-ignore: | ||
| - '**/*.md' | ||
| - '.github/dependabot.yml' | ||
| - '.github/workflows/dependabot-automerge.yml' | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}" | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| defaults: | ||
| run: | ||
| shell: bash | ||
| jobs: | ||
| jvm-build-test: | ||
| if: always() && !failure() && !cancelled() | ||
| needs: check-commit-against-other-branches | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| java: | ||
| - '21' | ||
| ai-provider: | ||
| - ollama | ||
| - jlama | ||
| - openai | ||
| services: | ||
| ollama: | ||
| image: ollama/ollama | ||
| ports: | ||
| - 11434:11434 | ||
| options: --name ollama --rm | ||
| name: "jvm-build-test-${{ matrix.java }}-${{ matrix.ai-provider }}" | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Setup Java ${{ matrix.java }} | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: ${{ matrix.java }} | ||
| distribution: temurin | ||
| cache: maven | ||
| - name: "build-test-jvm-java${{ matrix.java }}-${{ matrix.ai-provider }}" | ||
| if: matrix.ai-provider != 'openai' | ||
| working-directory: app | ||
| run: | | ||
| ./mvnw -B clean verify \ | ||
| -P${{ matrix.ai-provider }} \ | ||
| -Dquarkus.http.host=0.0.0.0 \ | ||
| -Dmaven.compiler.release=${{ matrix.java }} | ||
| - name: "build-test-jvm-java${{ matrix.java }}-${{ matrix.ai-provider }}" | ||
| if: matrix.ai-provider == 'openai' | ||
| working-directory: app | ||
| run: | | ||
| docker exec ollama bash -c "ollama pull llama3.2 && ollama pull snowflake-arctic-embed && ollama ls" | ||
| ./mvnw -B clean verify \ | ||
| -Dquarkus.http.host=0.0.0.0 \ | ||
| -Dquarkus.langchain4j.openai.base-url=http://localhost:11434/v1 \ | ||
| -Dquarkus.langchain4j.openai.parasol-chat.base-url=http://localhost:11434/v1 \ | ||
| -Dquarkus.langchain4j.openai.parasol-chat.chat-model.model-name=llama3.2 \ | ||
| -Dquarkus.langchain4j.openai.embedding-model.model-name=snowflake-arctic-embed \ | ||
| -Dmaven.compiler.release=${{ matrix.java }} | ||
| check-commit-against-other-branches: | ||
| if: (github.event_name == 'pull_request') && (github.repository == 'rh-rad-ai-roadshow/parasol-insurance') && ((github.actor == 'dependabot[bot]') || (github.event.pull_request.user.login == 'dependabot[bot]')) && (github.base_ref == 'email-feature-branch') | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| java: | ||
| - '21' | ||
| ai-provider: | ||
| - ollama | ||
| - jlama | ||
| - openai | ||
| branch-to-check-against: | ||
| - main | ||
| - private-docs-rag-solution | ||
| uses: rh-rad-ai-roadshow/parasol-insurance/.github/workflows/check-pr-against-other-branch.yml@main | ||
|
Check failure on line 99 in .github/workflows/simple-build-test.yml
|
||
| secrets: inherit | ||
| with: | ||
| java_version: ${{ matrix.java }} | ||
| pr_num: ${{ github.event.pull_request.number }} | ||
| ai_provider: ${{ matrix.ai-provider }} | ||
| base_branch: ${{ matrix.branch-to-check-against }} | ||