-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #258 allow to build images with nixpacks
- Loading branch information
1 parent
eafbc50
commit 22867a4
Showing
10 changed files
with
279 additions
and
98 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
app/Events/NodeTasks/BuildImageWithNixpacks/BuildImageWithNixpacksCompleted.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace App\Events\NodeTasks\BuildImageWithNixpacks; | ||
|
||
use App\Events\NodeTasks\BaseTaskEvent; | ||
|
||
class BuildImageWithNixpacksCompleted extends BaseTaskEvent {} |
7 changes: 7 additions & 0 deletions
7
app/Events/NodeTasks/BuildImageWithNixpacks/BuildImageWithNixpacksFailed.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace App\Events\NodeTasks\BuildImageWithNixpacks; | ||
|
||
use App\Events\NodeTasks\BaseTaskEvent; | ||
|
||
class BuildImageWithNixpacksFailed extends BaseTaskEvent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app/Models/DeploymentData/AppSource/GitWithNixpacksSource.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace App\Models\DeploymentData\AppSource; | ||
|
||
use App\Models\DeploymentData\Volume; | ||
use Spatie\LaravelData\Data; | ||
|
||
class GitWithNixpacksSource extends Data | ||
{ | ||
public function __construct( | ||
public string $repo, | ||
public string $ref, | ||
public string $nixpacksFilePath, | ||
public ?Volume $volume, | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.