Skip to content

Commit c4b5035

Browse files
authored
Merge pull request #130 from magento-commerce/develop
MCLOUD-12025 Cloud Tools Releas
2 parents cf95bd4 + 163a02c commit c4b5035

File tree

86 files changed

+954
-91
lines changed

Some content is hidden

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

86 files changed

+954
-91
lines changed

.github/.metadata.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"templateVersion": "0.1",
2+
"templateVersion": "0.2",
33
"product": {
44
"name": "Magento Cloud Docker",
55
"description": "The Magento Cloud Docker implementation deploys Cloud projects to a local workstation so that you can develop and test your code in a simulated Cloud environment"
66
},
77
"contacts": {
88
"team": {
9-
"name": "Magic Mountain",
10-
"DL": "Grp-magento-cloud-all",
11-
"slackChannel": "magic_mountain"
9+
"name": "Mystic Mountain",
10+
"DL": "Grp-Mystic-Mountain",
11+
"slackChannel": "#mystic-mountain-team"
1212
}
1313
},
1414
"ticketTracker": {
@@ -17,10 +17,8 @@
1717
},
1818
"securityJiraQueue": {
1919
"projectKey": "MAGREQ",
20-
"component": "Magento Cloud Engineering"
20+
"component": "MAGREQ/Magento Cloud Engineering"
2121
}
2222
},
23-
"staticScan": {
24-
"enable": false
25-
}
23+
"productionCodeBranches": ["1.0", "1.1", "1.2", "1.3"]
2624
}

composer.json

Lines changed: 6 additions & 6 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.3.6",
5+
"version": "1.3.7",
66
"license": [
77
"OSL-3.0",
88
"AFL-3.0"
@@ -13,10 +13,10 @@
1313
"composer/composer": "^1.4 || ^2.0",
1414
"composer/semver": "@stable",
1515
"illuminate/config": "^5.5||^8.77",
16-
"symfony/config": "^4.4 || ^5.1",
17-
"symfony/console": "^2.8 || ^4.0 || ^5.1",
18-
"symfony/dependency-injection": "^3.3 || ^4.3 || ^5.1",
19-
"symfony/yaml": "^3.3 || ^4.0 || ^5.1"
16+
"symfony/config": "^4.4 || ^5.1|| ^5.4 || ^6.4",
17+
"symfony/console": "^2.8 || ^4.0 || ^5.1 || ^5.4 || ^6.4",
18+
"symfony/dependency-injection": "^3.3 || ^4.3 || ^5.1|| ^5.4 || ^6.4",
19+
"symfony/yaml": "^3.3 || ^4.0 || ^5.1 || ^5.4|| ^6.4"
2020
},
2121
"require-dev": {
2222
"codeception/codeception": "^4.1",
@@ -26,7 +26,7 @@
2626
"codeception/module-rest": "^1.2",
2727
"consolidation/robo": "^1.2 || ^2.0",
2828
"phpmd/phpmd": "@stable",
29-
"phpstan/phpstan": "^0.12",
29+
"phpstan/phpstan": "^1.8",
3030
"phpunit/phpunit": "^8.5 || ^9.5",
3131
"squizlabs/php_codesniffer": "^3.0"
3232
},

config/services.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<prototype namespace="Magento\CloudDocker\" resource="../src/*" exclude="../src/{Test}"/>
1010
<service id="Magento\CloudDocker\App\Container" autowire="false"/>
1111
<service id="Magento\CloudDocker\App\ContainerInterface" alias="container"/>
12+
<service id="Psr\Container\ContainerInterface" alias="service_container"/>
1213
<service id="Magento\CloudDocker\App\ContainerException" autowire="false"/>
1314
<service id="Magento\CloudDocker\Compose\BuilderFactory">
1415
<argument key="$strategies" type="collection">

images/nginx/1.19/Dockerfile renamed to images/nginx/1.24/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nginx:1.19
1+
FROM nginx:1.24
22

33
ENV UPLOAD_MAX_FILESIZE 64M
44
ENV XDEBUG_HOST fpm_xdebug
File renamed without changes.
File renamed without changes.

images/opensearch/1.3/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM opensearchproject/opensearch:1.3.0
2+
3+
USER root
4+
RUN yum -y install zip && \
5+
zip -q -d /usr/share/opensearch/lib/log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class && \
6+
yum remove -y zip && \
7+
yum -y clean all && \
8+
rm -rf /var/cache
9+
USER opensearch
10+
11+
RUN bin/opensearch-plugin install -b analysis-icu && \
12+
bin/opensearch-plugin install -b analysis-phonetic
13+
14+
ADD docker-healthcheck.sh /docker-healthcheck.sh
15+
ADD docker-entrypoint.sh /docker-entrypoint.sh
16+
17+
HEALTHCHECK --retries=3 CMD ["bash", "/docker-healthcheck.sh"]
18+
19+
ENTRYPOINT ["/docker-entrypoint.sh"]
20+
21+
EXPOSE 9200 9300
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
set -eo pipefail
3+
4+
if [[ -n "$OS_PLUGINS" ]]; then
5+
echo "Installing plugins: $OS_PLUGINS"
6+
for PLUGIN in $OS_PLUGINS
7+
do
8+
./bin/opensearch-plugin install -b "$PLUGIN"
9+
done
10+
fi
11+
12+
/bin/bash /usr/share/opensearch/opensearch-docker-entrypoint.sh

0 commit comments

Comments
 (0)