/github-action-validate-envoy-proxy

GitHub Actions to validate Envoy Proxy Configuration File

MIT LicenseMIT

github-action-validate-envoy-proxy

GitHub Actions to validate Envoy Proxy Configuration.

How does it works?

This action executes envoy with --mode validate option. The binary of envoy isn't provided, so this action executes envoy with Docker image via docker run command. If the configuration file is invalid, this action posts a comment to Pull Request or commit with github-comment.

Example

image

#10 (comment)

Requirements

Inputs, Outputs

Please see action.yaml

Docker Authentication

This action pulls the Docker Image for Envoy Proxy. In this action the authentication isn't executed, so please do it in advance if needed.

Customization

If you want to customize the Pull Request Comment or hide old comments, please see the document of github-comment.

https://github.com/suzuki-shunsuke/github-comment

Environment Variables

The following environment variables can be used in github-comment's template.

  • INPUT_PATH: Envoy Configuration File Path

License

MIT