Skip to content

Commit bae3497

Browse files
authored
[internal] add release notes (#122)
Signed-off-by: v.oleynikov <[email protected]>
1 parent 2dc07d9 commit bae3497

28 files changed

+431
-6
lines changed

.werf/bundle.yaml

Lines changed: 35 additions & 5 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
@@ -9,11 +36,6 @@ import:
936
add: /images_digests.json
1037
to: /images_digests.json
1138
after: setup
12-
# Rendering .werf/python-deps.yaml is required!
13-
- image: python-dependencies
14-
add: /lib/python/dist
15-
to: /lib/python/dist
16-
after: setup
1739
# Rendering .werf/go-hooks.yaml is required!
1840
- image: go-hooks-artifact
1941
add: /go-hooks
@@ -24,6 +46,14 @@ import:
2446
add: /openapi
2547
to: /openapi
2648
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
2757
git:
2858
- add: /
2959
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.10.ru.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Изменения:
2+
- Множественные фиксы и улучшения в RBAC, работе с MC, контроллерах
3+
- Добавлена возможность указывать workload node selector, с учетом чего будут деплоится компоненты csi-nfs и полезная пользовательская нагрузка

CHANGELOG/v0.1.10.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Changes:
2+
- Multiple fixes and improvements in RBAC, MC work, controllers
3+
- Added ability to specify workload node selector, considering which csi-nfs components and useful user workload will be deployed

CHANGELOG/v0.1.9.ru.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Изменения:
2+
- Поправлены healthcheck порты для csi
3+
- Поправлена установка и запуск rpcbind

CHANGELOG/v0.1.9.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Changes:
2+
- Fixed healthcheck ports for csi
3+
- Fixed installation and startup of rpcbind

CHANGELOG/v0.2.3.ru.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Изменения:
2+
- Добавлена валидация base64-сертификатов в MC
3+
- Исправления в механизме RPC-with-TLS
4+
- Рефакторинг модуля

CHANGELOG/v0.2.3.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Changes:
2+
- Added base64 certificate validation in MC
3+
- Fixes in RPC-with-TLS mechanism
4+
- Module refactoring

CHANGELOG/v0.2.4.ru.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Изменения:
2+
- Технический релиз, рефакторинг модуля

CHANGELOG/v0.2.4.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Changes:
2+
- Technical release, module refactoring

0 commit comments

Comments
 (0)