1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update bug_report.yml

This commit is contained in:
John R Barker 2021-02-01 18:41:44 +00:00 committed by GitHub
parent 1591d52b78
commit 165719d084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,116 +1,96 @@
name: Bug Report name: Bug Report
about: Create a report to help us improve about: Create a report to help us improve
body: inputs:
- id: help - type: description
type: TextBlock
isSubtle: true # Not implemented, just wanted a way to make it stand out attributes:
color: good preview_only: true
text: | text: |
Verify first that your issue is not already reported on [GitHub](https://github.com/ansible-collections/community.general/labels/bug) Verify first that your issue is not already reported on [GitHub](https://github.com/ansible-collections/community.general/labels/bug)
Also test if the latest release and devel branch are affected too Also test if the latest release and devel branch are affected too
Complete *all* sections as described, this form is processed automatically Complete *all* sections as described, this form is processed automatically
- type: textarea
- id: summary attributes:
type: Input.Text
isMultiline: true
isRequired: true
size: small
label: SUMMARY label: SUMMARY
placeholder: 'Explain the problem briefly below' description: 'Explain the problem briefly below'
required: true
- type: textarea
attributes:
label: SUMMARY
description: 'Explain the problem briefly below'
required: true
- id: issue type - type: dropdown
type: Input.ChoiceSet attributes:
isMultiSelect: false
isRequired: true
style: compact
size: large
label: ISSUE TYPE
value: Bug Report
choices: choices:
- title: Bug Report - Bug Report
value: Bug Report required: true
- id: component name - type: textarea
type: Input.ChoiceSet attributes:
isMultiSelect: true # For smaller collections we could use a multi-select and hardcode the list
isRequired: true #May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
style: compact
size: large
label: COMPONENT NAME
#value: Bug Report
choices:
# May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
# Select from list, filter as you type (`mysql` would only show the 3 mysql components) # Select from list, filter as you type (`mysql` would only show the 3 mysql components)
# OR freeform - doesn't seem to be supported in adaptivecards # OR freeform - doesn't seem to be supported in adaptivecards
# BUG: Multiselect only adds last item to issue
- title: mysql_user
value: mysql_user
- title: mysql_database
value: mysql_database
- title: mysql_connection
value: mysql_connection
- title: postgres_user
value: postgres_user
- id: ansible version label: COMPONENT NAME
type: Input.Text description: 'List the component, ie `template`, `mysql_users`
isMultiline: true required: true
size: large - type: textarea
attributes:
label: ANSIBLE VERSION label: ANSIBLE VERSION
required: false
description: |
If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
value: | value: |
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes --> <!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below ```paste below
``` ```
- id: configuration - type: textarea
type: Input.Text attributes:
isMultiline: true
size: large
label: CONFIGURATION label: CONFIGURATION
required: false
description: |
If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
value: | value: |
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes --> <!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below ```paste below
``` ```
- type: textarea
- id: configuration attributes:
type: Input.Text
isMultiline: true
size: large
label: OS / ENVIRONMENT label: OS / ENVIRONMENT
placeholder: Provide all relevant information below, e.g. target OS versions, network device firmware, etc description: 'Provide all relevant information below, e.g. target OS versions, network device firmware, etc'
required: false
- id: steps to repo - type: textarea
type: Input.Text attributes:
isMultiline: true label: STEPS TO REPRO
size: large description: 'Describe exactly how to reproduce the problem, using a minimal test-case'
label: STEPS TO REPRODUCE required: false
value: | value: |
<!--- Describe exactly how to reproduce the problem, using a minimal test-case --> <!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
<!--- Paste example playbooks or commands between quotes below --> ```paste below
```yaml
``` ```
- type: textarea
- id: expected attributes:
type: Input.Text
isMultiline: true
size: large
label: EXPECTED RESULTS label: EXPECTED RESULTS
placeholder: Describe what you expected to happen when running the steps above description: 'Describe what you expected to happen when running the steps above'
required: false
- type: textarea
attributes:
- id: actual results
type: Input.Text
isMultiline: true
size: large
label: ACTUAL RESULTS label: ACTUAL RESULTS
description: 'Describe what actually happened. If possible run with extra verbosity (-vvvv)'
required: false
value: | value: |
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) --> <!--- Paste verbatim command output between -->
<!--- Paste verbatim command output between quotes --> ```paste below
```
``` ```