Skip to content

Commit 532e096

Browse files
committed
Merge branch 'mrrobot47-add/verbose-of-first-migration' into develop-v4
2 parents d67c517 + 6e04aad commit 532e096

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

migrations/db/20181016052850_easyengine_insert_docker_images_version.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public function __construct() {
2727
*/
2828
public function up() {
2929

30-
EE::log( 'Checking/Pulling required images' );
30+
EE::log( 'Checking and Pulling required images. This may take some time.' );
3131
$images = EE\Utils\get_image_versions();
3232

3333
$query = '';
3434
foreach ( $images as $image => $tag ) {
35-
EE::debug( "Checking/Pulling docker image $image:$tag" );
36-
if ( ! \EE::exec( "docker pull ${image}:${tag}" ) ) {
35+
EE::log( "Checking and Pulling docker image $image:$tag" );
36+
if ( ! \EE::exec( "docker pull ${image}:${tag}", true, true ) ) {
3737
throw new \Exception( "Unable to pull ${image}:${tag}. Please check logs for more details." );
3838
}
3939
$query .= "INSERT INTO options VALUES( '${image}', '${tag}' );";

0 commit comments

Comments
 (0)