diff --git a/.codecov.yml b/.codecov.yml index 7398b6b..00febc4 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,5 +1,6 @@ -## SPDX-FileCopyrightText: 2016 Comcast Cable Communications Management, LLC -## SPDX-License-Identifier: Apache-2.0 +# SPDX-FileCopyrightText: 2016 Comcast Cable Communications Management, LLC +# SPDX-License-Identifier: Apache-2.0 +--- coverage: range: 50..80 round: down diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2fb3c9e..8764f8b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,13 +7,14 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - # Check for updates to GitHub Actions every week + # Check for updates to GitHub Actions every day interval: "daily" labels: - "dependencies" commit-message: prefix: "chore" include: "scope" + open-pull-requests-limit: 10 - package-ecosystem: gomod directory: / @@ -22,5 +23,6 @@ updates: labels: - "dependencies" commit-message: - prefix: "feat" + prefix: "chore" include: "scope" + open-pull-requests-limit: 10 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d08653..1464ffe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,4 +23,5 @@ jobs: uses: xmidt-org/shared-go/.github/workflows/ci.yml@c9c75b3fd850c64594bcdc7181b4f7557675faed # v4.4.0 with: release-type: program + yaml-lint-skip: false secrets: inherit diff --git a/.golangci.yaml b/.golangci.yaml index cbd4c0b..2f1e341 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -6,7 +6,7 @@ linters: - bodyclose - dupl - errorlint - + - goconst - gosec - misspell @@ -28,4 +28,4 @@ linters-settings: # Report non-wrapping error creation using fmt.Errorf errorf: false misspell: - locale: US \ No newline at end of file + locale: US diff --git a/.release/docker/petasos_spruce.yaml b/.release/docker/petasos_spruce.yaml index 9c7153d..1bad609 100644 --- a/.release/docker/petasos_spruce.yaml +++ b/.release/docker/petasos_spruce.yaml @@ -308,6 +308,6 @@ tracing: # so that trace information is not written to stdout. # skipTraceExport: true - # endpoint is where trace information should be routed. Applies to otlp, zipkin, and jaegar. OTLP/gRPC uses port 4317 by default. + # endpoint is where trace information should be routed. Applies to otlp, zipkin, and jaegar. OTLP/gRPC uses port 4317 by default. # OTLP/HTTP uses port 4318 by default. endpoint: (( grab $TRACING_PROVIDER_ENDPOINT || "http://zipkin:9411/api/v2/spans" )) diff --git a/.release/helm/petasos/values.yaml b/.release/helm/petasos/values.yaml index 1723ea0..d3839e2 100644 --- a/.release/helm/petasos/values.yaml +++ b/.release/helm/petasos/values.yaml @@ -1,7 +1,7 @@ -## SPDX-FileCopyrightText: 2016 Comcast Cable Communications Management, LLC -## SPDX-License-Identifier: Apache-2.0 +# SPDX-FileCopyrightText: 2016 Comcast Cable Communications Management, LLC +# SPDX-License-Identifier: Apache-2.0 # Default values for xmitd-talaria. - +--- petasos: # docker image used image: xmidt/petasos @@ -22,9 +22,7 @@ pprof: metric: address: host: "" - port: "6403" + port: "6403" # Pull secret used when images are stored in a private repository # imagePullSecretName: - - diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000..1c27835 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,41 @@ +# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC +# SPDX-License-Identifier: Apache-2.0 +--- + +extends: default + +ignore: + - .release/helm/petasos/templates/petasos.yaml + +rules: + braces: + level: warning + max-spaces-inside: 1 + brackets: + level: warning + max-spaces-inside: 1 + colons: + level: warning + max-spaces-after: -1 + commas: + level: warning + comments: disable + comments-indentation: disable + document-start: + present: true + empty-lines: + max: 2 + hyphens: + max-spaces-after: 1 + indentation: + level: error + indent-sequences: consistent + line-length: + level: warning + max: 90 + allow-non-breakable-words: true + allow-non-breakable-inline-mappings: true + truthy: + allowed-values: + - 'true' + - 'false' diff --git a/petasos.yaml b/petasos.yaml index 246b71d..5dd00ca 100644 --- a/petasos.yaml +++ b/petasos.yaml @@ -1,5 +1,5 @@ -## SPDX-FileCopyrightText: 2016 Comcast Cable Communications Management, LLC -## SPDX-License-Identifier: Apache-2.0 +# SPDX-FileCopyrightText: 2016 Comcast Cable Communications Management, LLC +# SPDX-License-Identifier: Apache-2.0 --- # The unique fully-qualified-domain-name of the server. It is provided to # the X-petasos-Server header for showing what server fulfilled the request @@ -339,7 +339,6 @@ tracing: # so that trace information is not written to stdout. # skipTraceExport: true - # endpoint is where trace information should be routed. Applies to otlp, zipkin, and jaegar. OTLP/gRPC uses port 4317 by default. + # endpoint is where trace information should be routed. Applies to otlp, zipkin, and jaegar. OTLP/gRPC uses port 4317 by default. # OTLP/HTTP uses port 4318 by default. # endpoint: "http://localhost:9411/api/v2/spans" -