Commit Graph

3754 Commits

Author SHA1 Message Date
peaklabs-dev
db5786efc9 fix: instance wide GitHub apps are not available on other teams then the source team 2025-01-13 12:14:36 +01:00
Andras Bacsai
dd2d306abc feat: force deployment of services
fix: added advanced ui dropdown to services
2025-01-13 12:03:03 +01:00
peaklabs-dev
43dacd83c9 chore: use the new job dispatch 2025-01-13 11:13:35 +01:00
peaklabs-dev
76f13125ff feat: remote server volume cloning 2025-01-13 11:13:15 +01:00
Andras Bacsai
c4a75f4b87 fix: service update statsu 2025-01-13 11:06:10 +01:00
Andras Bacsai
b197ae6237 fix 2025-01-13 11:03:54 +01:00
Andras Bacsai
706602b3a8 Merge pull request #4799 from coollabsio/hotfix
Hotfix
2025-01-13 09:33:37 +01:00
Andras Bacsai
0e94a4a472 fix: add own servers on cloud 2025-01-13 09:17:54 +01:00
Andras Bacsai
18f03dc173 fix: create destination properly 2025-01-12 17:26:28 +01:00
🏔️ Peak
0905479c8b Merge pull request #4767 from peaklabs-dev/fix-backup-executions
fix: edge case where backup executions could be null
2025-01-10 20:57:27 +01:00
Andras Bacsai
a396d51452 Merge branch 'next' into hotfix 2025-01-10 20:23:29 +01:00
Andras Bacsai
3a3219394d refactor: enhance ApplicationDeploymentJob and HorizonServiceProvider for improved job handling
- Removed the private property for application deployment queue ID in ApplicationDeploymentJob and utilized constructor property promotion.
- Added a tags method in ApplicationDeploymentJob to properly identify the worker running the job.
- Updated HorizonServiceProvider to handle cases where the deployment queue ID is blank, preventing potential errors during job processing.
- Cleaned up the isAnyDeploymentInprogress function by removing unnecessary whitespace.
2025-01-10 20:07:01 +01:00
Andras Bacsai
7582d7dd8b refactor: streamline job status retrieval and clean up repository interface
- Simplified the job status retrieval process by consolidating logic into a single `getJobStatus` function.
- Removed redundant checks and methods from the `CustomJobRepositoryInterface` and `CustomJobRepository`.
- Updated the `getHorizonJobStatus` method in `ApplicationDeploymentQueue` to directly utilize the new `getJobStatus` function.
- Enhanced the `isThereAJobInProgress` method to improve clarity and maintainability.
2025-01-10 19:53:13 +01:00
Andras Bacsai
a0fc46dee4 refactor: extend HorizonServiceProvider from HorizonApplicationServiceProvider
- Updated HorizonServiceProvider to extend from HorizonApplicationServiceProvider for improved functionality.
- Added a call to the parent boot method to ensure proper initialization.
- Cleaned up the gate method by removing unnecessary whitespace.
2025-01-10 19:15:57 +01:00
Andras Bacsai
925af53d3d horizon gate 2025-01-10 19:00:18 +01:00
Andras Bacsai
02400added fix: horizon job checker 2025-01-10 18:27:48 +01:00
🏔️ Peak
d3e586b34c Merge branch 'next' into fix-cloning 2025-01-10 18:17:22 +01:00
Andras Bacsai
a3648901ed feat: enhance horizon:manage command with worker restart check
- Added a new option `--can-i-restart-this-worker` to the `horizon:manage` command.
- Implemented logic to check if the current worker can be restarted based on running jobs in the ApplicationDeploymentQueue.
- Refactored the command to include a new method `canIRestartThisWorker` for better code organization.
- Removed unnecessary dump statement from the CustomJobRepository.
2025-01-10 15:48:23 +01:00
Andras Bacsai
765e1ea04b feat: add horizon server details to queue 2025-01-10 15:39:22 +01:00
Andras Bacsai
b8f1ded9f8 horizon manage command 2025-01-10 14:28:46 +01:00
Andras Bacsai
cc61f48f27 refactor: remove unused tags method from ApplicationDeploymentJob 2025-01-10 14:23:33 +01:00
Andras Bacsai
9048efaf74 fix: add timeout to sentinel process checks for improved reliability 2025-01-10 13:03:47 +01:00
Andras Bacsai
f748fba3f7 fix: use timeout in cleanup resources 2025-01-10 12:34:20 +01:00
Andras Bacsai
5c8b26d446 fix 2025-01-10 12:31:20 +01:00
Andras Bacsai
b7d18fc28c fix: getcontainer status should timeout after 30s 2025-01-10 12:04:59 +01:00
Andras Bacsai
b09f0043d1 fix: restrict jobs on cloud
fix: restrict sentinel endpoint
2025-01-10 11:54:45 +01:00
🏔️ Peak
c1504fa5ff Merge branch 'next' into improve-git-and-service-provider 2025-01-09 21:18:30 +01:00
Darren Sisson
a5199c6e1a fix make public in supabase 2025-01-09 17:06:57 +00:00
peaklabs-dev
34873b2c59 feat: volume cloning for ResourceOperations 2025-01-09 14:13:09 +01:00
peaklabs-dev
e01401a4dd fix: volume and fileStorages cloning
- fix: volume naming
- fix: clone file and directory mounts for services
- fix: clone volumes for services
- fix: clone scheduled tasks for service applications
- fix: clone backup schedules for service databases
- feat: clone Volume data for services and applications
2025-01-09 13:49:44 +01:00
peaklabs-dev
5877cead89 feat: move volume data cloning to a Job 2025-01-08 23:16:15 +01:00
peaklabs-dev
3723c84624 feat: docker volume data cloning
- UI implementation
- functional implementation for databases - volume gets cloned successfully
2025-01-08 23:13:05 +01:00
peaklabs-dev
249e39ea71 fix: implement all the cloneMe changes for ResourceOperations as well 2025-01-08 17:26:59 +01:00
peaklabs-dev
3868a4c5e6 fix: clone naming for different database data volumes 2025-01-08 17:26:18 +01:00
peaklabs-dev
fc1963f642 chore: remove unused computed fields 2025-01-08 17:08:36 +01:00
peaklabs-dev
259d23d4c6 fix: labels and URL generation when cloning 2025-01-08 17:07:20 +01:00
peaklabs-dev
3d4e8b9867 chore: switch up readonly lables to make more sense 2025-01-08 17:05:11 +01:00
peaklabs-dev
d45e2d18b7 fix: Service and database cloning and label generation
Databases:
- clone tags
- clone volumes
- clone file and directory mounts
- clone backup schedules

