Andras Bacsai
86a02a12e6
Update app/Actions/Application/CleanupPreviewDeployment.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-08 17:35:13 +01:00
Andras Bacsai
d27070b215
fix: Add comprehensive PR cleanup to GitLab, Bitbucket, and Gitea webhooks
...
Create a shared CleanupPreviewDeployment action that unifies PR cleanup logic across all Git providers. Previously, GitHub had comprehensive cleanup (cancels active deployments, kills helper containers, removes all PR containers), while GitLab, Bitbucket, and Gitea only did basic cleanup (delete preview record and remove one container by name).
This fix ensures all providers properly clean up orphaned PR containers when a PR is closed/merged, preventing security issues and resource waste. Also fixes early return bug in GitLab webhook handler.
Fixes #2610
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-08 17:10:39 +01:00
ShadowArcanist
b39690dfa2
Changed docker --time command to -t since --time is deprecated on v28
2025-10-09 13:26:10 +05:30
Andras Bacsai
a8bdc3bbfe
fix(application): increase docker stop timeout from 10 to 30 seconds for better application shutdown handling
2025-09-29 12:16:13 +02:00
Andras Bacsai
cd2d4070d3
fix(application): reduce docker stop timeout from 30 to 10 seconds for improved application shutdown efficiency
2025-09-28 23:11:58 +02:00
🏔️ Peak
2a526c54d5
fix(docker): volumes get delete when stopping a service if Delete Unused Volumes is activated ( #6317 )
2025-08-04 21:15:56 +02:00
Andras Bacsai
102bdb5bc3
refactor(application): enhance application stopping logic to support multiple servers
2025-05-26 21:44:34 +02:00
Andras Bacsai
786bfa960f
improvement(core): simplify events for app/db/service status changes
2025-05-19 21:50:32 +02:00
Andras Bacsai
019ed43448
refactor(actions): standardize method naming for network and configuration deletion across application and service classes
2025-04-30 18:30:43 +02:00
Andras Bacsai
7dc65dfd79
fix: make sure important jobs/actions are running on high prio queue
2024-11-22 11:16:01 +01:00
Andras Bacsai
f0985a7e47
fix horizon command name
2024-11-12 10:16:34 +01:00
Andras Bacsai
d7cde676d5
feat: check local horizon scheduler deployments
2024-11-11 23:35:48 +01:00
Lucas Michot
d557a22b91
Remove all ray() calls
2024-10-28 13:51:23 +01:00
Andras Bacsai
b75c2dc604
pint
2024-10-17 22:08:23 +02:00
Andras Bacsai
974b4b92c1
wip: coolify.json
2024-10-08 15:11:19 +02:00
Andras Bacsai
04e504bb8b
chore: Refactor DockerCleanupJob to remove unused middleware and uniqueId method
2024-09-23 12:10:46 +02:00
ayntk-ai
bec974dca4
Fix application image cleanup
2024-09-04 14:54:43 +02:00
ayntk-ai
41be1f7666
use public function
2024-08-09 19:39:43 +02:00
ayntk-ai
0135e2b5c0
add logic
2024-08-09 00:30:11 +02:00
ayntk-ai
74bea37b43
Merge branch 'coollabsio:main' into fix-#2546-deletion-issues
2024-08-08 11:50:57 +02:00
ayntk-ai
070daee28e
remove networks and cleanup unused images when stoping dockercompose build pack containers
2024-08-08 01:19:17 +02:00
Andras Bacsai
e897eb2999
fix: Stop resources gracefully
2024-08-06 13:27:06 +02:00
Andras Bacsai
0d8cc19698
fix: deleting application should delete preview deployments
2024-07-22 14:13:56 +02:00
Andras Bacsai
2b805f869a
fix/feat: better volume cleanups
2024-07-11 12:38:54 +02:00
Andras Bacsai
f2d82e16d6
fix: remove volumes as well
2024-07-11 11:30:20 +02:00
Andras Bacsai
b37dc4c73e
fix: remove networks when deleting a docker compose based app
2024-07-11 10:16:56 +02:00
Andras Bacsai
4459c9f73d
feat: api api api api api api
2024-07-02 16:12:04 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
9e1a7d5d9a
feat: multi deployments
2024-02-07 14:55:06 +01:00
Andras Bacsai
3616fc8ca9
Refactor code and add additional destinations
2024-02-06 15:05:11 +01:00
Andras Bacsai
9667cd4a7a
fix: handle duplicate error instead of sql error
...
fix: set fqdns to null if you delete an app or a serviceapp
fix: make stucked resources a separate command
2024-01-30 09:48:51 +01:00
Andras Bacsai
b4874c7df3
wip: swarm
2023-11-28 18:31:04 +01:00
Andras Bacsai
c1710c8f7b
moar fixes
2023-11-27 15:25:15 +01:00
Andras Bacsai
9698a051d9
Refactored code for better container management
2023-11-08 15:40:06 +01:00
Andras Bacsai
0ef386b4a8
fix: stopping a resource is now job based
...
ui: show status on project
2023-10-14 14:22:07 +02:00