feat: Trigger Lagoon Deployments for App Instances#56
Open
Conversation
bomoko
requested changes
Jan 6, 2026
| // Construct Lagoon CLI command | ||
| // lagoon deploy -p <project> -e <branch> | ||
|
|
||
| $fullCommand = sprintf('lagoon deploy -p %s -e %s', |
Contributor
There was a problem hiding this comment.
This should be done with the php library.
e7af193 to
6c88a3c
Compare
cef3c95 to
579e6f6
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces the ability to trigger Lagoon deployments for Polydock App Instances directly from the Polydock Engine.
Adds two new Artisan commands for bulk or single-instance deployments and integrates a "Trigger Deploy" action into the Filament Admin UI.
Key Changes
polydock:instances:run-lagoon-command:FreedomtechHosting\FtLagoonPhp\Client).--variables-onlyflag for env var updates without full rebuilds.--forceis used).polydock:instances:trigger-deploy:lagoon deploy -p [project] -e [branch]for running instances.ViewPolydockAppInstance:PolydockAppInstance: AddedgetName()andsetName()convenience methods.tests/Feature/Console/Commands/RunLagoonCommandOnAppInstancesTest.phpcovering:How to Test
CLI (API-based):
CLI (Lagoon CLI-based):
php artisan polydock:instances:trigger-deploy {app_uuid}Admin UI: