-
Notifications
You must be signed in to change notification settings - Fork 0
운영 배포(OCI 옵션 수정) #238
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
Merged
운영 배포(OCI 옵션 수정) #238
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7fe3a3b
피버타임 검증 시 점수가 두배가 되지 않는 현상 해결 (#226)
Hwanvely b2d0eb4
세션 일시정지시 피버타임을 멈추지 못하던 문제 해결 (#227)
Hwanvely 36fac75
피버타임 관련 문제 해결 (#228)
Hwanvely f71c8d4
fix: 피버타임 검증 시 일반 스트릭이 검증안되던 문제해결 (#229)
Hwanvely 08e0eba
fix: 피버타임 네트워크 지연 문제 해결 (#231)
Hwanvely fee6688
피버타임 일시정지 동기화 및 지연시간 문제 해결 (#232)
Hwanvely 0a6e22f
OCI용 CD 파이프라인 마이그레이션 (#234)
Hwanvely 2c39b30
OCI 경로 수정 (#236)
Hwanvely 63435f5
Merge branch 'main' into dev
Hwanvely 996782a
fix: oci 옵션 수정
Hwanvely 1e8247f
fix: shebang 추가
Hwanvely f287e2b
Merge branch 'main' into dev
Hwanvely File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,4 +1,4 @@ | ||
|
|
||
| #!/bin/bash | ||
| set -euo pipefail | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or 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,4 +1,4 @@ | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| #!/bin/bash | ||||||||||||||||||||||||||||||
| set -euo pipefail | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
@@ -11,7 +11,6 @@ HTTP_BACKEND="$1" | |||||||||||||||||||||||||||||
| HTTPS_BACKEND="$2" | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| export PATH="$HOME/bin:$PATH" | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| COMPOSE_DIR="$HOME/snackgame-server" | ||||||||||||||||||||||||||||||
|
|
@@ -38,21 +37,15 @@ set_drain() { | |||||||||||||||||||||||||||||
| --backend-set-name snackgame-http \ | ||||||||||||||||||||||||||||||
| --backend-name "$HTTP_BACKEND" \ | ||||||||||||||||||||||||||||||
| --is-drain "$is_drain" \ | ||||||||||||||||||||||||||||||
| --is-backup false \ | ||||||||||||||||||||||||||||||
| --is-offline false \ | ||||||||||||||||||||||||||||||
| --wait-for-state SUCCEEDED \ | ||||||||||||||||||||||||||||||
| --force | ||||||||||||||||||||||||||||||
| --wait-for-state SUCCEEDED | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| oci nlb backend update \ | ||||||||||||||||||||||||||||||
| --auth instance_principal \ | ||||||||||||||||||||||||||||||
| --network-load-balancer-id "$NLB_ID" \ | ||||||||||||||||||||||||||||||
| --backend-set-name snackgame-https \ | ||||||||||||||||||||||||||||||
| --backend-name "$HTTPS_BACKEND" \ | ||||||||||||||||||||||||||||||
| --is-drain "$is_drain" \ | ||||||||||||||||||||||||||||||
| --is-backup false \ | ||||||||||||||||||||||||||||||
| --is-offline false \ | ||||||||||||||||||||||||||||||
| --wait-for-state SUCCEEDED \ | ||||||||||||||||||||||||||||||
| --force | ||||||||||||||||||||||||||||||
| --wait-for-state SUCCEEDED | ||||||||||||||||||||||||||||||
|
Comment on lines
45
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
백엔드 업데이트 시
--is-backup false및--is-offline false옵션이 제거되었습니다. 이 옵션들은 배포 과정에서 해당 백엔드가 백업용이 아니며 오프라인 상태도 아님을 명시적으로 보장하여, 배포 완료 후 즉시 정상적인 트래픽을 받을 수 있도록 합니다. 만약 관리자가 수동으로 백엔드를 오프라인이나 백업 상태로 설정해 두었다면, 이 옵션들이 없는 현재의 스크립트는 배포 후에도 해당 상태를 그대로 유지하게 되어 서비스 투입이 되지 않을 수 있습니다. 배포의 안정성과 자동화 측면에서 해당 옵션들을 명시적으로 유지하는 것이 좋습니다.