mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-22 06:11:11 -05:00
[PR #172] [MERGED] 1.16.9 #705
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/172
Author: @mbecker20
Created: 11/3/2024
Status: ✅ Merged
Merged: 11/5/2024
Merged by: @mbecker20
Base:
main← Head:1.16.9📝 Commits (10+)
1d0e7ecBatchDestroyDeployment777b845periphery image pull api2a957c1Add Pull apis1575440Add PullStack / PullDeploymentb44b596improve init deploy from container083acecstacks + deployments update_available sourcea6a2ca7Fix deploy / destroy stack service6a43635updates available indicator8cece84add poll for updates and auto update optionse574b13use interval to handle waiting between resource refresh📊 Changes
90 files changed (+2416 additions, -680 deletions)
View changed files
📝
Cargo.lock(+23 -12)📝
Cargo.toml(+2 -1)📝
bin/cli/src/exec.rs(+71 -57)📝
bin/core/Cargo.toml(+1 -0)📝
bin/core/src/alert/discord.rs(+32 -11)📝
bin/core/src/alert/slack.rs(+55 -11)📝
bin/core/src/api/execute/deployment.rs(+190 -39)📝
bin/core/src/api/execute/mod.rs(+11 -4)📝
bin/core/src/api/execute/stack.rs(+102 -4)📝
bin/core/src/api/read/server.rs(+9 -8)📝
bin/core/src/api/write/deployment.rs(+99 -4)📝
bin/core/src/api/write/mod.rs(+1 -0)📝
bin/core/src/api/write/stack.rs(+71 -52)📝
bin/core/src/helpers/builder.rs(+3 -1)📝
bin/core/src/helpers/procedure.rs(+34 -0)📝
bin/core/src/helpers/query.rs(+1 -1)📝
bin/core/src/helpers/update.rs(+29 -2)📝
bin/core/src/listener/resources.rs(+3 -2)📝
bin/core/src/monitor/helpers.rs(+1 -0)📝
bin/core/src/monitor/mod.rs(+17 -3)...and 70 more files
📄 Description
Keep images/containers up to date automatically. There are 3 levels depending on how far you want to go for the automation:
Manual: (default) - Log in and use the "Pull" execution on Stacks / Deployments to pull latest image, and notify in the UI of an available update.
Poll for Update: Pull in the background (default 5 min, use KOMODO_RESOURCE_POLL_INTERVAL to change). If there is an update available, the user will be notified, and an alert will be sent out. It will not deploy the update, preferring to just let the user know for them to do the update at their convenience.
Auto Update: Whenever an update is found, it will skip sending an alert, and just go right ahead and redeploy. With this option selected, your running images will be kept up to date totally hands free.
Note that it will only check for newer image at the same tag. If you use a versioned tag, it will not change the tag to a newer one. The intention is that users use latest tags.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.