From 038ab9b99985e539eeda4d204959a42e9d85b5f5 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 ++++ gateway-service/Dockerfile | 3 +++ .../matching-application/app-api/build.gradle.kts | 1 - user-service/user-application/app-api/build.gradle.kts | 1 - 8 files changed, 23 insertions(+), 2 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..cc0a5be6 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/gateway-service/Dockerfile b/gateway-service/Dockerfile index b544349c..c5a46b3a 100644 --- a/gateway-service/Dockerfile +++ b/gateway-service/Dockerfile @@ -14,6 +14,9 @@ RUN mkdir -p ${MODULE_NAME}/build/extracted && (java -Djarmode=layertools -jar $ FROM eclipse-temurin:17-jdk VOLUME /tmp +RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime +ENV TZ=Asia/Seoul + RUN apt-get update && apt-get install -y curl ARG MODULE_NAME=gateway-service 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..6cea5464 100644 --- a/user-service/user-application/app-api/build.gradle.kts +++ b/user-service/user-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") // JWT