diff --git a/.github/workflows/ci-develop.yml b/.github/workflows/ci-develop.yml index 9fdbd7d6..2531ac91 100644 --- a/.github/workflows/ci-develop.yml +++ b/.github/workflows/ci-develop.yml @@ -25,6 +25,11 @@ jobs: ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10 + redis: + image: redis + ports: + - 6379:6379 + options: --entrypoint redis-server # 순차적으로 실행될 단계들을 정의하는 섹션 steps: diff --git a/.github/workflows/develop-cicd.yml b/.github/workflows/develop-cicd.yml index 3dedd108..578eaec5 100644 --- a/.github/workflows/develop-cicd.yml +++ b/.github/workflows/develop-cicd.yml @@ -25,6 +25,11 @@ jobs: ports: - 3306:3306 # options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10 + redis: + image: redis + ports: + - 6379:6379 + options: --entrypoint redis-server # 순차적으로 실행될 단계들을 정의하는 섹션 steps: diff --git a/build.gradle b/build.gradle index 675ac1bd..518a9118 100644 --- a/build.gradle +++ b/build.gradle @@ -87,6 +87,9 @@ dependencies { // Swagger UI implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0' + // Redis + implementation 'org.springframework.boot:spring-boot-starter-data-redis' + // Webflux implementation 'org.springframework.boot:spring-boot-starter-webflux'