Skip to content

Commit

Permalink
feat : enabling parallel start of testcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Oct 24, 2023
1 parent 8c04b40 commit 810af49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/catalog-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
DOCKER_PASSCODE: ${{secrets.DOCKER_PASSCODE}}
DOC_USERNAME: ${{secrets.DOCKER_USERNAME}}
run: ./mvnw -Pnative spring-boot:build-image -DskipTests -Dspring-boot.build-image.publish=true -DCI_DOCKER_PASSWORD=${DOCKER_PASSCODE} -DCI_DOCKER_USERNAME=${DOC_USERNAME}
run: ./mvnw spring-boot:build-image -DskipTests -Dspring-boot.build-image.publish=true -DCI_DOCKER_PASSWORD=${DOCKER_PASSCODE} -DCI_DOCKER_USERNAME=${DOC_USERNAME}
3 changes: 3 additions & 0 deletions catalog-service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ management.health.r2dbc.enabled=true
# Eureka Client to use WebClientInstead of RestTemplate
eureka.client.webclient.enabled=true

# Enable starting tc in parallel
spring.testcontainers.beans.startup=parallel

# adding for processing aot
spring.config.import=optional:configserver:${CONFIG_SERVER:http://localhost:8888}/

0 comments on commit 810af49

Please sign in to comment.