-
Notifications
You must be signed in to change notification settings - Fork 0
π :: [#832] - μ΄λ―Έμ§ λΉλμ€ νμμμ λ°μμ μμΈμ²λ¦¬ μ μ© #833
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -182,7 +182,7 @@ class DockerCommandExecutor( | |
| override fun buildImage(application: Application) { | ||
| val dockerfilePath = "./${application.directoryName}/Dockerfile" | ||
| try { | ||
| dockerClient.buildImageCmd() | ||
| val completed = dockerClient.buildImageCmd() | ||
| .withDockerfile(java.io.File(dockerfilePath)) | ||
| .withTags(setOf("${application.containerName}:${application.version}")) | ||
| .exec(object : BuildImageResultCallback() { | ||
|
|
@@ -191,7 +191,12 @@ class DockerCommandExecutor( | |
| super.onNext(item) | ||
| } | ||
| }) | ||
| .awaitCompletion(120, java.util.concurrent.TimeUnit.SECONDS) | ||
| .awaitCompletion(30, TimeUnit.MINUTES) | ||
| if (!completed) { | ||
| throw DockerCommandException(application, FailureCase.IMAGE_BUILD_FAILURE, "μ΄λ―Έμ§ λΉλμ€ νμμμμ΄ λ°μν¨.") | ||
| } | ||
| } catch (e: DockerCommandException) { | ||
| throw e | ||
|
Comment on lines
+198
to
+199
Contributor
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. ποΈ Data Integrity & Integration | π Major | β‘ Quick win
νμμμ μμΈλ₯Ό κ·Έλλ‘ μ λ¬ν΄μΌ νλ€λ©΄ μΈλΆ catchμμ μ΄λ²€νΈλ₯Ό λ°νν ν μμ μμ eventPublisher.publishEvent(
ChangeApplicationStatusEvent(
ApplicationStatus.FAILURE,
ex.application,
ex.failureCase,
ex.message
)
)
- throw RuntimeException("Docker command execution failed for application ${ex.application.name}")
+ throw exπ€ Prompt for AI Agents |
||
| } catch (e: Exception) { | ||
| throw DockerCommandException(application, FailureCase.IMAGE_BUILD_FAILURE, e.message) | ||
| } | ||
|
|
||
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.
π©Ί Stability & Availability | π Major | ποΈ Heavy lift
π§© Analysis chain
π Script executed:
Repository: dolong2/dcd
Length of output: 44041
π Script executed:
Repository: dolong2/dcd
Length of output: 50367
π Script executed:
Repository: dolong2/dcd
Length of output: 7748
refreshμ 체 μ€ν μκ°μ κ³ λ €νμ¬ λ½ μλ μκ°μ μ€μ νμΈμ.RedissonLockAdapterλ κ³ μ λleaseTimeμΌλ‘ λ½μ νλνλ©° μλ κ°±μ μ μννμ§ μμ΅λλ€. μ΄λ―Έμ§ λΉλλ μ΅λ 30λΆ λκΈ°νκ³ , 볡μ μ νμ μμ λ μ€ννλ―λ‘ λ½μrefreshμλ£ μ μ λ§λ£λ μ μμ΅λλ€. λ½ μλ κ°±μ μ μ μ©νκ±°λ μΆ©λΆν κΈ΄ μλ μκ°μ μ€μ νκ³ , λμrefreshμ€νμ μ°¨λ¨νλ ν΅ν© ν μ€νΈλ₯Ό μΆκ°νμΈμ.π€ Prompt for AI Agents