Skip to content

Commit a528f4c

Browse files
authored
v4.0.0-beta.452 (#7386)
2 parents 751f8db + a56fde7 commit a528f4c

File tree

79 files changed

+1296
-304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1296
-304
lines changed

app/Actions/Application/StopApplication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function handle(Application $application, bool $previewDeployments = fals
3939

4040
foreach ($containersToStop as $containerName) {
4141
instant_remote_process(command: [
42-
"docker stop --time=30 $containerName",
42+
"docker stop -t 30 $containerName",
4343
"docker rm -f $containerName",
4444
], server: $server, throwError: false);
4545
}

app/Actions/Application/StopApplicationOneServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function handle(Application $application, Server $server)
2626
if ($containerName) {
2727
instant_remote_process(
2828
[
29-
"docker stop --time=30 $containerName",
29+
"docker stop -t 30 $containerName",
3030
"docker rm -f $containerName",
3131
],
3232
$server

app/Actions/Database/StartClickhouse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function handle(StandaloneClickhouse $database)
105105
$this->commands[] = "echo '{$readme}' > $this->configuration_dir/README.md";
106106
$this->commands[] = "echo 'Pulling {$database->image} image.'";
107107
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
108-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
108+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
109109
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
110110
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
111111
$this->commands[] = "echo 'Database started.'";

app/Actions/Database/StartDragonfly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function handle(StandaloneDragonfly $database)
192192
if ($this->database->enable_ssl) {
193193
$this->commands[] = "chown -R 999:999 $this->configuration_dir/ssl/server.key $this->configuration_dir/ssl/server.crt";
194194
}
195-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
195+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
196196
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
197197
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
198198
$this->commands[] = "echo 'Database started.'";

app/Actions/Database/StartKeydb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function handle(StandaloneKeydb $database)
208208
if ($this->database->enable_ssl) {
209209
$this->commands[] = "chown -R 999:999 $this->configuration_dir/ssl/server.key $this->configuration_dir/ssl/server.crt";
210210
}
211-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
211+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
212212
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
213213
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
214214
$this->commands[] = "echo 'Database started.'";

app/Actions/Database/StartMariadb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function handle(StandaloneMariadb $database)
209209
$this->commands[] = "echo '{$readme}' > $this->configuration_dir/README.md";
210210
$this->commands[] = "echo 'Pulling {$database->image} image.'";
211211
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
212-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
212+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
213213
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
214214
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
215215
$this->commands[] = "echo 'Database started.'";

app/Actions/Database/StartMongodb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function handle(StandaloneMongodb $database)
260260
$this->commands[] = "echo '{$readme}' > $this->configuration_dir/README.md";
261261
$this->commands[] = "echo 'Pulling {$database->image} image.'";
262262
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
263-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
263+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
264264
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
265265
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
266266
if ($this->database->enable_ssl) {

app/Actions/Database/StartMysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function handle(StandaloneMysql $database)
210210
$this->commands[] = "echo '{$readme}' > $this->configuration_dir/README.md";
211211
$this->commands[] = "echo 'Pulling {$database->image} image.'";
212212
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
213-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
213+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
214214
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
215215
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
216216

app/Actions/Database/StartPostgresql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public function handle(StandalonePostgresql $database)
223223
$this->commands[] = "echo '{$readme}' > $this->configuration_dir/README.md";
224224
$this->commands[] = "echo 'Pulling {$database->image} image.'";
225225
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml pull";
226-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
226+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
227227
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
228228
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
229229
if ($this->database->enable_ssl) {

app/Actions/Database/StartRedis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function handle(StandaloneRedis $database)
205205
if ($this->database->enable_ssl) {
206206
$this->commands[] = "chown -R 999:999 $this->configuration_dir/ssl/server.key $this->configuration_dir/ssl/server.crt";
207207
}
208-
$this->commands[] = "docker stop --time=10 $container_name 2>/dev/null || true";
208+
$this->commands[] = "docker stop -t 10 $container_name 2>/dev/null || true";
209209
$this->commands[] = "docker rm -f $container_name 2>/dev/null || true";
210210
$this->commands[] = "docker compose -f $this->configuration_dir/docker-compose.yml up -d";
211211
$this->commands[] = "echo 'Database started.'";

0 commit comments

Comments
 (0)