Updated YAML formatting to fix linter

This commit is contained in:
Tobias Genannt 2024-09-03 20:22:55 +02:00
parent 2c26000304
commit b81d4fba64
7 changed files with 229 additions and 229 deletions

4
.github/FUNDING.yml vendored
View File

@ -1,8 +1,8 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
- cimnine
- tobiasge
- cimnine
- tobiasge
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username

View File

@ -1,7 +1,7 @@
name: Bug report
description: Create a report about a malfunction of the Docker setup
body:
- type: markdown
- type: markdown
attributes:
value: |
Please only raise an issue if you're certain that you've found a bug.
@ -28,7 +28,7 @@ body:
Please don't open an issue to open a PR.
Just submit the PR, that's good enough.
- type: textarea
- type: textarea
id: current-behavior
attributes:
label: Current Behavior
@ -36,7 +36,7 @@ body:
placeholder: I tried to … by doing …, but it …
validations:
required: true
- type: textarea
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
@ -44,7 +44,7 @@ body:
placeholder: I expected that … when I do …
validations:
required: true
- type: input
- type: input
id: docker-compose-version
attributes:
label: Docker Compose Version
@ -52,7 +52,7 @@ body:
placeholder: Docker Compose version vX.Y.Z
validations:
required: true
- type: textarea
- type: textarea
id: docker-version
attributes:
label: Docker Version
@ -90,14 +90,14 @@ body:
GitCommit: de40ad0
validations:
required: true
- type: input
- type: input
id: git-rev
attributes:
label: The git Revision
description: Please paste the output of `git rev-parse HEAD`
validations:
required: true
- type: textarea
- type: textarea
id: git-status
attributes:
label: The git Status
@ -108,7 +108,7 @@ body:
nothing to commit, working tree clean
validations:
required: true
- type: input
- type: input
id: run-command
attributes:
label: Startup Command
@ -116,7 +116,7 @@ body:
placeholder: docker compose up
validations:
required: true
- type: textarea
- type: textarea
id: netbox-logs
attributes:
label: NetBox Logs
@ -132,7 +132,7 @@ body:
...
validations:
required: true
- type: textarea
- type: textarea
id: docker-compose-override-yml
attributes:
label: Content of docker-compose.override.yml

View File

@ -6,7 +6,7 @@ contact_links:
- name: Chat
url: https://join.slack.com/t/netdev-community/shared_invite/zt-mtts8g0n-Sm6Wutn62q_M4OdsaIycrQ
about: 'Usually the quickest way to seek help with small issues is to join our #netbox-docker Slack channel.'
about: "Usually the quickest way to seek help with small issues is to join our #netbox-docker Slack channel."
- name: Community Wiki
url: https://github.com/netbox-community/netbox-docker/wiki

View File

@ -1,7 +1,7 @@
name: Feature or Change Request
description: Request a new feature or a change of the current behavior
body:
- type: markdown
- type: markdown
attributes:
value: |
This issue type is to propose new features for the Docker setup.
@ -30,7 +30,7 @@ body:
Please don't open an issue to open a PR.
Just submit the PR, that's good enough.
- type: textarea
- type: textarea
id: desired-behavior
attributes:
label: Desired Behavior
@ -38,7 +38,7 @@ body:
placeholder: To me, it would be useful, if … because …
validations:
required: true
- type: textarea
- type: textarea
id: contrast-to-current
attributes:
label: Contrast to Current Behavior
@ -46,7 +46,7 @@ body:
placeholder: The current behavior is …, but this lacks …
validations:
required: true
- type: textarea
- type: textarea
id: required-changes
attributes:
label: Required Changes
@ -54,10 +54,10 @@ body:
placeholder: I suggest to change the file …
validations:
required: false
- type: textarea
- type: textarea
id: discussion
attributes:
label: 'Discussion: Benefits and Drawbacks'
label: "Discussion: Benefits and Drawbacks"
description: |
Please make your case here:
- Why do you think this project and the community will benefit from your suggestion?

View File

@ -80,6 +80,6 @@ into the release notes.
Please put an x into the brackets (like `[x]`) if you've completed that task.
-->
* [ ] I have read the comments and followed the PR template.
* [ ] I have explained my PR according to the information in the comments.
* [ ] My PR targets the `develop` branch.
- [ ] I have read the comments and followed the PR template.
- [ ] I have explained my PR according to the information in the comments.
- [ ] My PR targets the `develop` branch.

View File

@ -6,7 +6,7 @@ on:
types:
- published
schedule:
- cron: '45 5 * * *'
- cron: "45 5 * * *"
workflow_dispatch:
jobs:

View File

@ -6,7 +6,7 @@ services:
- redis
- redis-cache
env_file: env/netbox.env
user: 'unit:root'
user: "unit:root"
healthcheck:
test: curl -f http://localhost:8080/login/ || exit 1
start_period: 90s
@ -65,7 +65,7 @@ services:
- -c # this is to evaluate the $REDIS_PASSWORD from the env
- valkey-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
healthcheck: &redis-healthcheck
test: "[ $$(valkey-cli --pass \"$${REDIS_PASSWORD}\" ping) = 'PONG' ]"
test: '[ $$(valkey-cli --pass "$${REDIS_PASSWORD}" ping) = ''PONG'' ]'
start_period: 5s
timeout: 3s
interval: 1s