From 9671517228b5fd379deb598e250392882817312c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=A7=80=EC=9B=90?= Date: Fri, 6 Dec 2024 04:34:58 +0900 Subject: [PATCH] ci: Add concurrency option --- .github/workflows/game-image-build.yml | 4 ++++ .github/workflows/gateway-image-build.yml | 4 ++++ .github/workflows/matching-image-build.yml | 4 ++++ .github/workflows/quiz-image-build.yml | 4 ++++ .github/workflows/user-image-build.yml | 4 ++++ .../matching-application/app-api/build.gradle.kts | 1 - user-service/user-application/app-api/build.gradle.kts | 3 +-- 7 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/game-image-build.yml b/.github/workflows/game-image-build.yml index 4aed1df2..5008d2af 100644 --- a/.github/workflows/game-image-build.yml +++ b/.github/workflows/game-image-build.yml @@ -13,6 +13,10 @@ on: paths: - 'game-service/**' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/gateway-image-build.yml b/.github/workflows/gateway-image-build.yml index 26c0c01d..efe199d3 100644 --- a/.github/workflows/gateway-image-build.yml +++ b/.github/workflows/gateway-image-build.yml @@ -13,6 +13,10 @@ on: paths: - 'gateway-service/**' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/matching-image-build.yml b/.github/workflows/matching-image-build.yml index 011d9114..01deb6b3 100644 --- a/.github/workflows/matching-image-build.yml +++ b/.github/workflows/matching-image-build.yml @@ -13,6 +13,10 @@ on: paths: - 'matching-service/**' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/quiz-image-build.yml b/.github/workflows/quiz-image-build.yml index 9f98b7bd..99daa963 100644 --- a/.github/workflows/quiz-image-build.yml +++ b/.github/workflows/quiz-image-build.yml @@ -13,6 +13,10 @@ on: paths: - 'quiz-service/**' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/user-image-build.yml b/.github/workflows/user-image-build.yml index 6840193b..2954896c 100644 --- a/.github/workflows/user-image-build.yml +++ b/.github/workflows/user-image-build.yml @@ -13,6 +13,10 @@ on: paths: - 'user-service/**' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest diff --git a/matching-service/matching-application/app-api/build.gradle.kts b/matching-service/matching-application/app-api/build.gradle.kts index f4521c81..5ab583a6 100644 --- a/matching-service/matching-application/app-api/build.gradle.kts +++ b/matching-service/matching-application/app-api/build.gradle.kts @@ -8,7 +8,6 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-actuator") - //swagger implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") diff --git a/user-service/user-application/app-api/build.gradle.kts b/user-service/user-application/app-api/build.gradle.kts index 4b101c11..d24c9e37 100644 --- a/user-service/user-application/app-api/build.gradle.kts +++ b/user-service/user-application/app-api/build.gradle.kts @@ -7,8 +7,7 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-actuator") - - //swagger + implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0") // JWT