فهرست منبع

Plone tests for SITE, VERSIONS, PROFILES env

Alin Voinea 6 سال پیش
والد
کامیت
789b7f1ed2

+ 1 - 0
test/config.sh

@@ -179,6 +179,7 @@ imageTests+=(
 	[plone]='
 		plone-basics
 		plone-addons
+		plone-versions
 		plone-zeoclient
 	'
 	[postgres]='

+ 2 - 0
test/tests/plone-addons/expected-std-out.txt

@@ -9,3 +9,5 @@ zcml += eea.facetednavigation-meta
 enabled = False
 site-id = Plone
 profiles += eea.facetednavigation:default
+
+[versions]

+ 15 - 0
test/tests/plone-versions/expected-std-out.txt

@@ -0,0 +1,15 @@
+
+[buildout]
+extends = develop.cfg
+develop += src/eea.facetednavigation
+eggs += eea.facetednavigation
+zcml += eea.facetednavigation-meta
+
+[plonesite]
+enabled = True
+site-id = plone
+profiles += eea.facetednavigation:universal
+
+[versions]
+eea.facetednavigation=13.3
+plone.restapi=5.0.0

+ 12 - 0
test/tests/plone-versions/run.sh

@@ -0,0 +1,12 @@
+#!/bin/bash
+set -eo pipefail
+
+docker run -i --rm \
+	-e PLONE_DEVELOP=src/eea.facetednavigation \
+	-e PLONE_ADDONS=eea.facetednavigation \
+	-e PLONE_ZCML=eea.facetednavigation-meta \
+	-e PLONE_VERSIONS="eea.facetednavigation=13.3 plone.restapi=5.0.0" \
+	-e PLONE_SITE="plone" \
+	-e PLONE_PROFILES="eea.facetednavigation:universal" \
+	-v /plone/instance/bin/develop \
+	"$1" cat custom.cfg