From 4050c2d5c4f832a6e4d2a42c9ba5923a611d3033 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Wed, 2 Oct 2024 08:26:18 -0600 Subject: [PATCH] Comment out oci-genai since not able to get keys --- .../workflows/spring-ai-integration-tests.yml | 60 ++++++++++--------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/.github/workflows/spring-ai-integration-tests.yml b/.github/workflows/spring-ai-integration-tests.yml index eda0cc3..9e1189e 100644 --- a/.github/workflows/spring-ai-integration-tests.yml +++ b/.github/workflows/spring-ai-integration-tests.yml @@ -160,35 +160,37 @@ jobs: - name: Run Mistral AI model tests run: ./mvnw -pl models/spring-ai-mistral-ai -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify - test-oci-genai: - runs-on: ubuntu-latest - env: - OCI_COMPARTMENT_ID_KEY: ${{ secrets.OCI_COMPARTMENT_ID_KEY }} - steps: - - name: Check environment - uses: actions/github-script@v7 - with: - script: | - const env = ${{ toJson(env) }} - const emptyEnvEntries = Object.entries(env).filter(e => e[1].length === 0) - emptyEnvEntries.length > 0 && - core.setFailed('Missing value for environment variable(s): ' + emptyEnvEntries.map(e => e[0]).join(', ')); - - - name: Check out repository code - uses: actions/checkout@v4 - with: - repository: spring-projects/spring-ai - ref: refs/heads/main - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - name: Install - run: ./mvnw install -DskipTests - - name: Run OCI GenAI model tests - run: ./mvnw -pl models/spring-ai-oci-genai -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify +# Removed since not able to get keys from ORACLE +# When keys are available uncomment this code and verify no other structural changes in the other jobs +# test-oci-genai: +# runs-on: ubuntu-latest +# env: +# OCI_COMPARTMENT_ID_KEY: ${{ secrets.OCI_COMPARTMENT_ID_KEY }} +# steps: +# - name: Check environment +# uses: actions/github-script@v7 +# with: +# script: | +# const env = ${{ toJson(env) }} +# const emptyEnvEntries = Object.entries(env).filter(e => e[1].length === 0) +# emptyEnvEntries.length > 0 && +# core.setFailed('Missing value for environment variable(s): ' + emptyEnvEntries.map(e => e[0]).join(', ')); +# +# - name: Check out repository code +# uses: actions/checkout@v4 +# with: +# repository: spring-projects/spring-ai +# ref: refs/heads/main +# - name: Set up JDK 17 +# uses: actions/setup-java@v4 +# with: +# java-version: '17' +# distribution: 'temurin' +# cache: maven +# - name: Install +# run: ./mvnw install -DskipTests +# - name: Run OCI GenAI model tests +# run: ./mvnw -pl models/spring-ai-oci-genai -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify test-openai: runs-on: ubuntu-latest