Skip to content

Commit 873c825

Browse files
author
Nikolay Dimitrov
authored
feat: release new version 2.0.8 with docker compose v2 IA-974 (#46)
1 parent fa270b9 commit 873c825

File tree

7 files changed

+22
-13
lines changed

7 files changed

+22
-13
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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"

dev/jenkins/destroy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else
1212
composefile="docker-compose.yml"
1313
fi
1414

15-
alias compose="docker-compose -f $composefile"
15+
alias compose="docker compose -f $composefile"
1616

1717
compose -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..."

dev/jenkins/run-e2e.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ else
1212
composefile="docker-compose.yml"
1313
fi
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

1720
compose down
1821

dev/jenkins/run-unit.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22

3-
set -e
3+
set +e
44

55
BASEDIR=$(dirname "$0")
66
cd $BASEDIR
@@ -12,7 +12,10 @@ else
1212
composefile="docker-compose.yml"
1313
fi
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

1720
compose down
1821

dev/jenkins/wait.sh

100644100755
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
RUNNER=$1
44

5+
project_version=$(echo "$VERSION" | tr '.' '_')
6+
echo -e "\n|--- Using docker compose project $project_version"
7+
58
wait_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

dev/wait.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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>

0 commit comments

Comments
 (0)