Comment out second tc/docker-compose job in CI
This commit is contained in:
60
.github/workflows/continuous-integration.yml
vendored
60
.github/workflows/continuous-integration.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user