Open
Conversation
Refactor deployment options and improve UI components.
There was a problem hiding this comment.
Pull request overview
This PR introduces a new deployment mode for environment variable-only deployments, providing users with the option to quickly apply variable changes without rebuilding container images. The implementation adds a mutation parameter to the GraphQL query and creates a new UI with card-based deployment type selection.
- Extends the
deployEnvironmentLatestmutation to accept anenvVarOnlyparameter that sets theLAGOON_VARIABLES_ONLYbuild variable - Introduces a card-based UI for selecting between "Full Deployment" and "Variables Only Deployment" modes
- Displays a warning message when variables-only deployment is selected to inform users about limitations
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| src/lib/mutation/deployEnvironmentLatest.ts | Adds envVarOnly parameter and buildVariables array to pass LAGOON_VARIABLES_ONLY flag to the deployment API |
| src/components/pages/deployments/_components/DeployLatest.tsx | Refactors deployment UI to show deployment type selection cards, adds state management for deployment type, and includes a warning for partial deployments |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
|
Made a few small updates:
Everything else looks good |
CGoodwin90
approved these changes
Dec 18, 2025
Contributor
Author
|
@CGoodwin90 okay - this is great - I guess this should only be merged AFTER the API becomes generally available. So after rollout. |
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.
This adds a very, very rudimentary implementation of environment variable only deployments - primarily to show how/that it can be done in the UI very simply.