Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
JENKINS:use standard plone for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Jan 6, 2022
1 parent 67cc9e6 commit e1c47d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pipeline {
node(label: 'docker') {
script {
try {
sh '''docker pull eeacms/plone-backend; docker run --rm -d --name="$BUILD_TAG-plone" -e SITE="Plone" eeacms/plone-backend'''
sh '''docker pull plone; docker run -d --rm --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="profile-plone.restapi:blocks" plone fg'''
sh '''docker pull plone/volto-addon-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e NAMESPACE="$NAMESPACE" -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" plone/volto-addon-ci cypress'''
} finally {
try {
Expand Down
13 changes: 8 additions & 5 deletions src/components/theme/Header/HomepageSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,14 @@ class HomepageSlider extends Component {
}
}
HomepageSlider.propTypes = {
items: PropTypes.shape({
title: PropTypes.string,
url: PropTypes.string,
description: PropTypes.string,
}),
items: PropTypes.oneOfType([
PropTypes.array,
PropTypes.shape({
title: PropTypes.string,
url: PropTypes.string,
description: PropTypes.string,
}),
]),
};

export default HomepageSlider;

0 comments on commit e1c47d3

Please sign in to comment.