gaffer-sh/gaffer-uploader
Upload test runs and reports to Gaffer. Wraps the open-source gaffer CLI (https://github.com/gaffer-sh/gaffer); files >90 MB upload via R2 multipart automatically.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| gaffer_upload_token | Upload token for your Gaffer project (gfr_ prefix) | no | — |
| gaffer_api_key | [DEPRECATED - use gaffer_upload_token] Upload token for your Gaffer project | no | — |
| report_path | Path to the relevant report file or directory to upload. | yes | — |
| api_endpoint | Custom API endpoint URL (for preview/staging environments). | no | — |
| commit_sha | Git commit SHA to associate with the test run report. | no | — |
| branch | Git branch to associate with the test run report. | no | — |
| test_framework | Test framework to associate with the test run report. | no | — |
| test_suite | Optional name of the test suite to associate with the test run report. | no | — |
| upload_timeout | Per-request HTTP timeout in seconds (default: 30). With multipart uploads each part PUT runs against this timeout, so bump it (e.g. to 300 or higher) for multi-gigabyte uploads. | no | 30 |
| max_file_size_mb | Per-file size limit in MB (default: 100, platform max: 5000). Files above this are rejected up front. Multipart elevation above 90 MB is automatic; no separate flag is needed. | no | 100 |
| debug | Enable debug logging, including full API responses. | no | false |
| cli_version | Pin the gaffer CLI version installed by this action (default: tracks the version this action was released with). Override only if you need a newer CLI feature without waiting for a new gaffer-uploader release. | no | "" |
Outputs
| name | description |
|---|---|
| status | Upload status. "success" when the upload completed. |
| test_run_id | Gaffer upload session / test run ID. |
| project_id | Gaffer project ID that received the upload. |