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
4f71d14d39
feat(event): introduce ApplicationConfigurationChanged event to handle team-specific configuration updates and broadcast changes
...
feat(envs): Generate hash from secrets to invalidate docker layers
2025-09-22 09:44:30 +02:00
Andras Bacsai
593c1b4767
fix(deployment): enhance Dockerfile modification for build-time variables and secrets during deployment in case of docker compose buildpack
2025-09-19 13:46:00 +02:00
Andras Bacsai
9ad5b8c37f
feat(deployment): handle buildtime and runtime variables during deployment
2025-09-18 18:15:20 +02:00
Andras Bacsai
b34dc11d8e
fix(deployment): prevent removal of running containers for pull request deployments in case of failure
2025-09-18 11:30:49 +02:00
Andras Bacsai
1f4255ef41
refactor(deployment): rename method for modifying Dockerfile to improve clarity and streamline build secrets integration
2025-09-17 18:46:10 +02:00
Andras Bacsai
d7a7bac3f1
refactor(deployment): optimize BuildKit capabilities detection and remove unnecessary comments for cleaner deployment logic
2025-09-17 15:18:26 +02:00
Andras Bacsai
c1bee32f09
feat(deployment): introduce 'use_build_secrets' setting for enhanced security during Docker builds and update related logic in deployment process
2025-09-17 10:34:38 +02:00
Andras Bacsai
87967b8734
refactor(deployment): streamline Docker BuildKit detection and environment variable handling for enhanced security during application deployment
2025-09-17 10:08:29 +02:00
Andras Bacsai
f5e17337f4
Update app/Jobs/ApplicationDeploymentJob.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-16 18:26:12 +02:00
Andras Bacsai
f084ded6e9
refactor(deployment): remove redundant environment variable documentation from Dockerfile comments to streamline the deployment process
2025-09-16 18:25:29 +02:00
Andras Bacsai
6314fef8df
Update app/Jobs/ApplicationDeploymentJob.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-16 18:25:07 +02:00
Andras Bacsai
8542d33a2d
refactor(deployment): conditionally cleanup build secrets based on Docker BuildKit support and remove redundant calls for improved efficiency
2025-09-16 18:20:56 +02:00
Andras Bacsai
c182cac032
Update app/Jobs/ApplicationDeploymentJob.php
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-16 18:20:36 +02:00
Andras Bacsai
efbbe76310
feat(deployment): add support for Docker BuildKit and build secrets to enhance security and flexibility during application deployment
...
refactor(static-buildpack): seperate static buildpack for readability
2025-09-16 17:16:01 +02:00
Andras Bacsai
9e8fb36bc8
feat(deployment): implement cancellation checks during deployment process to enhance user control and prevent unnecessary execution
2025-09-16 13:40:51 +02:00
Andras Bacsai
7322072518
refactor(deployment): update environment file paths in docker compose commands to use working directory for improved consistency
2025-09-15 18:05:11 +02:00
Andras Bacsai
393745b68c
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency"
...
This reverts commit 18068857b1
.
2025-09-15 17:55:08 +02:00
Andras Bacsai
54a55be8e5
refactor(deployment): streamline environment variable handling for dockercompose and improve sorting of runtime variables
2025-09-15 15:39:07 +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
Andras Bacsai
60374c214e
refactor(deployment): update environment file handling in Docker commands to use '/artifacts/' path and streamline variable management
2025-09-11 16:22:03 +02:00
Andras Bacsai
501e6a2650
refactor(environment): standardize service name formatting by replacing '-' and '.' with '_' in environment variable keys
2025-09-11 13:59:02 +02:00
Andras Bacsai
5e0b86f322
Merge pull request #6170 from mindedtech/Add-SERVICE_NAME-variable-for-docker-compose-services
...
Add SERVICE_NAME variable for docker compose services
2025-09-11 13:06:10 +02:00
Andras Bacsai
b46429e879
refactor(deployment): add environment variable copying logic to Docker build commands for pull requests
2025-09-11 13:01:45 +02:00
Andras Bacsai
49a2942836
fix(deployment): add COOLIFY_* environment variables to Nixpacks build context for enhanced deployment configuration
2025-09-10 16:15:08 +02:00
Andras Bacsai
d10e4fa388
refactor(deployment): streamline next deployment queuing logic by repositioning queue_next_deployment call
2025-09-10 13:26:35 +02:00
Andras Bacsai
feacedbb04
refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency
2025-09-09 11:10:38 +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
18068857b1
refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency
2025-09-08 14:04:24 +02:00
Andras Bacsai
240f8f33e2
Merge pull request #6367 from nahtnam/v4.x
...
BUGFIX: Update `ls-remote` logic to pull correct branch
2025-08-17 15:20:27 +02:00
Manthan Mallikarjun
08e4086bb9
fix(git): use exact refspec in ls-remote to avoid matching similarly named branches (e.g., changeset-release/main). Use refs/heads/<branch> or provider-specific PR refs.
2025-08-13 01:14:47 -07:00
Andras Bacsai
4df349f74d
refactor(previews): streamline preview domain generation logic in ApplicationDeploymentJob for improved clarity and maintainability
2025-07-18 20:48:56 +02:00
Andras Bacsai
5bdf2e8481
refactor(previews): move preview domain generation logic to ApplicationPreview model for better encapsulation and consistency across webhook handlers
2025-07-14 19:12:57 +02:00
Andras Bacsai
8a107b3c4b
fix(previews): refine preview domain generation for Docker Compose applications, ensuring correct method usage based on build pack type
2025-07-14 15:47:16 +02:00
Andras Bacsai
b9ba04c4e1
fix(deployment): update COOLIFY_URL and COOLIFY_FQDN generation to use Spatie URL library for improved accuracy
2025-07-08 10:49:09 +02:00
Andras Bacsai
94f9c54256
fix(deployment): refactor domain parsing and environment variable generation using Spatie URL library
2025-07-08 10:42:34 +02:00
Andras Bacsai
95da765a9e
fix(deployment): improve docker-compose domain handling and environment variable generation
2025-07-07 16:07:08 +02:00
Andras Bacsai
085529dc63
fix(deployment): enhance COOLIFY_URL and COOLIFY_FQDN variable generation for better compatibility
2025-07-07 12:55:35 +02:00
Andras Bacsai
6a90bdf9fa
fix(env): Generate literal env variables better
2025-07-07 12:30:44 +02:00
Andras Bacsai
3643a388bf
fix(github): changing github app breaks the webhook. it does not anymore
2025-06-21 19:28:38 +02:00
Andras Bacsai
aa0e32a20d
refactor(application-deployment): streamline post-deployment process by always dispatching container status check
2025-05-30 10:09:25 +02:00
Andras Bacsai
761da352fe
refactor(application-deployment): separate handling of FAILED and CANCELLED_BY_USER statuses for clearer logic and notification
2025-05-29 17:02:08 +02:00
Andras Bacsai
e9dd170ffb
fix(deployment): correct COOLIFY_URL and COOLIFY_FQDN assignments based on parsing version in preview deployments
2025-05-21 09:45:49 +02:00
Andras Bacsai
2417c8824d
Merge branch 'next' into next
2025-05-21 09:33:47 +02:00
Andras Bacsai
7a0954fa77
fix(deployment): correct syntax for else statement in docker compose build command
2025-05-20 14:28:24 +02:00
Andras Bacsai
5b0f635da2
Merge branch 'next' into patch-1
2025-05-20 14:09:31 +02:00
Andras Bacsai
786bfa960f
improvement(core): simplify events for app/db/service status changes
2025-05-19 21:50:32 +02:00
Bayram Kazık
8d359cd53e
fix(ApplicationDeploymentJob): ensure correct COOLIFY_FQDN/COOLIFY_URL values ( #4719 )
2025-05-16 09:50:18 +03:00
sur.la.route
4a66fdf753
fix(docker-compose build) added --no-cache flag
...
added `--no-cache` flag when build is force.
2025-05-09 07:07:02 -05:00