-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/boostcampwm-2024/web38-Froxy …
…into feature-#204-mocking
- Loading branch information
Showing
19 changed files
with
685 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ on: | |
push: | ||
branches: | ||
- deploy | ||
|
||
jobs: | ||
fe-cd: | ||
runs-on: ubuntu-20.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { BullRootModuleOptions } from '@nestjs/bull'; | ||
import { ConfigService } from '@nestjs/config'; | ||
|
||
export const queueConfig = (configService: ConfigService): BullRootModuleOptions => ({ | ||
redis: { | ||
host: configService.get<string>('REDIS_HOST', { infer: true }), | ||
port: configService.get<number>('REDIS_PORT', { infer: true }), | ||
password: configService.get<string>('REDIS_PASSWORD', { infer: true }) | ||
} | ||
}); | ||
import { BullRootModuleOptions } from '@nestjs/bull'; | ||
import { ConfigService } from '@nestjs/config'; | ||
|
||
export const queueConfig = (configService: ConfigService): BullRootModuleOptions => ({ | ||
redis: { | ||
host: configService.get<string>('REDIS_HOST', { infer: true }), | ||
port: configService.get<number>('REDIS_PORT', { infer: true }), | ||
password: configService.get<string>('REDIS_PASSWORD', { infer: true }) | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
export const GIST_AUTH_HEADER = (gitToken: string = null) => { | ||
return { | ||
Accept: 'application/vnd.github+json', | ||
Authorization: `Bearer ${gitToken}`, | ||
'X-GitHub-Api-Version': '2022-11-28', | ||
'Content-Type': 'application/json' | ||
}; | ||
}; | ||
export enum HISTORY_STATUS { | ||
PENDING = 'PENDING', | ||
ERROR = 'ERROR', | ||
SUCCESS = 'SUCCESS' | ||
} | ||
|
||
export enum SUPPORTED_LANGUAGES { | ||
JS = '.js' | ||
} | ||
|
||
export const MAX_CONTAINER_CNT = 6; | ||
export const GIST_AUTH_HEADER = (gitToken: string = null) => { | ||
return { | ||
Accept: 'application/vnd.github+json', | ||
Authorization: `Bearer ${gitToken}`, | ||
'X-GitHub-Api-Version': '2022-11-28', | ||
'Content-Type': 'application/json' | ||
}; | ||
}; | ||
export enum HISTORY_STATUS { | ||
PENDING = 'PENDING', | ||
ERROR = 'ERROR', | ||
SUCCESS = 'SUCCESS' | ||
} | ||
|
||
export enum SUPPORTED_LANGUAGES { | ||
JS = '.js' | ||
} | ||
|
||
export const MAX_CONTAINER_CNT = 10; |
Oops, something went wrong.