Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Use kubebuilder-release-tools #1197

Merged
merged 1 commit into from
Oct 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/main.workflow

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
pull_request_target:
types: [opened, edited, reopened]

jobs:
verify:
runs-on: ubuntu-latest
name: verify PR contents
steps:
- name: Verifier action
id: verifier
uses: kubernetes-sigs/kubebuilder-release-tools@v0.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 16 additions & 5 deletions VERSIONING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,23 @@ filters and checks for changes tagged as breaking (see below).

### Tooling

* [release-notes.sh](hack/release/release-notes.sh): generate release notes
for a range of commits, and check for next version type (***TODO***)
Tooling for releases lives in the [kubebuilder-release-tools
repository][rel-tools].

* [verify-emoji.sh](hack/release/verify-emoji.sh): check that
your PR and/or commit messages have the right versioning icon
(***TODO***).
* `go run sigs.k8s.io/kubebuilder-release-tools/notes` from a `release-X`
(or `release-0.Y`) branch will generate release notes based on the emoji
described below.

You can generally paste the stdout output directly into the release,
unless the tool mentions needing manual edits.

* the [GitHub actions workflow][actions-wf] in this repo will verify PRs
using the verifier action from the [release-tools][rel-tools] mentioned
above. If you want to add new checks, you can do it there.

[rel-tools]: https://sigs.k8s.io/kubebuilder-release-tools

[actions-wf]: /.github/workflows/verify.yml

## PR Process

Expand Down
13 changes: 0 additions & 13 deletions hack/release/Dockerfile

This file was deleted.

172 changes: 0 additions & 172 deletions hack/release/common.sh

This file was deleted.

118 changes: 0 additions & 118 deletions hack/release/release-notes.sh

This file was deleted.

29 changes: 0 additions & 29 deletions hack/release/verify-emoji.sh

This file was deleted.