Skip to content

Commit

Permalink
github: issue templates
Browse files Browse the repository at this point in the history
Add issue templates for bug reports, feature requests and new releases.
  • Loading branch information
marquiz committed Oct 11, 2023
1 parent b6c4b21 commit 23620b7
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Bug report
description: Report an issue
body:
- type: textarea
id: description
attributes:
label: Bug Description
description: Please describe the bug
value: "A clear and concise description of what the bug is"
validations:
required: true
- type: textarea
id: expected_behavior
attributes:
label: Expected behavior
description: Please describe the behavior you expected
value: "A clear and concise description of what you expected to happen"
validations:
required: true
- type: textarea
id: experienced_behavior
attributes:
label: Experienced behavior
description: Please describe the behavior you experienced
value: "A clear and concise description of what actually happened"
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the behavior
description: Please explain the steps to reproduce the experienced behavior
value: |-
Steps to reproduce the behavior
1.
2.
3.
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: Describe the environment you have
value: |-
- nri-plugin(s):
- container runtime:
- OS:
- kernel:
- Kubernetes version:
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the problem here
value: "Additional information about the bug"
validations:
required: false
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Feature request
description: Suggest an idea for this project
body:
- type: textarea
id: description
attributes:
label: Description
description: Describe the solution you'd like
value: "A clear and concise description of you want to happen."
validations:
required: true
- type: textarea
id: rationale
attributes:
label: Rationale
description: Describe why this is needed
value: "A clear and concise description of the use case and/or justification for the feature"
validations:
required: true
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/new-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: New release
about: Propose a new major release
title: Release v0.0.0
labels: ''
assignees: ''

---

## Release Process

<!--
If making adjustments to the checklist please also file a PR against this issue
template (.github/ISSUE_TEMPLATE/new-release.md) to incorporate the changes for
future releases.
-->

- [ ] Create and push new release branch
- Local release preparations (on the release branch)
- [ ] Run e2e tests
- [ ] Sync/tidy up dependencies.
- [ ] Run `go mod tidy`.
- [ ] Run `git commit -m 'go.mod,go.sum: update dependencies.' go.{mod,sum}`, if necessary.
- [ ] Run `git tag -a -m "NRI plugins $VERSION" $VERSION`.
- Publishing
- [ ] Push the tag with `git push $VERSION`.
- [ ] Check that new container images are published for the tag.
- ```
for i in nri-resource-policy-topology-aware nri-resource-policy-balloons nri-resource-policy-template nri-config-manager nri-memory-qos nri-memtierd; do \
skopeo inspect --format "$i: {{.Digest}}" docker://ghcr.io/containers/nri-plugins/$i:$VERSION;
done
```
- [ ] Finalize the new *draft* release created by CI
- [ ] Check that all artefacts (Helm charts) were uploaded
- [ ] Write the change log to the release.
- [ ] Get the change log OK'd by other maintainers.
- [ ] Publish the draft as a release.
- [ ] Verify that the Helm repo was updated
- [ ] Add a link to the tagged release in this issue.
- [ ] Close this issue.

0 comments on commit 23620b7

Please sign in to comment.