From a2d9ddd27a2261f9a1bcc9cd74cc6eaefb8b2ecd Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Mon, 9 Dec 2024 07:56:28 +0000 Subject: [PATCH] Disable docker-compose and testcontainers tests for the CI/CD build - These modules run their tests at the https://github.com/spring-projects/spring-ai-integration-tests --- .github/workflows/continuous-integration.yml | 66 ++++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9dd8383ef..765598606 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -84,36 +84,36 @@ jobs: scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION - # The docker-compose and testcontainers modules will be compiled and run in a parallel job - container-tests: - name: docker-compose and testcontainers modules - 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: Build Dependencies - run: | - mvn -s settings.xml clean install \ - -DskipTests \ - -pl spring-ai-spring-boot-docker-compose,spring-ai-spring-boot-testcontainers \ - -am --batch-mode - - - name: Run docker-compost and testcontainers Integration Tests - 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 \ - --batch-mode \ No newline at end of file +# # The docker-compose and testcontainers modules will be compiled and run in a parallel job +# container-tests: +# name: docker-compose and testcontainers modules +# 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: Build Dependencies +# run: | +# mvn -s settings.xml clean install \ +# -DskipTests \ +# -pl spring-ai-spring-boot-docker-compose,spring-ai-spring-boot-testcontainers \ +# -am --batch-mode +# +# - name: Run docker-compost and testcontainers Integration Tests +# 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 \ +# --batch-mode \ No newline at end of file