Skip to content

Commit 4950ab9

Browse files
authored
[internal] add release notes (#24)
Signed-off-by: v.oleynikov <[email protected]>
1 parent b8abbd2 commit 4950ab9

16 files changed

+387
-1
lines changed

.werf/bundle.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
---
2+
image: docs-generator
3+
fromImage: builder/alt
4+
final: false
5+
6+
git:
7+
- add: /
8+
to: /
9+
includePaths:
10+
- CHANGELOG
11+
stageDependencies:
12+
setup:
13+
- "**/*"
14+
15+
shell:
16+
setup:
17+
- cd /
18+
- mkdir -p /docs
19+
- apt-get update
20+
- apt-get install -y python3 python3-module-pip curl
21+
- pip3 install PyYAML packaging
22+
- curl -s https://raw.githubusercontent.com/deckhouse/modules-gitlab-ci/main/scripts/generate_release_notes.py > /generate_release_notes.py
23+
- python3 /generate_release_notes.py
24+
- rm -rf CHANGELOG
25+
- cat /docs/RELEASE_NOTES.md
26+
- cat /docs/RELEASE_NOTES.ru.md
27+
128
# Bundle image, stored in your.registry.io/modules/<module-name>:<semver>
229
---
330
image: bundle
@@ -19,6 +46,14 @@ import:
1946
add: /openapi
2047
to: /openapi
2148
after: setup
49+
- image: docs-generator
50+
add: /docs/RELEASE_NOTES.md
51+
to: /docs/RELEASE_NOTES.md
52+
after: setup
53+
- image: docs-generator
54+
add: /docs/RELEASE_NOTES.ru.md
55+
to: /docs/RELEASE_NOTES.ru.md
56+
after: setup
2257
git:
2358
- add: /
2459
to: /

.werf/release.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,25 @@
33
image: release-channel-version-artifact
44
fromImage: builder/alpine
55
final: false
6+
git:
7+
- add: /
8+
to: /
9+
includePaths:
10+
- CHANGELOG
11+
- module.yaml
12+
stageDependencies:
13+
setup:
14+
- '**/*'
615
shell:
716
beforeInstall:
17+
{{- include "alpine packages proxy" . | nindent 4 }}
818
- apk add --no-cache curl
919
- curl -sfL https://github.com/mikefarah/yq/releases/download/2.4.1/yq_linux_amd64 --output /usr/local/bin/yq
1020
- chmod +x /usr/local/bin/yq
1121
install:
1222
- |
13-
yq n version "{{ env "CI_COMMIT_REF_NAME" }}" | yq r - -j > version.json
23+
yq n version "{{ env "MODULES_MODULE_TAG" }}" | yq r - -j > version.json
24+
- cp -f CHANGELOG/{{ env "MODULES_MODULE_TAG" "local" }}.yml /changelog.yaml || touch /changelog.yaml
1425
---
1526
image: release-channel-version
1627
fromImage: builder/scratch
@@ -21,3 +32,5 @@ import:
2132
after: install
2233
includePaths:
2334
- version.json
35+
- changelog.yaml
36+
- module.yaml

CHANGELOG/v0.1.2.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Изменения:
2+
- Небольшие правки в темплейтах модуля

CHANGELOG/v0.1.2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Changes:
2+
- Minor fixes in module templates

CHANGELOG/v0.1.3.ru.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Изменения:
2+
- Фиксы CVE
3+
- Внутренние изменения для поддержки containerd v2
4+
- Апдейт до версии 8.3.0

CHANGELOG/v0.1.3.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Changes:
2+
- CVE fixes
3+
- Internal changes for containerd v2 support
4+
- Update to version 8.3.0

CHANGELOG/v0.1.4.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Изменения:
2+
- Фиксы CVE

CHANGELOG/v0.1.4.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Changes:
2+
- CVE fixes

CHANGELOG/v0.1.5.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Изменения:
2+
- Добавлено автовключение модуля в версиях DKP 1.72+

CHANGELOG/v0.1.5.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Changes:
2+
- Added automatic module enabling in DKP 1.72+ versions

0 commit comments

Comments
 (0)