Skip to content

Commit

Permalink
fixed yaml lint
Browse files Browse the repository at this point in the history
  • Loading branch information
litinoveweedle committed Dec 28, 2024
1 parent 6f20fef commit 83e0ecf
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
name: Builder

env:
BUILD_ARGS: "--test"
MONITORED_FILES: "build.yaml config.yaml Dockerfile rootfs"

# yamllint disable-line rule:truthy
on:
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
name: Lint

# yamllint disable-line rule:truthy
on:
push:
branches:
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
name: Renovate

# yamllint disable-line rule:truthy
on:
# Allows manual/automated ad-hoc trigger
workflow_dispatch:
Expand All @@ -23,25 +26,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# Don't waste time starting Renovate if JSON is invalid
# Don't waste time starting Renovate if JSON is invalid
- name: Validate Renovate JSON
run: jq type .github/renovate.json
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
#env:
# env:
# Repository taken from variable to keep configuration file generic

Check failure on line 35 in .github/workflows/renovate.yml

View workflow job for this annotation

GitHub Actions / workflows / YAMLLint

comment not indented like content
#RENOVATE_REPOSITORIES: ${{ github.repository }}
# RENOVATE_REPOSITORIES: ${{ github.repository }}
# Onboarding not needed for self hosted
#RENOVATE_ONBOARDING: "false"
# RENOVATE_ONBOARDING: "false"
# Username for GitHub authentication (should match GitHub App name + [bot])
#RENOVATE_USERNAME: "renovate[bot]"
# RENOVATE_USERNAME: "renovate[bot]"
# Git commit author used, must match GitHub App
#RENOVATE_GIT_AUTHOR: "superseb-demo-renovate <121964725+superseb-demo-renovate[bot]@users.noreply.github.com>"
# RENOVATE_GIT_AUTHOR: "superseb-demo-renovate
# <121964725+superseb-demo-renovate[bot]@users.noreply.github.com>"
# Use GitHub API to create commits (this allows for signed commits from GitHub App)
#RENOVATE_PLATFORM_COMMIT: "true"
# RENOVATE_PLATFORM_COMMIT: "true"
# Override schedule if set
#RENOVATE_FORCE: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}
#LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
# RENOVATE_FORCE: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}
# LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
with:
configurationFile: .github/renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/template-sync.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
name: Template-sync

# yamllint disable-line rule:truthy
on:
# cronjob trigger
schedule:
- cron: "0 0 1 * *"
- cron: "0 0 1 * *"
# manual trigger
workflow_dispatch:
jobs:
Expand Down
2 changes: 1 addition & 1 deletion ntopng/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ arch:
init: false
services:
- mysql:want
#- influxdb:want
# - influxdb:want
map:
- ssl
ports:
Expand Down
7 changes: 3 additions & 4 deletions ntopng/translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ configuration:
description: Use SSL (not needed for ingress)
certfile:
name: certfile
description: Certificate file (not needed for ingress)
description: Certificate file (not needed for ingress)
keyfile:
name: keyfile
description: Private key file (not needed for ingress)
Expand All @@ -23,7 +23,7 @@ configuration:
description: Make ntop scripts accesible and writable in data/scripts directory
dns_mode:
name: ntop dns mode
description: DNS addresses resolution mode
description: DNS addresses resolution mode
local_net:
name: local networks
description: list of subnets which are considered local network
Expand All @@ -33,7 +33,7 @@ configuration:
geoip_account_id:
name: geoip account id
description: MaxMind GeoIp database account id (https://www.maxmind.com/en/accounts/current/license-key)
geoip_license_key:
geoip_license_key:
name: geoip license key
description: MaxMind GeoIp database license key (https://www.maxmind.com/en/accounts/current/license-key)
zmq_loc_port:
Expand All @@ -48,4 +48,3 @@ configuration:
redis_loc_port:
name: Redis localhost port
description: Internal localhost only port for communication from ntopng to Redis

0 comments on commit 83e0ecf

Please sign in to comment.