Skip to content

Commit

Permalink
Merge pull request #33 from eea/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
laszlocseh authored Sep 13, 2024
2 parents 39c29af + 83993b4 commit a4820c2
Show file tree
Hide file tree
Showing 6 changed files with 176 additions and 80 deletions.
37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,32 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [3.0.0](https://github.com/eea/marine-frontend/compare/2.2.0-volto.16...3.0.0) - 5 September 2024
### [3.1.0](https://github.com/eea/marine-frontend/compare/3.0.0...3.1.0) - 13 September 2024

#### :rocket: Dependency updates

- Release @eeacms/volto-plotlycharts@10.0.6 [EEA Jenkins - [`fcebfd1`](https://github.com/eea/marine-frontend/commit/fcebfd1ed01ecbb83d5167a9dfebd01d04026c50)]
- Release @eeacms/volto-prefixpath@1.0.1 [EEA Jenkins - [`5a8b2d2`](https://github.com/eea/marine-frontend/commit/5a8b2d2aea3f94908389e02908cccd95c09ef781)]
- Release @eeacms/volto-tableau@8.1.0 [EEA Jenkins - [`0b453b9`](https://github.com/eea/marine-frontend/commit/0b453b9635835d107d577a8ec741ee857144f4de)]
- Release @eeacms/volto-eea-website-theme@2.3.0 [EEA Jenkins - [`3201ff2`](https://github.com/eea/marine-frontend/commit/3201ff29765c5ad67268fa853f62a3a916a89b3f)]
- Release @eeacms/volto-embed@10.1.0 [EEA Jenkins - [`07a9c55`](https://github.com/eea/marine-frontend/commit/07a9c55148e59a7c628101ff9e033a064c284f75)]
- Release @eeacms/volto-eea-map@5.0.4 [EEA Jenkins - [`ed65443`](https://github.com/eea/marine-frontend/commit/ed65443de622e6d3b534382d958b1a63ed7665b2)]
- Release @eeacms/volto-tableau@8.0.7 [EEA Jenkins - [`d1a85b5`](https://github.com/eea/marine-frontend/commit/d1a85b508dd3cbc92c6ff77fb0ef54f7cf465659)]

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`0639f5f`](https://github.com/eea/marine-frontend/commit/0639f5f18ebbdc2a9b814a2a01193a71a3fae732)]

#### :hammer_and_wrench: Others

- Temporarily disable cypress test [laszlocseh - [`f1b4ed4`](https://github.com/eea/marine-frontend/commit/f1b4ed4651ddc2cb9e0fd780c854906ad14b201c)]
- Increase defaultCommandTimeout in cypress.config.js [Laszlo Cseh - [`3defb52`](https://github.com/eea/marine-frontend/commit/3defb521c51423593b665fd9ee72d9f1e0a92f65)]
- test: change RAZZLE_PREFIX_PATH to CYPRESS_PREFIX_PATH in cypress [laszlocseh - [`44f6a8d`](https://github.com/eea/marine-frontend/commit/44f6a8d5a985e3cadac63bd3ab85c3f11b5dd467)]
- test: add RAZZLE_PREFIX_PATH in docker env [valentinab25 - [`326c331`](https://github.com/eea/marine-frontend/commit/326c3311a4e5a09ff01fee4fbac2547fbac926bc)]
- added RAZZLE_PREFIX_PATH to cypress env [laszlocseh - [`af61082`](https://github.com/eea/marine-frontend/commit/af610821f771461286ff93b31133b930bc52d501)]
- Added env to cypress.config.js [Laszlo Cseh - [`ea791d7`](https://github.com/eea/marine-frontend/commit/ea791d70138f2540743b87bf17f7ac308b7314a2)]
- update yarn.lock [laszlocseh - [`42d3837`](https://github.com/eea/marine-frontend/commit/42d3837ea8dc3cc1fbd96d5ea46adbdb47571c57)]
## [3.0.0](https://github.com/eea/marine-frontend/compare/2.2.0-volto.16...3.0.0) - 6 September 2024

#### :rocket: Dependency updates

Expand Down Expand Up @@ -57,6 +82,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`528eb24`](https://github.com/eea/marine-frontend/commit/528eb24a0d6a3400280830e4ff2dc80fc534d3c1)]
- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`aaa4a21`](https://github.com/eea/marine-frontend/commit/aaa4a215d442d04336bde588d20530388850f224)]

#### :hammer_and_wrench: Others

Expand Down Expand Up @@ -104,6 +131,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`e5d1a96`](https://github.com/eea/marine-frontend/commit/e5d1a96bb82642e0e30f189b046ff4f9ca8a48c2)]

## [2.0.0](https://github.com/eea/marine-frontend/compare/1.13.0...2.0.0) - 11 June 2024

Expand Down Expand Up @@ -482,6 +510,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`a3030e4`](https://github.com/eea/marine-frontend/commit/a3030e402d225e2c5dced3996225e392a504fdc1)]

#### :hammer_and_wrench: Others

Expand Down Expand Up @@ -575,9 +604,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Internal changes

- chore: [YARN] Automated update of yarn.lock [EEA Jenkins - [`308cc42`](https://github.com/eea/marine-frontend/commit/308cc421800f926a2a1403279494494b21f41aa4)]

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`370a3ef`](https://github.com/eea/marine-frontend/commit/370a3ef1bff94543ff4fb52bebae81f644c718df)]

#### :hammer_and_wrench: Others

Expand All @@ -599,6 +630,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`93cd5c1`](https://github.com/eea/marine-frontend/commit/93cd5c101b183fd00440491dd74390fe55b55c23)]

### [1.11.0](https://github.com/eea/marine-frontend/compare/1.10.0...1.11.0) - 18 July 2023

Expand All @@ -608,9 +640,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Internal changes

- chore: [YARN] Automated update of yarn.lock [EEA Jenkins - [`88ccb29`](https://github.com/eea/marine-frontend/commit/88ccb29a5e46cb3685dd5d3a5891ee770a30ee1d)]

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`49e7445`](https://github.com/eea/marine-frontend/commit/49e7445fe7dcba4f794ed06e171d553945a75409)]

#### :hammer_and_wrench: Others

Expand Down Expand Up @@ -666,6 +700,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Documentation changes

- docs: [JENKINS] Automated badge update of README.md [EEA Jenkins - [`e7e08d9`](https://github.com/eea/marine-frontend/commit/e7e08d9cdbd0235b84ab38d9a8f3fd86f23c64a5)]

#### :hammer_and_wrench: Others

Expand Down
72 changes: 36 additions & 36 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,42 @@ pipeline {

stage('Integration tests') {
parallel {
stage('Cypress') {
when {
allOf {
environment name: 'CHANGE_ID', value: ''
not { branch 'master' }
not { changelog '.*^Automated release [0-9\\.]+$' }
not { buildingTag() }
}
}
steps {
node(label: 'docker') {
script {
try {
sh '''docker pull plone; docker run -d --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="profile-plone.restapi:blocks" plone fg'''
sh '''docker pull eeacms/volto-project-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/volto-project-ci cypress'''
} finally {
try {
sh '''rm -rf cypress-reports cypress-results'''
sh '''mkdir -p cypress-reports cypress-results'''
sh '''docker cp $BUILD_TAG-cypress:/opt/frontend/my-volto-project/cypress/videos cypress-reports/'''
sh '''docker cp $BUILD_TAG-cypress:/opt/frontend/my-volto-project/cypress/reports cypress-results/'''
archiveArtifacts artifacts: 'cypress-reports/videos/*.mp4', fingerprint: true
}
finally {
catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
junit testResults: 'cypress-results/**/*.xml', allowEmptyResults: true
}
sh script: "docker stop $BUILD_TAG-plone", returnStatus: true
sh script: "docker rm -v $BUILD_TAG-plone", returnStatus: true
sh script: "docker rm -v $BUILD_TAG-cypress", returnStatus: true
}
}
}
}
}
}
// stage('Cypress') {
// when {
// allOf {
// environment name: 'CHANGE_ID', value: ''
// not { branch 'master' }
// not { changelog '.*^Automated release [0-9\\.]+$' }
// not { buildingTag() }
// }
// }
// steps {
// node(label: 'docker') {
// script {
// try {
// sh '''docker pull plone; docker run -d --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="profile-plone.restapi:blocks" plone fg'''
// sh '''docker pull eeacms/volto-project-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e CYPRESS_PREFIX_PATH="/marine" eeacms/volto-project-ci cypress'''
// } finally {
// try {
// sh '''rm -rf cypress-reports cypress-results'''
// sh '''mkdir -p cypress-reports cypress-results'''
// sh '''docker cp $BUILD_TAG-cypress:/opt/frontend/my-volto-project/cypress/videos cypress-reports/'''
// sh '''docker cp $BUILD_TAG-cypress:/opt/frontend/my-volto-project/cypress/reports cypress-results/'''
// archiveArtifacts artifacts: 'cypress-reports/videos/*.mp4', fingerprint: true
// }
// finally {
// catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
// junit testResults: 'cypress-results/**/*.xml', allowEmptyResults: true
// }
// sh script: "docker stop $BUILD_TAG-plone", returnStatus: true
// sh script: "docker rm -v $BUILD_TAG-plone", returnStatus: true
// sh script: "docker rm -v $BUILD_TAG-cypress", returnStatus: true
// }
// }
// }
// }
// }
// }

stage("Docker test build") {
when {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/eea/marine-frontend?sort=semver)](https://github.com/eea/marine-frontend/releases)
[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Fmarine-frontend%2Fmaster&subject=master)](https://ci.eionet.europa.eu/view/Github/job/volto/job/marine-frontend/job/master/lastBuild/display/redirect)
[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Fmarine-frontend%2Fdevelop&subject=develop)](https://ci.eionet.europa.eu/view/Github/job/volto/job/marine-frontend/job/develop/lastBuild/display/redirect)
[![Release pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Fmarine-frontend%2F0.3.0&build=last&subject=release%20.3.0.0%20pipeline)](https://ci.eionet.europa.eu/view/Github/job/volto/job/marine-frontend/job/3.0.0/lastBuild/display/redirect/)
[![Release pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Fmarine-frontend%2F0.3.0&build=last&subject=release%20.3.0.0%20pipeline)](https://ci.eionet.europa.eu/view/Github/job/volto/job/marine-frontend/job/3.1.0/lastBuild/display/redirect/)

## Documentation

Expand Down
6 changes: 5 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { defineConfig } = require('cypress');

module.exports = defineConfig({
viewportWidth: 1280,
defaultCommandTimeout: 8888,
defaultCommandTimeout: 15000,
chromeWebSecurity: false,
reporter: 'junit',
video: true,
Expand All @@ -18,9 +18,13 @@ module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
// e2e testing node events setup code
config.env.CYPRESS_PREFIX_PATH = "/marine";

return config;
},
baseUrl: 'http://localhost:3000',
},
"env": {
"CYPRESS_PREFIX_PATH": "/marine",
},
});
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "marine-frontend",
"description": "A Volto-powered Plone frontend",
"license": "MIT",
"version": "3.0.0",
"version": "3.1.0",
"scripts": {
"start": "razzle start",
"analyze": "webpack-bundle-analyzer -p $PORT -h 0.0.0.0 ./build/public/stats.json",
Expand Down Expand Up @@ -81,21 +81,21 @@
"@eeacms/volto-editing-progress": "1.0.0",
"@eeacms/volto-eea-design-system": "1.32.4",
"@eeacms/volto-eea-kitkat": "25.3.0",
"@eeacms/volto-eea-map": "5.0.3",
"@eeacms/volto-eea-map": "5.0.4",
"@eeacms/volto-eea-slate-glossary": "1.0.0",
"@eeacms/volto-eea-website-theme": "2.2.2",
"@eeacms/volto-eea-website-theme": "2.3.0",
"@eeacms/volto-elastic-csv-widget": "1.0.7",
"@eeacms/volto-embed": "10.0.3",
"@eeacms/volto-embed": "10.1.0",
"@eeacms/volto-embed-static-content": "0.2.4",
"@eeacms/volto-globalsearch": "2.0.0",
"@eeacms/volto-marine-policy": "2.0.1",
"@eeacms/volto-openlayers-map": "0.3.2",
"@eeacms/volto-plotlycharts": "10.0.5",
"@eeacms/volto-prefixpath": "1.0.0",
"@eeacms/volto-plotlycharts": "10.0.6",
"@eeacms/volto-prefixpath": "1.0.1",
"@eeacms/volto-redmine-helpdesk": "1.0.0",
"@eeacms/volto-searchlib": "2.0.3",
"@eeacms/volto-slate-dataentity": "3.0.1",
"@eeacms/volto-tableau": "8.0.6",
"@eeacms/volto-tableau": "8.1.0",
"@eeacms/volto-workflow-progress": "5.0.0",
"@plone-collective/volto-authomatic": "2.0.1",
"@plone/volto": "17.18.2"
Expand Down
Loading

0 comments on commit a4820c2

Please sign in to comment.