Andras Bacsai
b1abdcee83
feat(environment-variables): implement environment variable analysis for build-time issues
...
- Added EnvironmentVariableAnalyzer trait to analyze and warn about problematic environment variables during the build process.
- Integrated analysis into ApplicationDeploymentJob and Livewire components to provide feedback on potential build issues.
- Introduced a new Blade component for displaying warnings related to environment variables in the UI.
2025-09-23 08:53:14 +02:00
Andras Bacsai
f33df13c4e
feat(environment): replace is_buildtime_only with is_runtime and is_buildtime flags for environment variables, updating related logic and views
2025-09-18 18:14:54 +02:00
Andras Bacsai
20ad2165e7
feat(environment): introduce 'is_buildtime_only' attribute to environment variables for improved build-time configuration
2025-09-11 17:38:16 +02:00
Andras Bacsai
5b3b4bbc43
refactor(environment): remove 'is_build_time' attribute from environment variable handling across the application to simplify configuration
2025-09-11 16:51:56 +02:00
Arnaud B
e23ab1e621
feat(deployment): add SERVICE_NAME variables for service discovery
...
This change introduces automatically generated `SERVICE_NAME_<SERVICE>`
environment variables for each service within a Docker Compose deployment.
This allows services to reliably reference each other by name, which is particularly
useful in pull request environments where container names are dynamically suffixed.
- The application parser now generates and injects these `SERVICE_NAME` variables
into the environment of all services in the compose file.
- `ApplicationDeploymentJob` is updated to correctly handle and filter these
new variables during deployment.
- UI components and the `EnvironmentVariableProtection` trait have been updated
to make these generated variables read-only, preventing accidental modification.
This commit introduces two new helper functions to standardize resource naming
for pull request deployments:
- `addPreviewDeploymentSuffix()`: Generates a consistent suffix format (-pr-{id})
for resource names in preview deployments
- `generateDockerComposeServiceName()`: Creates SERVICE_NAME environment variables
for Docker Compose services
2025-09-08 15:22:44 +02:00
Andras Bacsai
63fcc0ebc3
feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled.
2025-08-26 10:27:38 +02:00
Andras Bacsai
13a9816770
fix(service): ensure configuration changes are properly tracked and dispatched
2025-07-03 15:08:13 +02:00
Andras Bacsai
00fe6e9003
refactor(environment-variables): remove protected variable checks from delete methods for cleaner logic
2025-04-22 11:40:35 +02:00
Andras Bacsai
f63415f027
feat(EnvironmentVariable): implement protection for critical environment variables and enhance deletion logic
2025-04-07 22:57:26 +02:00
Andras Bacsai
d383344ab9
feat(EnvironmentVariable): add handling for Redis credentials in the environment variable component
2025-04-06 21:13:11 +02:00
peaklabs-dev
9f3c6b4b76
fix(env): shared variables can not be updated
2025-01-22 17:02:11 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8
.
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01:00
Andras Bacsai
2a9d499251
feat: migrate env variables to polymorphic relationship
...
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
Andras Bacsai
e76817d401
improve application view
2024-12-16 14:11:45 +01:00
Andras Bacsai
946ab81d87
is_required is not required for shared envs
2024-12-07 14:35:14 +01:00
Lucas Michot
c5403b0b3f
Always prefer ::class notation
2024-10-28 14:56:13 +01:00
peaklabs-dev
1d2e9b6946
fix is required on shared variables
2024-10-18 12:29:33 +02:00
Andras Bacsai
88f1e58c63
feat: required envs
2024-10-11 14:38:22 +02:00
Andras Bacsai
bfeaae9caa
fix: env variable in value parsed
2024-09-04 14:33:16 +02:00
Andras Bacsai
f90316b050
Merge pull request #3062 from peaklabs-dev/fix-#3022
...
Fix: Environment variables are not saving and sorting is not working properly in some cases
2024-08-14 21:13:23 +02:00
ayntk-ai
122491808c
fix env deletion and sorting of locked envs
2024-08-12 14:44:18 +02:00
Andras Bacsai
4904b33a0f
refactor: Update event listeners in Show components
2024-08-12 11:35:26 +02:00
Andras Bacsai
d7350fad76
fix: several shared environment variables in one value, parsed correctly
2024-07-26 13:22:44 +02:00
Andras Bacsai
802cab4a70
fix: domain update on services on the UI
2024-07-26 11:58:14 +02:00
andrasbacsai
96c4f5b8da
Fix styling
2024-07-25 11:31:59 +00:00
Andras Bacsai
6a4aa492c0
fix: random generated uuid will be full length (not 7 characters)
2024-07-25 13:31:01 +02:00
Andras Bacsai
1266810c4d
fix: better parsign performance for huge compose files
...
fix: env parsing
2024-06-25 10:34:56 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
b78ca71c0f
Fix disabling of environment variables starting with SERVICE_FQDN or SERVICE_URL in Show.php
2024-04-25 14:29:23 +02:00
Andras Bacsai
faa1120e14
Refactor Show.php and docker.php to improve code readability and maintainability
2024-04-16 12:41:33 +02:00
Andras Bacsai
16f9c727f2
feat: lazy load stuffs + tell user if compose based deployments have missing envs
2024-04-15 14:23:25 +02:00
Andras Bacsai
5b36f07493
feat: literal env variables
2024-04-15 12:46:22 +02:00
Andras Bacsai
a336dae84c
fix: $ in env variable
...
feat: multiline envs
2024-03-14 23:00:06 +01:00
Andras Bacsai
c7218f2856
Update success messages
2024-02-22 14:53:42 +01:00
Andras Bacsai
f1e4395a83
Refactor shared variable type validation
2024-01-31 13:43:23 +01:00
Andras Bacsai
52fd7ad571
fix: not able to use other shared envs
2024-01-31 13:40:15 +01:00
Andras Bacsai
fb478c79b3
feat: shared environments
2024-01-23 17:13:23 +01:00
Andras Bacsai
0c90d3d0a1
fix: docker compose apps env rewritten
2023-12-20 16:15:13 +01:00
Andras Bacsai
718603e37e
wip: migrate to livewire 3
2023-12-07 19:06:32 +01:00