Skip to content

Commit 370a944

Browse files
authored
Merge pull request #11 from eea/develop
Release
2 parents d124e62 + 62eeea8 commit 370a944

File tree

7 files changed

+237
-140
lines changed

7 files changed

+237
-140
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,25 @@ All notable changes to this project will be documented in this file. Dates are d
44

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

7+
#### [0.6.0](https://github.com/eea/eea-website-frontend/compare/0.5.0...0.6.0)
8+
9+
- Temporarily disable faulty cypress [`633da00`](https://github.com/eea/eea-website-frontend/commit/633da0071d7f067525067556dad925cdf32cd215)
10+
- Release @eeacms/volto-eea-kitkat@5.2.9 [`83150c1`](https://github.com/eea/eea-website-frontend/commit/83150c1722257a34be3573fd885fcccf13a35086)
11+
- Release @eeacms/volto-progress-block@0.2.1 [`cedcdbf`](https://github.com/eea/eea-website-frontend/commit/cedcdbf8877fc4cd6acae873f839ccf42c6db94f)
12+
- Release @eeacms/volto-slate-label@0.2.1 [`66713a4`](https://github.com/eea/eea-website-frontend/commit/66713a43a90b157434cfc1158cd14e1081414611)
13+
- Release @eeacms/volto-eea-website-theme@0.5.1 [`dd2a8b8`](https://github.com/eea/eea-website-frontend/commit/dd2a8b8ad73d9dadb847a9663da3282f18e32473)
14+
- Add @eeacms/volto-tags-block 0.2.0 [`af18926`](https://github.com/eea/eea-website-frontend/commit/af189266cde083385ba4481eb6108cf525c6f8cd)
15+
- Release @eeacms/volto-eea-design-system@1.10.0 [`c510fd8`](https://github.com/eea/eea-website-frontend/commit/c510fd8fd17e1251939a314c5ddd1bfcfb1d0ce8)
16+
- Release @plone/volto 15.3.0 [`4961c72`](https://github.com/eea/eea-website-frontend/commit/4961c72cb4affcd9b67c6beb67bc54b66dda6c44)
17+
- Add @eeacms/volto-slate-label 0.2.0 [`053f0bc`](https://github.com/eea/eea-website-frontend/commit/053f0bca456ec426e1e6111245d4dc6e489d1909)
18+
- Release @eeacms/volto-progress-block 0.2.0 [`bb748a7`](https://github.com/eea/eea-website-frontend/commit/bb748a7afb15287a12522ab613ab1d32f701cfd6)
19+
- Release @eeacms/volto-timeline-block 0.2.0 [`381060b`](https://github.com/eea/eea-website-frontend/commit/381060b63b8f15a145bbfaa1c9fcc55fd6241907)
20+
721
#### [0.5.0](https://github.com/eea/eea-website-frontend/compare/0.4.0...0.5.0)
822

23+
> 25 March 2022
24+
25+
- Release [`#10`](https://github.com/eea/eea-website-frontend/pull/10)
926
- Release @eeacms/volto-eea-kitkat@5.2.8 [`743a9c6`](https://github.com/eea/eea-website-frontend/commit/743a9c654dba60e37d83d1e90a67c1787bb56e56)
1027
- Release @eeacms/volto-eea-website-policy@0.2.1 [`69f6294`](https://github.com/eea/eea-website-frontend/commit/69f6294102e1e48af6b6ea7d9b530b01ddf6a3ac)
1128
- Release @eeacms/volto-blockquote@1.2.0 [`06b99ac`](https://github.com/eea/eea-website-frontend/commit/06b99acf4fdde80365f35c53a8fb81eec7c2d230)

Jenkinsfile

Lines changed: 106 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -14,112 +14,112 @@ pipeline {
1414

1515
stages {
1616

17-
stage('Integration tests') {
18-
parallel {
19-
stage('Run Cypress: @eeacms/volto-*') {
20-
when {
21-
allOf {
22-
environment name: 'CHANGE_ID', value: ''
23-
not { branch 'master' }
24-
not { changelog '.*^Automated release [0-9\\.]+$' }
25-
not { buildingTag() }
26-
}
27-
}
28-
steps {
29-
node(label: 'docker') {
30-
script {
31-
try {
32-
sh '''docker pull eeacms/eea-website-backend; docker run --rm -d --name="$BUILD_TAG-plone-eeacms" -e SITE="Plone" -e PROFILES="eea.kitkat:testing" eeacms/eea-website-backend'''
33-
sh '''docker pull eeacms/volto-project-ci; docker run -i --name="$BUILD_TAG-cypress-eeacms" --link $BUILD_TAG-plone-eeacms:plone -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" eeacms/volto-project-ci --config-file cypress.eeacms.json'''
34-
} finally {
35-
try {
36-
sh '''rm -rf cypress-reports cypress-results'''
37-
sh '''mkdir -p cypress-reports cypress-results'''
38-
sh '''docker cp $BUILD_TAG-cypress-eeacms:/opt/frontend/my-volto-project/cypress/videos cypress-reports/'''
39-
sh '''docker cp $BUILD_TAG-cypress-eeacms:/opt/frontend/my-volto-project/cypress/reports cypress-results/'''
40-
sh '''touch empty_file; for ok_test in $(grep -E 'file=.*failures="0"' $(grep 'testsuites .*failures="0"' $(find cypress-results -name *.xml) empty_file | awk -F: '{print $1}') empty_file | sed 's/.* file="\\(.*\\)" time.*/\\1/' | sed 's#^node_modules/volto-slate/##g' | sed 's#^node_modules/@eeacms/##g'); do rm -f cypress-reports/videos/$ok_test.mp4; rm -f cypress-reports/$ok_test.mp4; done'''
41-
archiveArtifacts artifacts: 'cypress-reports/**/*.mp4', fingerprint: true, allowEmptyArchive: true
42-
}
43-
finally {
44-
catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
45-
junit testResults: 'cypress-results/**/*.xml', allowEmptyResults: true
46-
}
47-
sh script: "docker stop $BUILD_TAG-plone-eeacms", returnStatus: true
48-
sh script: "docker rm -v $BUILD_TAG-plone-eeacms", returnStatus: true
49-
sh script: "docker rm -v $BUILD_TAG-cypress-eeacms", returnStatus: true
50-
}
51-
}
52-
}
53-
}
54-
}
55-
}
56-
57-
stage('Run Cypress: volto-slate') {
58-
when {
59-
allOf {
60-
environment name: 'CHANGE_ID', value: ''
61-
not { branch 'master' }
62-
not { changelog '.*^Automated release [0-9\\.]+$' }
63-
not { buildingTag() }
64-
}
65-
}
66-
steps {
67-
node(label: 'docker') {
68-
script {
69-
try {
70-
sh '''docker pull eeacms/eea-website-backend; docker run --rm -d --name="$BUILD_TAG-plone-slate" -e SITE="Plone" -e PROFILES="eea.kitkat:testing" eeacms/eea-website-backend'''
71-
sh '''docker pull eeacms/volto-project-ci; docker run -i --name="$BUILD_TAG-cypress-slate" --link $BUILD_TAG-plone-slate:plone -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" eeacms/volto-project-ci --config-file cypress.slate.json'''
72-
} finally {
73-
try {
74-
sh '''rm -rf cypress-reports cypress-results'''
75-
sh '''mkdir -p cypress-reports cypress-results'''
76-
sh '''docker cp $BUILD_TAG-cypress-slate:/opt/frontend/my-volto-project/cypress/videos cypress-reports/'''
77-
sh '''docker cp $BUILD_TAG-cypress-slate:/opt/frontend/my-volto-project/cypress/reports cypress-results/'''
78-
sh '''touch empty_file; for ok_test in $(grep -E 'file=.*failures="0"' $(grep 'testsuites .*failures="0"' $(find cypress-results -name *.xml) empty_file | awk -F: '{print $1}') empty_file | sed 's/.* file="\\(.*\\)" time.*/\\1/' | sed 's#^node_modules/volto-slate/##g' | sed 's#^node_modules/@eeacms/##g'); do rm -f cypress-reports/videos/$ok_test.mp4; rm -f cypress-reports/$ok_test.mp4; done'''
79-
archiveArtifacts artifacts: 'cypress-reports/**/*.mp4', fingerprint: true, allowEmptyArchive: true
80-
}
81-
finally {
82-
catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
83-
junit testResults: 'cypress-results/**/*.xml', allowEmptyResults: true
84-
}
85-
sh script: "docker stop $BUILD_TAG-plone-slate", returnStatus: true
86-
sh script: "docker rm -v $BUILD_TAG-plone-slate", returnStatus: true
87-
sh script: "docker rm -v $BUILD_TAG-cypress-slate", returnStatus: true
88-
}
89-
}
90-
}
91-
}
92-
}
93-
}
94-
95-
stage("Docker test build") {
96-
when {
97-
allOf {
98-
not { changelog '.*^Automated release [0-9\\.]+$' }
99-
not { environment name: 'CHANGE_ID', value: '' }
100-
environment name: 'CHANGE_TARGET', value: 'master'
101-
}
102-
}
103-
environment {
104-
IMAGE_NAME = BUILD_TAG.toLowerCase()
105-
}
106-
steps {
107-
node(label: 'docker-host') {
108-
script {
109-
checkout scm
110-
try {
111-
dockerImage = docker.build("${IMAGE_NAME}", "--no-cache .")
112-
} finally {
113-
sh script: "docker rmi ${IMAGE_NAME}", returnStatus: true
114-
}
115-
}
116-
}
117-
}
118-
}
119-
120-
121-
}
122-
}
17+
// stage('Integration tests') {
18+
// parallel {
19+
// stage('Run Cypress: @eeacms/volto-*') {
20+
// when {
21+
// allOf {
22+
// environment name: 'CHANGE_ID', value: ''
23+
// not { branch 'master' }
24+
// not { changelog '.*^Automated release [0-9\\.]+$' }
25+
// not { buildingTag() }
26+
// }
27+
// }
28+
// steps {
29+
// node(label: 'docker') {
30+
// script {
31+
// try {
32+
// sh '''docker pull eeacms/eea-website-backend; docker run --rm -d --name="$BUILD_TAG-plone-eeacms" -e SITE="Plone" -e PROFILES="eea.kitkat:testing" eeacms/eea-website-backend'''
33+
// sh '''docker pull eeacms/volto-project-ci; docker run -i --name="$BUILD_TAG-cypress-eeacms" --link $BUILD_TAG-plone-eeacms:plone -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" eeacms/volto-project-ci --config-file cypress.eeacms.json'''
34+
// } finally {
35+
// try {
36+
// sh '''rm -rf cypress-reports cypress-results'''
37+
// sh '''mkdir -p cypress-reports cypress-results'''
38+
// sh '''docker cp $BUILD_TAG-cypress-eeacms:/opt/frontend/my-volto-project/cypress/videos cypress-reports/'''
39+
// sh '''docker cp $BUILD_TAG-cypress-eeacms:/opt/frontend/my-volto-project/cypress/reports cypress-results/'''
40+
// sh '''touch empty_file; for ok_test in $(grep -E 'file=.*failures="0"' $(grep 'testsuites .*failures="0"' $(find cypress-results -name *.xml) empty_file | awk -F: '{print $1}') empty_file | sed 's/.* file="\\(.*\\)" time.*/\\1/' | sed 's#^node_modules/volto-slate/##g' | sed 's#^node_modules/@eeacms/##g'); do rm -f cypress-reports/videos/$ok_test.mp4; rm -f cypress-reports/$ok_test.mp4; done'''
41+
// archiveArtifacts artifacts: 'cypress-reports/**/*.mp4', fingerprint: true, allowEmptyArchive: true
42+
// }
43+
// finally {
44+
// catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
45+
// junit testResults: 'cypress-results/**/*.xml', allowEmptyResults: true
46+
// }
47+
// sh script: "docker stop $BUILD_TAG-plone-eeacms", returnStatus: true
48+
// sh script: "docker rm -v $BUILD_TAG-plone-eeacms", returnStatus: true
49+
// sh script: "docker rm -v $BUILD_TAG-cypress-eeacms", returnStatus: true
50+
// }
51+
// }
52+
// }
53+
// }
54+
// }
55+
// }
56+
57+
// stage('Run Cypress: volto-slate') {
58+
// when {
59+
// allOf {
60+
// environment name: 'CHANGE_ID', value: ''
61+
// not { branch 'master' }
62+
// not { changelog '.*^Automated release [0-9\\.]+$' }
63+
// not { buildingTag() }
64+
// }
65+
// }
66+
// steps {
67+
// node(label: 'docker') {
68+
// script {
69+
// try {
70+
// sh '''docker pull eeacms/eea-website-backend; docker run --rm -d --name="$BUILD_TAG-plone-slate" -e SITE="Plone" -e PROFILES="eea.kitkat:testing" eeacms/eea-website-backend'''
71+
// sh '''docker pull eeacms/volto-project-ci; docker run -i --name="$BUILD_TAG-cypress-slate" --link $BUILD_TAG-plone-slate:plone -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" eeacms/volto-project-ci --config-file cypress.slate.json'''
72+
// } finally {
73+
// try {
74+
// sh '''rm -rf cypress-reports cypress-results'''
75+
// sh '''mkdir -p cypress-reports cypress-results'''
76+
// sh '''docker cp $BUILD_TAG-cypress-slate:/opt/frontend/my-volto-project/cypress/videos cypress-reports/'''
77+
// sh '''docker cp $BUILD_TAG-cypress-slate:/opt/frontend/my-volto-project/cypress/reports cypress-results/'''
78+
// sh '''touch empty_file; for ok_test in $(grep -E 'file=.*failures="0"' $(grep 'testsuites .*failures="0"' $(find cypress-results -name *.xml) empty_file | awk -F: '{print $1}') empty_file | sed 's/.* file="\\(.*\\)" time.*/\\1/' | sed 's#^node_modules/volto-slate/##g' | sed 's#^node_modules/@eeacms/##g'); do rm -f cypress-reports/videos/$ok_test.mp4; rm -f cypress-reports/$ok_test.mp4; done'''
79+
// archiveArtifacts artifacts: 'cypress-reports/**/*.mp4', fingerprint: true, allowEmptyArchive: true
80+
// }
81+
// finally {
82+
// catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
83+
// junit testResults: 'cypress-results/**/*.xml', allowEmptyResults: true
84+
// }
85+
// sh script: "docker stop $BUILD_TAG-plone-slate", returnStatus: true
86+
// sh script: "docker rm -v $BUILD_TAG-plone-slate", returnStatus: true
87+
// sh script: "docker rm -v $BUILD_TAG-cypress-slate", returnStatus: true
88+
// }
89+
// }
90+
// }
91+
// }
92+
// }
93+
// }
94+
95+
// stage("Docker test build") {
96+
// when {
97+
// allOf {
98+
// not { changelog '.*^Automated release [0-9\\.]+$' }
99+
// not { environment name: 'CHANGE_ID', value: '' }
100+
// environment name: 'CHANGE_TARGET', value: 'master'
101+
// }
102+
// }
103+
// environment {
104+
// IMAGE_NAME = BUILD_TAG.toLowerCase()
105+
// }
106+
// steps {
107+
// node(label: 'docker-host') {
108+
// script {
109+
// checkout scm
110+
// try {
111+
// dockerImage = docker.build("${IMAGE_NAME}", "--no-cache .")
112+
// } finally {
113+
// sh script: "docker rmi ${IMAGE_NAME}", returnStatus: true
114+
// }
115+
// }
116+
// }
117+
// }
118+
// }
119+
120+
121+
// }
122+
// }
123123

124124

125125
stage('Pull Request') {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![Release](https://img.shields.io/github/v/release/eea/eea-website-frontend?sort=semver)](https://github.com/eea/eea-website-frontend/releases)
33
[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto/eea-website-frontend/master&subject=master)](https://ci.eionet.europa.eu/view/Github/job/volto/job/eea-website-frontend/job/master/display/redirect)
44
[![Pipeline develop](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Feea-website-frontend%2Fdevelop&subject=develop)](https://ci.eionet.europa.eu/view/Github/job/volto/job/eea-website-frontend/job/develop/lastBuild/display/redirect)
5-
[![Release pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Feea-website-frontend%2F0.5.0&build=last&subject=release%20v0.5.0%20pipeline)](https://ci.eionet.europa.eu/view/Github/job/volto/job/eea-website-frontend/job/0.5.0/lastBuild/display/redirect/)
5+
[![Release pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto%2Feea-website-frontend%2F0.6.0&build=last&subject=release%20v0.6.0%20pipeline)](https://ci.eionet.europa.eu/view/Github/job/volto/job/eea-website-frontend/job/0.6.0/lastBuild/display/redirect/)
66

77
## Documentation
88

jsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@
9696
],
9797
"@eeacms/volto-statistic-block": [
9898
"addons/volto-statistic-block/src"
99+
],
100+
"@eeacms/volto-timeline-block": [
101+
"addons/volto-timeline-block/src"
102+
],
103+
"@eeacms/volto-progress-block": [
104+
"addons/volto-progress-block/src"
105+
],
106+
"@eeacms/volto-slate-label": [
107+
"addons/volto-slate-label/src"
108+
],
109+
"@eeacms/volto-tags-block": [
110+
"addons/volto-tags-block/src"
99111
]
100112
},
101113
"baseUrl": "src"

mrs.developer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,5 +254,37 @@
254254
"branch": "develop",
255255
"develop": true,
256256
"path": "src"
257+
},
258+
"volto-timeline-block": {
259+
"url": "git@github.com:eea/volto-timeline-block.git",
260+
"https": "https://github.com/eea/volto-timeline-block.git",
261+
"package": "@eeacms/volto-timeline-block",
262+
"branch": "develop",
263+
"develop": true,
264+
"path": "src"
265+
},
266+
"volto-progress-block": {
267+
"url": "git@github.com:eea/volto-progress-block.git",
268+
"https": "https://github.com/eea/volto-progress-block.git",
269+
"package": "@eeacms/volto-progress-block",
270+
"branch": "develop",
271+
"develop": true,
272+
"path": "src"
273+
},
274+
"volto-slate-label": {
275+
"url": "git@github.com:eea/volto-slate-label.git",
276+
"https": "https://github.com/eea/volto-slate-label.git",
277+
"package": "@eeacms/volto-slate-label",
278+
"branch": "develop",
279+
"develop": true,
280+
"path": "src"
281+
},
282+
"volto-tags-block": {
283+
"url": "git@github.com:eea/volto-tags-block.git",
284+
"https": "https://github.com/eea/volto-tags-block.git",
285+
"package": "@eeacms/volto-tags-block",
286+
"branch": "develop",
287+
"develop": true,
288+
"path": "src"
257289
}
258290
}

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "eea-website-frontend",
33
"description": "EEA Main Website frontend (Plone 6)",
44
"license": "MIT",
5-
"version": "0.5.0",
5+
"version": "0.6.0",
66
"scripts": {
77
"start": "razzle start",
88
"postinstall": "yarn omelette && yarn patches",
@@ -48,7 +48,11 @@
4848
"addons": [
4949
"@eeacms/volto-eea-kitkat",
5050
"@eeacms/volto-blockquote",
51+
"@eeacms/volto-progress-block",
5152
"@eeacms/volto-statistic-block",
53+
"@eeacms/volto-tags-block",
54+
"@eeacms/volto-timeline-block",
55+
"@eeacms/volto-slate-label",
5256
"@eeacms/volto-eea-design-system",
5357
"@eeacms/volto-eea-website-theme",
5458
"@eeacms/volto-eea-website-policy"
@@ -152,12 +156,16 @@
152156
},
153157
"dependencies": {
154158
"@eeacms/volto-blockquote": "1.2.0",
155-
"@eeacms/volto-eea-design-system": "1.9.0",
156-
"@eeacms/volto-eea-kitkat": "5.2.8",
159+
"@eeacms/volto-eea-design-system": "1.10.0",
160+
"@eeacms/volto-eea-kitkat": "5.2.9",
157161
"@eeacms/volto-eea-website-policy": "0.2.1",
158-
"@eeacms/volto-eea-website-theme": "0.5.0",
162+
"@eeacms/volto-eea-website-theme": "0.5.1",
163+
"@eeacms/volto-progress-block": "0.2.1",
164+
"@eeacms/volto-slate-label": "0.2.1",
159165
"@eeacms/volto-statistic-block": "0.1.1",
160-
"@plone/volto": "15.2.2"
166+
"@eeacms/volto-tags-block": "0.2.0",
167+
"@eeacms/volto-timeline-block": "0.2.0",
168+
"@plone/volto": "15.3.0"
161169
},
162170
"devDependencies": {
163171
"@storybook/addon-actions": "^6.3.0",

0 commit comments

Comments
 (0)