-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from ydb-platform/improve-started-filter
- Loading branch information
Showing
25 changed files
with
190 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Changelog |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## 0.0.11 | ||
+ `--started` and `--version` no longer silently include nodes, which did not have this info supplied by CMS at all (due to old YDB version). | ||
Now `ydbops` explicitly refuses to add any nodes with empty start time or empty version and produces a warning. | ||
|
||
## 0.0.10 | ||
+ `version` command | ||
+ new release pipeline - modify CHANGELOG.md only, rest is automatic | ||
|
||
## 0.0.9 | ||
+ Information about version in help output | ||
+ Scripts for build release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## v0.0.12 - 2024-10-31 | ||
### Changed | ||
* migrated to changie for keeping a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
changesDir: .changes | ||
unreleasedDir: unreleased | ||
headerPath: header.tpl.md | ||
changelogPath: CHANGELOG.md | ||
versionExt: md | ||
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}' | ||
kindFormat: '### {{.Kind}}' | ||
changeFormat: '* {{.Body}}' | ||
kinds: | ||
- label: Added | ||
auto: minor | ||
- label: Changed | ||
auto: major | ||
- label: Deprecated | ||
auto: minor | ||
- label: Removed | ||
auto: major | ||
- label: Fixed | ||
auto: patch | ||
- label: Security | ||
auto: patch | ||
newlines: | ||
afterChangelogHeader: 1 | ||
beforeChangelogVersion: 1 | ||
endOfVersion: 1 | ||
envPrefix: CHANGIE_ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: create-release-pr | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
create-release-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: batch-changes | ||
uses: miniscruff/changie-action@v2 | ||
with: | ||
version: latest | ||
args: batch patch | ||
|
||
- name: merge-changes | ||
uses: miniscruff/changie-action@v2 | ||
with: | ||
version: latest | ||
args: merge | ||
|
||
- name: print the latest version | ||
id: latest | ||
uses: miniscruff/changie-action@v2 | ||
with: | ||
version: latest | ||
args: latest | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
title: Release ${{ steps.latest.outputs.output }} | ||
branch: release/${{ steps.latest.outputs.output }} | ||
commit-message: Release ${{ steps.latest.outputs.output }} | ||
token: ${{ github.token }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,31 +27,7 @@ jobs: | |
with: | ||
version: v1.61.0 | ||
args: --verbose --disable-all --new-from-rev=origin/master --enable wrapcheck,stylecheck,funlen,mnd,cyclop | ||
autoformatter: | ||
name: autoformat check | ||
concurrency: | ||
group: lint-autoformat-${{ github.ref }} | ||
cancel-in-progress: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.21" | ||
|
||
- name: Install utilities | ||
run: | | ||
go install mvdan.cc/[email protected] | ||
go install github.com/rinchsan/gosimports/cmd/[email protected] | ||
- name: format all files with auto-formatter | ||
run: bash ./.github/scripts/format-all-go-code.sh "$PWD" | ||
|
||
- name: Check repository diff | ||
run: bash ./.github/scripts/check-work-copy-equals-to-committed.sh "auto-format broken" | ||
tests: | ||
name: run tests | ||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: tag-and-release | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'CHANGELOG.md' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
tag-and-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: get-the-latest-version | ||
id: latest | ||
uses: miniscruff/changie-action@v2 | ||
with: | ||
version: latest | ||
args: latest | ||
|
||
- name: create-tag | ||
uses: mathieudutour/[email protected] | ||
with: | ||
custom_tag: ${{ steps.latest.outputs.output }} | ||
github_token: ${{ github.token }} | ||
|
||
- name: build | ||
run: | | ||
APP_VERSION=${{ steps.latest.outputs.output }} make build-in-docker | ||
- name: create-github-release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body_path: .changes/${{ steps.latest.outputs.output }}.md | ||
files: bin/ydbops* | ||
tag_name: ${{ steps.latest.outputs.output }} | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.