Skip to content

YAML Lint Errors Causing CI Job Failure #3584

@quiet-node

Description

@quiet-node

Description

Currently, the charts CI job fails due to lint errors in YAML files. The errors include:

  • Incorrect comment formatting: “too few spaces before comment” (e.g., lines 71 and 177).
  • Failed linting process: The validation of Helm charts (hedera-json-rpc-relay and hedera-json-rpc-relay-websocket) fails, causing the CI pipeline to exit with status code 1.

The error details are visible in GitHub Actions logs and can be reproduced by running the linting process locally.

Steps to Reproduce

  1. Push changes or trigger a GitHub Actions workflow that includes YAML linting.
  2. Observe the failure in the linting step for values.yaml.

Proposed Solution

  • Fix comment formatting issues by ensuring proper spacing before comments in YAML files.
  • Maybe move the comment to the top of the statement instead of the side

For example, instead of

postman: '' # Custom postman.json in base64 encoding

Move it to the top

# Custom postman.json in base64 encoding
postman: ''

Metadata

Metadata

Assignees

Labels

Team PromotedIssues to be triaged and discussed by committers, maintainers, to be worked on the following sprintbugSomething isn't workinginternalFor changes that affect the project's internal workings but not its outward-facing functionality.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions