Skip to content

Commit

Permalink
[Opik-333] fix github release notes (#1492)
Browse files Browse the repository at this point in the history
* Fix and simplify github release creation

* configuration fix
  • Loading branch information
liyaka authored Mar 9, 2025
1 parent d531a9d commit 97485c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,13 @@ jobs:
- create-git-tag
runs-on: ubuntu-latest
steps:
- name: Create Release Changelog
id: release_changelog
uses: jaywcjlove/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
show-emoji: "false"

- name: Create GitHub release
uses: mikepenz/action-gh-release@v0.4.1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{needs.set-version.outputs.version}}
body: ${{steps.release_changelog.outputs.changelog}}
generate_release_notes: true

- name: Delete Release Draft
uses: hugo19941994/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
- "-c"
args:
- export backupname=backup$(date +'%Y%m%d%H%M'); echo "BACKUP ALL EXCEPT DATABASE system TO S3('{{ include "common.tplvalues.render" (dict "value" .Values.clickhouse.backup.bucketURL "context" $) }}/$backupname/', '$ACCESS_KEY', '$SECRET_KEY');" > /tmp/backQuery.sql; clickhouse-client -h clickhouse-opik-clickhouse --send_timeout 600000 --receive_timeout 600000 --port 9000 --queries-file=/tmp/backQuery.sql;
{{- with .Values.clickhouse.backup.reources }}
{{- with .Values.clickhouse.backup.resources }}
resources:
{{- toYaml . | nindent 14 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
config.d/logger.xml: "<yandex><logger><level>{{ .Values.clickhouse.logsLevel }}</level></logger></yandex>"
{{- if .Values.clickhouse.configuration }}
{{- with .Values.clickhouse.configuration.files }}
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end }}

Expand Down

0 comments on commit 97485c9

Please sign in to comment.