@jahia/cypress 3.14.0 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ci.build.sh +1 -1
- package/ci.startup.sh +11 -21
- package/env.debug.sh +1 -1
- package/env.provision.sh +1 -1
- package/env.run.sh +1 -1
- package/package.json +3 -3
package/ci.build.sh
CHANGED
package/ci.startup.sh
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# This script controls the startup of the container environment
|
|
4
4
|
# It can be used as an alternative to having docker-compose up started by the CI environment
|
|
5
5
|
|
|
6
|
-
BASEDIR=$(dirname
|
|
6
|
+
BASEDIR=$(dirname $(readlink -f $0))
|
|
7
7
|
|
|
8
8
|
source $BASEDIR/set-env.sh
|
|
9
9
|
|
|
@@ -25,25 +25,15 @@ if [[ -z ${JAHIA_LICENSE} ]]; then
|
|
|
25
25
|
fi
|
|
26
26
|
fi
|
|
27
27
|
|
|
28
|
-
echo "$(date +'%d %B %Y - %k:%M')
|
|
28
|
+
echo "$(date +'%d %B %Y - %k:%M') == Cluster enabled: ${JAHIA_CLUSTER_ENABLED} =="
|
|
29
29
|
if [[ "${JAHIA_CLUSTER_ENABLED}" == "true" ]]; then
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
else
|
|
40
|
-
echo "$(date +'%d %B %Y - %k:%M') [JAHIA_CLUSTER_ENABLED] == Starting a single processing node (no cluster) =="
|
|
41
|
-
if [[ $1 == "notests" ]]; then
|
|
42
|
-
docker-compose up -d --renew-anon-volumes mariadb jahia alfresco dockerldap
|
|
43
|
-
else
|
|
44
|
-
docker-compose up --renew-anon-volumes -d mariadb jahia alfresco dockerldap
|
|
45
|
-
docker ps -a
|
|
46
|
-
docker stats --no-stream
|
|
47
|
-
docker-compose up --abort-on-container-exit cypress
|
|
48
|
-
fi
|
|
30
|
+
export CLUSTER_PROFILE="--profile cluster"
|
|
31
|
+
fi
|
|
32
|
+
|
|
33
|
+
echo "$(date +'%d %B %Y - %k:%M') == Starting environment =="
|
|
34
|
+
docker-compose up -d --renew-anon-volumes ${CLUSTER_PROFILE}
|
|
35
|
+
if [[ "$1" != "notests" ]]; then
|
|
36
|
+
docker ps -a
|
|
37
|
+
docker stats --no-stream
|
|
38
|
+
docker-compose up --abort-on-container-exit cypress
|
|
49
39
|
fi
|
package/env.debug.sh
CHANGED
package/env.provision.sh
CHANGED
package/env.run.sh
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jahia/cypress",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc",
|
|
6
6
|
"lint": "eslint src -c .eslintrc.json --ext .ts"
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"bin": {
|
|
9
9
|
"ci.build": "./ci.build.sh",
|
|
10
10
|
"ci.startup": "./ci.startup.sh",
|
|
11
|
-
"env.run": "./
|
|
12
|
-
"env.debug": "./
|
|
11
|
+
"env.run": "./env.run.sh",
|
|
12
|
+
"env.debug": "./env.debug.sh"
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"types": "dist/index.d.ts",
|