File tree Expand file tree Collapse file tree 7 files changed +22
-13
lines changed
Expand file tree Collapse file tree 7 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 66 "php" : " >7.0.1"
77 },
88 "type" : " magento2-module" ,
9- "version" : " 2.0.7 " ,
9+ "version" : " 2.0.8 " ,
1010 "autoload" : {
1111 "files" : [
1212 " registration.php"
Original file line number Diff line number Diff line change 1212 composefile=" docker-compose.yml"
1313fi
1414
15- alias compose=" docker- compose -f $composefile "
15+ alias compose=" docker compose -f $composefile "
1616
1717compose -p mage_unit_$VERSION down || echo " Could not stop Docker..."
18- compose -p mage_e2e_$VERSION down || echo " Could not stop Docker..."
18+ compose -p mage_e2e_$VERSION down || echo " Could not stop Docker..."
Original file line number Diff line number Diff line change 1212 composefile=" docker-compose.yml"
1313fi
1414
15- alias compose=" docker-compose -p mage_e2e_$VERSION -f $composefile "
15+ project_version=$( echo " $VERSION " | tr ' .' ' _' )
16+ echo " \n|--- Using docker compose project $project_version "
17+
18+ alias compose=" docker compose -p mage_e2e_$project_version -f $composefile "
1619
1720compose down
1821
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22
3- set - e
3+ set + e
44
55BASEDIR=$( dirname " $0 " )
66cd $BASEDIR
1212 composefile=" docker-compose.yml"
1313fi
1414
15- alias compose=" docker-compose -p mage_unit_$VERSION -f $composefile "
15+ project_version=$( echo " $VERSION " | tr ' .' ' _' )
16+ echo " \n|--- Using docker compose project $project_version "
17+
18+ alias compose=" docker compose -p mage_unit_$project_version -f $composefile "
1619
1720compose down
1821
Original file line number Diff line number Diff line change 22
33RUNNER=$1
44
5+ project_version=$( echo " $VERSION " | tr ' .' ' _' )
6+ echo -e " \n|--- Using docker compose project $project_version "
7+
58wait_it ()
69{
710 while :
811 do
9- result=$( docker- compose -p " mage_${RUNNER} _${VERSION } " ps | grep magento)
10- echo $result
12+ result=$( docker compose -p " mage_${RUNNER} _${project_version } " ps | grep magento)
13+ echo -e $result
1114 if [ ! -z " $result " ]; then
12- healthy=$( echo $result | grep " Up (healthy)" )
15+ healthy=$( echo $result | grep " (healthy)" )
1316 if [ ! -z " $healthy " ]; then
1417 echo " ready"
1518 break
@@ -24,4 +27,4 @@ wait_it()
2427 done
2528}
2629
27- wait_it
30+ wait_it
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ wait_it()
99{
1010 while :
1111 do
12- result=$( docker- compose -p " mage" ps | grep magento-test)
12+ result=$( docker compose -p " mage" ps | grep magento-test)
1313 if [ ! -z " $result " ]; then
1414 healthy=$( echo $result | grep " Up (healthy)" )
1515 if [ ! -z " $healthy " ]; then
@@ -28,4 +28,4 @@ wait_it()
2828 done
2929}
3030
31- wait_it
31+ wait_it
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22
33<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
4- <module name =" Emartech_Emarsys" setup_version =" 2.0.7 " >
4+ <module name =" Emartech_Emarsys" setup_version =" 2.0.8 " >
55 <sequence >
66 <module name =" Magento_Sales" />
77 </sequence >
You can’t perform that action at this time.
0 commit comments