Skip to content

Commit

Permalink
Use github forms for issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Oct 5, 2021
1 parent b28bf04 commit 1e3a5ea
Show file tree
Hide file tree
Showing 9 changed files with 227 additions and 97 deletions.
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

107 changes: 107 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: Bug Report
description: Report a bug encountered while operating Kubernetes
labels: kind/bug
body:
- type: textarea
id: problem
attributes:
label: What happened?
description: |
Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
If this matter is security related, please disclose it privately via https://kubernetes.io/security
validations:
required: true

- type: textarea
id: expected
attributes:
label: What did you expect to happen?
validations:
required: true

- type: textarea
id: repro
attributes:
label: How can we reproduce it (as minimally and precisely as possible)?
validations:
required: true

- type: textarea
id: additional
attributes:
label: Anything else we need to know?

- type: textarea
id: kubeVersion
attributes:
label: Kubernetes version
value: |
<details>
```console
$ kubectl version
# paste output here
```
</details>
validations:
required: true

- type: textarea
id: cloudProvider
attributes:
label: Cloud provider
value: |
<details>
</details>
validations:
required: true

- type: textarea
id: osVersion
attributes:
label: OS version
value: |
<details>
```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```
</details>
- type: textarea
id: installer
attributes:
label: Install tools
value: |
<details>
</details>
- type: textarea
id: runtime
attributes:
label: Container runtime (CRI) and and version (if applicable)
value: |
<details>
</details>
- type: textarea
id: plugins
attributes:
label: Related plugins (CNI, CSI, ...) and versions (if applicable)
value: |
<details>
</details>
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contact_links:
- name: Support Request
url: https://discuss.kubernetes.io
url: https://discuss.kubernetes.io
about: Support request or question relating to Kubernetes
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/enhancement.md

This file was deleted.

21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Enhancement Tracking Issue
description: Provide supporting details for a feature in development
labels: kind/feature
body:
- type: textarea
id: feature
attributes:
label: What would you like to be added?
description: |
Feature requests are unlikely to make progress as issues. Please consider engaging with SIGs on slack and mailing lists, instead.
A proposal that works through the design along with the implications of the change can be opened as a KEP.
See https://git.k8s.io/enhancements/keps#kubernetes-enhancement-proposals-keps
validations:
required: true

- type: textarea
id: rationale
attributes:
label: Why is this needed?
validations:
required: true
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/failing-test.md

This file was deleted.

48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/failing-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Failing Test
description: Report continuously failing tests or jobs in Kubernetes CI
labels: kind/failing-test
body:
- type: textarea
id: jobs
attributes:
label: Which jobs are failing?
placeholder: |
Please only use this template for submitting reports about continuously failing tests or jobs in Kubernetes CI.
validations:
required: true

- type: textarea
id: tests
attributes:
label: Which tests are failing?
validations:
required: true

- type: textarea
id: since
attributes:
label: Since when has it been failing?
validations:
required: true

- type: input
id: testgrid
attributes:
label: Testgrid link

- type: textarea
id: reason
attributes:
label: Reason for failure (if possible)

- type: textarea
id: additional
attributes:
label: Anything else we need to know?

- type: textarea
id: sigs
attributes:
label: Relevant SIG(s)
description: You can identify the SIG from the "prowjob_config_url" on the testgrid dashboard for a test.
value: /sig
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/flaking-test.md

This file was deleted.

50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/flaking-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Flaking Test
description: Report flaky tests or jobs in Kubernetes CI
labels: kind/flake
body:
- type: textarea
id: jobs
attributes:
label: Which jobs are flaking?
description: |
Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI.
Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.
Please see the deflaking doc (https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/flaky-tests.md) for more guidance.
validations:
required: true

- type: textarea
id: tests
attributes:
label: Which tests are flaking?
validations:
required: true

- type: textarea
id: since
attributes:
label: Since when has it been flaking?
validations:
required: true

- type: input
id: testgrid
attributes:
label: Testgrid link

- type: textarea
id: reason
attributes:
label: Reason for failure (if possible)

- type: textarea
id: additional
attributes:
label: Anything else we need to know?

- type: textarea
id: sigs
attributes:
label: Relevant SIG(s)
description: You can identify the SIG from the "prowjob_config_url" on the testgrid dashboard for a test.
value: /sig

0 comments on commit 1e3a5ea

Please sign in to comment.