Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions img-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"easyengine/nginx-proxy": "v4.0.0",
"easyengine/nginx": "v4.0.0",
"easyengine/php": "v4.0.0",
"easyengine/php5.6": "v4.0.0",
"easyengine/postfix": "v4.0.0",
"easyengine/redis": "v4.0.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ public function up() {

$query = '';
foreach ( $images as $image => $tag ) {
if ( 'easyengine/php5.6' === $image ) {
continue;
}
EE::log( "Checking and Pulling docker image $image:$tag" );
if ( ! \EE::exec( "docker pull ${image}:${tag}", true, true ) ) {
throw new \Exception( "Unable to pull ${image}:${tag}. Please check logs for more details." );
Expand Down
3 changes: 3 additions & 0 deletions php/EE/Migration/Containers.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public static function start_container_migration() {
$updated_images = [];

foreach ( $img_versions as $img => $version ) {
if ( 'easyengine/php5.6' === $img ) {
continue;
}
if ( $current_versions[ $img ] !== $version ) {
$updated_images[] = $img;
self::pull_or_error( $img, $version );
Expand Down