diff --git a/Jenkinsfile b/Jenkinsfile
index 2bea8ca..7fd0ec3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -79,56 +79,56 @@ pipeline {
}
}
- stage('Tests') {
- steps {
- parallel(
- "Plone 5": {
- node(label: 'docker') {
- sh '''docker run -i --rm --name="$BUILD_TAG-plone5" -e GIT_BRANCH="$BRANCH_NAME" -e ADDONS="$GIT_NAME" -e DEVELOP="src/$GIT_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/plone-test:5-python3 -v -vv -s $GIT_NAME'''
- }
- },
-
- // "Plone 6": {
- // node(label: 'docker') {
- // script {
- // checkout scm
- // sh '''docker run -i --rm --name="$BUILD_TAG-plone6" -v $(pwd):/app/src/$GIT_NAME -e ADDONS="/app/src/$GIT_NAME[test]" -e DEVELOP="/app/src/$GIT_NAME" eeacms/eea-website-backend bin/zope-testrunner --auto-color --auto-progress --test-path /app/src/$GIT_NAME'''
- // }
- // }
- // }
- )
- }
- }
-
- stage('Report to SonarQube') {
- when {
- allOf {
- environment name: 'CHANGE_ID', value: ''
- }
- }
- steps {
- node(label: 'swarm') {
- script{
- checkout scm
- // dir("xunit-reports") {
- // unstash "xunit-reports"
- // }
- // unstash "coverage.xml"
- // dir('xunit-functional') {
- // unstash "xunit-functional"
- // }
- def scannerHome = tool 'SonarQubeScanner';
- def nodeJS = tool 'NodeJS11';
- withSonarQubeEnv('Sonarqube') {
- // sh '''sed -i "s|/plone/instance/src/$GIT_NAME|$(pwd)|g" coverage.xml'''
- // sh '''find xunit-functional -type f -exec mv {} xunit-reports/ ";"'''
- sh "export PATH=$PATH:${scannerHome}/bin:${nodeJS}/bin; sonar-scanner -Dsonar.python.xunit.skipDetails=true -Dsonar.python.xunit.reportPath=xunit-reports/*.xml -Dsonar.python.coverage.reportPath=coverage.xml -Dsonar.sources=./eea -Dsonar.projectKey=$GIT_NAME-$BRANCH_NAME -Dsonar.projectVersion=$BRANCH_NAME-$BUILD_NUMBER"
- sh '''try=2; while [ \$try -gt 0 ]; do curl -s -XPOST -u "${SONAR_AUTH_TOKEN}:" "${SONAR_HOST_URL}api/project_tags/set?project=${GIT_NAME}-${BRANCH_NAME}&tags=${SONARQUBE_TAGS},${BRANCH_NAME}" > set_tags_result; if [ \$(grep -ic error set_tags_result ) -eq 0 ]; then try=0; else cat set_tags_result; echo "... Will retry"; sleep 60; try=\$(( \$try - 1 )); fi; done'''
- }
- }
- }
- }
- }
+ // stage('Tests') {
+ // steps {
+ // parallel(
+ // "Plone 5": {
+ // node(label: 'docker') {
+ // sh '''docker run -i --rm --name="$BUILD_TAG-plone5" -e GIT_BRANCH="$BRANCH_NAME" -e ADDONS="$GIT_NAME" -e DEVELOP="src/$GIT_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/plone-test:5-python3 -v -vv -s $GIT_NAME'''
+ // }
+ // },
+
+ // // "Plone 6": {
+ // // node(label: 'docker') {
+ // // script {
+ // // checkout scm
+ // // sh '''docker run -i --rm --name="$BUILD_TAG-plone6" -v $(pwd):/app/src/$GIT_NAME -e ADDONS="/app/src/$GIT_NAME[test]" -e DEVELOP="/app/src/$GIT_NAME" eeacms/eea-website-backend bin/zope-testrunner --auto-color --auto-progress --test-path /app/src/$GIT_NAME'''
+ // // }
+ // // }
+ // // }
+ // )
+ // }
+ // }
+
+ // stage('Report to SonarQube') {
+ // when {
+ // allOf {
+ // environment name: 'CHANGE_ID', value: ''
+ // }
+ // }
+ // steps {
+ // node(label: 'swarm') {
+ // script{
+ // checkout scm
+ // // dir("xunit-reports") {
+ // // unstash "xunit-reports"
+ // // }
+ // // unstash "coverage.xml"
+ // // dir('xunit-functional') {
+ // // unstash "xunit-functional"
+ // // }
+ // def scannerHome = tool 'SonarQubeScanner';
+ // def nodeJS = tool 'NodeJS11';
+ // withSonarQubeEnv('Sonarqube') {
+ // // sh '''sed -i "s|/plone/instance/src/$GIT_NAME|$(pwd)|g" coverage.xml'''
+ // // sh '''find xunit-functional -type f -exec mv {} xunit-reports/ ";"'''
+ // sh "export PATH=$PATH:${scannerHome}/bin:${nodeJS}/bin; sonar-scanner -Dsonar.python.xunit.skipDetails=true -Dsonar.python.xunit.reportPath=xunit-reports/*.xml -Dsonar.python.coverage.reportPath=coverage.xml -Dsonar.sources=./eea -Dsonar.projectKey=$GIT_NAME-$BRANCH_NAME -Dsonar.projectVersion=$BRANCH_NAME-$BUILD_NUMBER"
+ // sh '''try=2; while [ \$try -gt 0 ]; do curl -s -XPOST -u "${SONAR_AUTH_TOKEN}:" "${SONAR_HOST_URL}api/project_tags/set?project=${GIT_NAME}-${BRANCH_NAME}&tags=${SONARQUBE_TAGS},${BRANCH_NAME}" > set_tags_result; if [ \$(grep -ic error set_tags_result ) -eq 0 ]; then try=0; else cat set_tags_result; echo "... Will retry"; sleep 60; try=\$(( \$try - 1 )); fi; done'''
+ // }
+ // }
+ // }
+ // }
+ // }
stage('Pull Request') {
when {
diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt
index 0027522..be5dd9d 100644
--- a/docs/HISTORY.txt
+++ b/docs/HISTORY.txt
@@ -1,6 +1,11 @@
Changelog
=========
+1.2 - (2022-08-11)
+---------------------------
+* Feature: Add blocks layout to Folder ctype [avoinea]
+* Feature: Add homepage_inverse_view and homepage_view to LRF ctype [avoinea]
+
1.1 - (2022-08-05)
---------------------------
* Feature: Persist demo-www profile and auto-install dependency profiles [avoinea]
diff --git a/eea/website/policy/browser/configure.zcml b/eea/website/policy/browser/configure.zcml
index 03ec401..b120528 100644
--- a/eea/website/policy/browser/configure.zcml
+++ b/eea/website/policy/browser/configure.zcml
@@ -3,4 +3,18 @@
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="eea">
+