Skip to content

Commit

Permalink
chore: add os notice to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Aug 25, 2024
1 parent 218d0a2 commit 524aaf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ We would like to extend our thanks to the following sponsors for funding Ptah.sh

- _None so far_

## Suppoted Operating Systems

Currently we support only the latest stable Ubuntu (24.04) with x86_64 architecture. You can build Agent and/or the server software for other operating systems, but no guarantee it will work.

In case of any trouble, please ask for help in the [community chat](https://r.ptah.sh/chat).

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [CONTRIBUTING.md](https://github.com/ptah-sh/ptah-server/blob/main/CONTRIBUTING.md).
Expand Down
5 changes: 1 addition & 4 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,10 @@
) use ($schedule) {
foreach ($services as $service) {
foreach ($service->latestDeployment->data->processes as $process) {
// FIXME: this is an array when running migrations
if (is_array($process)) {
continue;
}
if ($process->replicas === 0) {
continue;
}

foreach ($process->volumes as $volume) {
$backupSchedule = $volume->backupSchedule;
if ($backupSchedule === null) {
Expand Down

0 comments on commit 524aaf9

Please sign in to comment.