Skip to content

Commit

Permalink
Merge branch 'develop' for v4.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
mrrobot47 committed Jan 6, 2020
2 parents ee390e8 + 59b1d9d commit 65eeb3b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 19 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.15
4.0.16
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"easyengine/cron-command": "v1.0.2",
"easyengine/log-command": "v1.0.1",
"easyengine/mailhog-command": "v1.0.2",
"easyengine/site-command": "v2.4.0",
"easyengine/site-command": "v2.4.2",
"easyengine/site-type-wp": "v1.1.0",
"easyengine/site-type-php": "v1.1.0",
"easyengine/service-command": "v1.0.9",
Expand Down
26 changes: 14 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions img-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"easyengine/mariadb": "v4.0.0",
"easyengine/nginx-proxy": "v4.0.3",
"easyengine/nginx": "v4.1.0",
"easyengine/php": "v4.1.0",
"easyengine/php": "v4.1.2",
"easyengine/php5.6": "v4.0.0",
"easyengine/php7.0": "v4.1.0",
"easyengine/php7.2": "v4.1.0",
"easyengine/php7.3": "v4.1.0",
"easyengine/php7.4": "v4.1.0",
"easyengine/php7.0": "v4.1.2",
"easyengine/php7.2": "v4.1.2",
"easyengine/php7.3": "v4.1.2",
"easyengine/php7.4": "v4.1.2",
"easyengine/postfix": "v4.0.0",
"easyengine/redis": "v4.0.0",
"easyengine/newrelic-daemon": "v4.0.0"
Expand Down
14 changes: 14 additions & 0 deletions php/EE/Migration/Containers.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,25 @@ public static function save_upgraded_image_versions( $current_versions, $new_ver
'EE\Migration\Containers::revert_database_entry',
[ $new_versions, $updated_images ],
[ $current_versions, $updated_images ]
);

self::$rsp->add_step(
'prune-old-docker-images',
'EE\Migration\Containers::image_cleanup',
null,
null,
null
);

}

/**
* Prune old and extra EE Docker images.
*/
public static function image_cleanup() {
EE::exec( 'docker image prune -af --filter=label=org.label-schema.vendor="EasyEngine"' );
}

/**
* Update database entry of images
*
Expand Down

0 comments on commit 65eeb3b

Please sign in to comment.