mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-26 01:10:30 -04:00
fix(docker): create standalone networks without the swarm driver
Use the default bridge network driver for standalone destinations and bump the Coolify version to 4.3.14.
This commit is contained in:
@@ -27,6 +27,14 @@ it('StandaloneDocker accepts valid network names', function (string $network) {
|
||||
'alphanumeric' => 'network123',
|
||||
]);
|
||||
|
||||
it('creates standalone destinations with a bridge network', function () {
|
||||
$model = new StandaloneDocker;
|
||||
$model->network = 'test-network';
|
||||
|
||||
expect($model->networkCreateCommand())
|
||||
->toBe("docker network inspect 'test-network' >/dev/null 2>&1 || docker network create --attachable 'test-network' >/dev/null");
|
||||
});
|
||||
|
||||
it('SwarmDocker rejects network names with shell metacharacters', function (string $network) {
|
||||
$model = new SwarmDocker;
|
||||
$model->network = $network;
|
||||
|
||||
@@ -23,8 +23,8 @@ it('publishes v4 branch builds under the commit sha with a traceable internal ve
|
||||
->toContain('ARG COOLIFY_VERSION')
|
||||
->toContain('ENV COOLIFY_VERSION=${COOLIFY_VERSION}')
|
||||
->and($constants)
|
||||
->toContain("'version' => env('COOLIFY_VERSION') ?: '4.3.13'")
|
||||
->and($versions['coolify']['v4']['version'])->toBe('4.3.13')
|
||||
->toContain("'version' => env('COOLIFY_VERSION') ?: '4.3.14'")
|
||||
->and($versions['coolify']['v4']['version'])->toBe('4.3.14')
|
||||
->and($versions['coolify']['nightly']['version'])->toBe('4.4-rc.1')
|
||||
->and($nightlyVersions)->toBe($versions);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user