Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be/refactor/#582 로거 공통 패키지로 분리 #583

Merged
merged 11 commits into from
Feb 28, 2024
Merged
6 changes: 3 additions & 3 deletions .github/workflows/blue-green-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ env:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend

steps:
- name: Checkout code
Expand Down Expand Up @@ -60,6 +57,9 @@ jobs:

- name: Build & Push Docker Images (Blue & Green)
run: |
cp package.json backend/package.json
cp package-lock.json backend/package-lock.json
cd backend
docker-compose -f compose.blue-build.yml build --builder buildx --build-arg BUILDKIT_INLINE_CACHE=1
docker-compose -f compose.green-build.yml build --builder buildx --build-arg BUILDKIT_INLINE_CACHE=1
docker-compose -f compose.blue-build.yml push
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref == 'dev'
defaults:
run:
working-directory: ./backend

steps:
- name: Checkout code
Expand All @@ -41,5 +38,8 @@ jobs:

- name: Build & Push Docker Cache
run: |
cp package.json backend/package.json
cp package-lock.json backend/package-lock.json
cd backend
docker-compose -f compose.cache-export.yml build --builder buildx --build-arg BUILDKIT_INLINE_CACHE=1
docker-compose -f compose.cache-export.yml push
5 changes: 5 additions & 0 deletions backend/Dockerfile.signal
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ FROM node:20

RUN apt-get update && apt-get install -y tini

WORKDIR /app

COPY package*.json ./
RUN npm ci

WORKDIR /app/signal

COPY signal/package*.json ./
Expand Down
5 changes: 5 additions & 0 deletions backend/Dockerfile.was
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ FROM node:20

RUN apt-get update && apt-get install -y tini

WORKDIR /app

COPY package*.json ./
RUN npm ci

WORKDIR /app/was

COPY was/package*.json ./
Expand Down
6 changes: 6 additions & 0 deletions backend/signal/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
};
Loading
Loading