Services:
- clone tags
- clone scheduled task
- clone environment variables
2025-01-08 16:26:02 +01:00
peaklabs-dev
66d0926142 fix: Undefined variable $fs_path for databases 2025-01-08 16:00:49 +01:00
Lucien Blunk-Lallet
a139cf154d refactor: use pull flag on docker compose up 2025-01-08 09:37:25 +01:00
Lucien Blunk-Lallet
9970173652 fix: pull latest image from registry when using build server 2025-01-08 09:02:13 +01:00
peaklabs-dev
b77a223ec9 fix: Application cloning
- disable URL auto generation
- clone Application settings as well
- clone tags
- clone scheduled tasks
- clone preview deployment settings
- clone file and directory mounts
2025-01-07 20:27:54 +01:00
peaklabs-dev
91e1220912 fix: service cloning on a separate server
- To be able to clone a service to a new server we need to set the server_id as well, otherwise it will be cloned on the same server.
2025-01-07 19:26:25 +01:00
peaklabs-dev
d53065967e fix: exclude system and computed fields from model replication
- Remove auto-generated properties (`id`, `created_at` and `updated_at` ) from replicate
- Exclude computed count properties (`additional_servers_count`, `additional_networks_count`) loaded by global scope to prevent errors
2025-01-07 17:18:04 +01:00
Andras Bacsai
1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai
da07b4fdcf refactor: rename parameter in DatabaseBackupJob for clarity 2025-01-07 15:21:14 +01:00
Andras Bacsai
16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
peaklabs-dev
96d2a1a512 fix: edge case where executions could be null 2025-01-07 14:49:04 +01:00
Andras Bacsai
c702ebff6d fix: ui bug on pw confirmation 2025-01-07 14:39:31 +01:00
Andras Bacsai
965d656c5b fix: update import command to append file redirection for database restoration 2025-01-07 14:39:31 +01:00