Skip to content

Commit

Permalink
Comment out second tc/docker-compose job in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Pollack committed Nov 12, 2024
1 parent fce52cd commit 6acd202
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,33 +78,33 @@ jobs:

# The docker-compose and testcontainers modules will be compiled and run in a parallel job
container-tests:
name: Container integration tests
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'

- name: Configure Testcontainers
run: |
echo "testcontainers.reuse.enable=true" > $HOME/.testcontainers.properties
- name: Run Container Integration Tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
SPRING_AI_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
run: |
mvn -s settings.xml -Pintegration-tests verify \
-Dskip.docker-compose=false \
-Dskip.testcontainers=false \
-pl spring-ai-spring-boot-docker-compose,spring-ai-spring-boot-testcontainers \
-am --batch-mode
# container-tests:
# name: Container integration tests
# runs-on: ubuntu-latest
# steps:
# - name: Checkout source code
# uses: actions/checkout@v4
#
# - name: Set up JDK 17
# uses: actions/setup-java@v4
# with:
# java-version: '17'
# distribution: 'temurin'
# cache: 'maven'
#
# - name: Configure Testcontainers
# run: |
# echo "testcontainers.reuse.enable=true" > $HOME/.testcontainers.properties
#
# - name: Run Container Integration Tests
# env:
# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# SPRING_AI_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
# ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
# run: |
# mvn -s settings.xml -Pintegration-tests verify \
# -Dskip.docker-compose=false \
# -Dskip.testcontainers=false \
# -pl spring-ai-spring-boot-docker-compose,spring-ai-spring-boot-testcontainers \
# -am --batch-mode

0 comments on commit 6acd202

Please sign in to comment.