Skip to content

Commit baa16a2

Browse files
authored
Merge pull request #42 from magento-commerce/develop
MCLOUD-7868: Merge develop into 1.2
2 parents 0ca8dc1 + 5603987 commit baa16a2

File tree

114 files changed

+1462
-494
lines changed

Some content is hidden

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

114 files changed

+1462
-494
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ before_install:
8686
# https://github.com/kylekatarnls/update-helper/issues/9
8787
- if [ -n "${COMPOSER_VERSION}" ]; then travis_retry composer self-update ${COMPOSER_VERSION}; fi;
8888

89-
install: if [[ $TEST_SUITE != "build-images" ]]; then composer update; fi;
89+
install:
90+
- phpenv config-add travis.php.ini
91+
- if [[ $TEST_SUITE != "build-images" ]]; then composer update; fi;
9092

9193
before_script:
92-
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ] && [ $TEST_SUITE == "build-images" ]; then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; fi;
94+
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ] && ([ $TEST_SUITE == "build-images" ] || [ $TEST_SUITE == "functional" ]); then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; fi;
9395
- if [ $TEST_SUITE == "functional" ]; then sudo sysctl -w vm.max_map_count=262144; fi;
94-
- if [ $TEST_SUITE == "functional" ]; then cp codeception.dist.yml codeception.yml && sed -i "s/use_generated_images:\ false/use_generated_images:\ true/" codeception.yml; fi;
96+
- if [ $TEST_SUITE == "functional" ]; then cp codeception.dist.yml codeception.yml && sed -i "s/use_custom_images:\ false/use_custom_images:\ true/" codeception.yml; fi;
9597

9698
script:
9799
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ] && [ $TEST_SUITE == "functional" ]; then ./tests/travis/functional.sh; fi;

bin/init-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ add_host()
6969
echo "127.0.0.1 $DOMAIN" | sudo tee -a /etc/hosts
7070
}
7171

72-
PHP_VERSION="7.2"
73-
IMAGE_VERSION="1.1"
72+
PHP_VERSION="7.4"
73+
IMAGE_VERSION="1.2.1"
7474
ADD_HOST=true
7575
DOMAIN="magento2.docker"
7676
USAGE="Init Docker

codeception.dist.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ modules:
2525
composer_magento_username: "%REPO_USERNAME%"
2626
composer_magento_password: "%REPO_PASSWORD%"
2727
composer_github_token: "%GITHUB_TOKEN%"
28-
use_generated_images: false
29-
generated_images_namespace: "cloudft"
28+
use_custom_images: false
29+
custom_images_namespace: "cloudft"
30+
version_custom_images: "%TRAVIS_BUILD_NUMBER%"
3031
use_cached_workdir: true
31-
version_generated_images: "%TRAVIS_BUILD_NUMBER%"
3232
printOutput: false
3333
Magento\CloudDocker\Test\Functional\Codeception\Docker:
3434
system_magento_dir: "%Magento.docker.settings.system.magento_dir%"

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/magento-cloud-docker",
33
"description": "Magento Cloud Docker",
44
"type": "magento2-component",
5-
"version": "1.2.1",
5+
"version": "1.2.2",
66
"license": [
77
"OSL-3.0",
88
"AFL-3.0"
@@ -26,7 +26,7 @@
2626
"codeception/module-rest": "^1.2",
2727
"consolidation/robo": "^1.2",
2828
"phpmd/phpmd": "@stable",
29-
"phpstan/phpstan": "^0.11",
29+
"phpstan/phpstan": "^0.12",
3030
"phpunit/phpunit": "^8.5",
3131
"squizlabs/php_codesniffer": "^3.0"
3232
},
@@ -68,6 +68,10 @@
6868
"dist/mutagen.sh",
6969
"mutagen.sh"
7070
],
71+
[
72+
"dist/php.dev.ini",
73+
"php.dev.ini"
74+
],
7175
[
7276
"dist/mnt",
7377
".docker/mnt"

config/services.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
<service id="Magento\CloudDocker\App\ConfigurationMismatchException" autowire="false"/>
5252
<service id="Magento\CloudDocker\App\GenericException" autowire="false"/>
5353
<service id="Magento\CloudDocker\Compose\DeveloperBuilder" shared="false"/>
54-
<service id="Magento\CloudDocker\Config\Config" autowire="false"/>
5554
<service id="Magento\CloudDocker\Config\Source\CliSource" autowire="false"/>
5655
<service id="Magento\CloudDocker\Config\Source\CustomSource" autowire="false"/>
5756
<service id="Composer\Semver\VersionParser"/>

dist/php.dev.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
; configuration for development mode
2+
opcache.validate_timestamps = 1

images/elasticsearch/1.7/Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

images/elasticsearch/1.7/docker-healthcheck.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

images/elasticsearch/2.4/Dockerfile

Lines changed: 0 additions & 14 deletions
This file was deleted.

images/elasticsearch/2.4/docker-healthcheck.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)