mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-09 07:13:36 -05:00
[PR #288] [MERGED] feature: add post_deploy command #716
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/288
Author: @unsync
Created: 2/3/2025
Status: ✅ Merged
Merged: 2/8/2025
Merged by: @mbecker20
Base:
1.17.0← Head:feature/postDeployCommand📝 Commits (2)
faccffbfeature: add post_deploy commande965e96review: do not run post_deploy if deploy failed📊 Changes
6 files changed (+231 additions, -144 deletions)
View changed files
📝
bin/core/src/api/execute/stack.rs(+7 -0)📝
bin/periphery/src/compose.rs(+57 -1)📝
client/core/rs/src/entities/stack.rs(+6 -0)📝
client/core/ts/src/types.ts(+135 -133)📝
frontend/public/client/types.d.ts(+12 -10)📝
frontend/src/components/resources/stack/config.tsx(+14 -0)📄 Description
This PR adds a post_deploy command, similar to the pre_deploy.
Context
i needed to test a use-case for this, the issue that gave me the idea is here : https://github.com/moghtech/komodo/issues/227
Questions
ℹ️ what is unclear to me is the expected/wanted behaviour in case of the post_deploy fails (we could say the deployment was ok since compose up ran fine, but we can also fail the whole action)
Settings
No failure
Failure
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.