bavix/GripMock Action
Run the fastest and most reliable gRPC mock server in GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source | Single source (.proto/.pb/bsr/grpc URL) | no | "" |
| sources | Additional sources, one per line | no | "" |
| stub | Path to stubs directory/file | no | "" |
| imports | Proto imports, one per line | no | "" |
| plugins | Plugin paths (.so), one per line | no | "" |
| extra-args | Additional CLI args, one per line | no | "" |
| version | GripMock version: latest, 3.x.x, or v3.x.x | no | latest |
| github-token | GitHub token for release API | no | "" |
| grpc-host | GRPC_HOST | no | 127.0.0.1 |
| grpc-port | GRPC_PORT | no | 4770 |
| http-host | HTTP_HOST | no | 127.0.0.1 |
| http-port | HTTP_PORT | no | 4771 |
| log-level | LOG_LEVEL | no | info |
| env | Additional env vars, one KEY=VALUE per line | no | "" |
| wait | Wait until readiness endpoint is up | no | true |
| wait-timeout | Wait timeout (e.g. 30s, 1m, 5000ms) | no | 30s |
| wait-interval | Readiness polling interval (e.g. 500ms, 1s) | no | 500ms |
| auto-stop | Stop GripMock in post step | no | true |
| log-file | Path for GripMock stdout/stderr logs | no | "" |
Outputs
| name | description |
|---|---|
| version | Resolved GripMock version |
| binary-path | Path to the downloaded gripmock binary |
| pid | GripMock process id |
| grpc-addr | gRPC address |
| http-addr | HTTP address |
| grpc-port | gRPC port |
| http-port | HTTP port |
| readiness-url | Readiness endpoint URL |
| log-file | Path to log file |