Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octogonapus/terratestlogviewer
TerratestLogViewer
https://github.com/octogonapus/terratestlogviewer
Last synced: 20 days ago
JSON representation
TerratestLogViewer
- Host: GitHub
- URL: https://github.com/octogonapus/terratestlogviewer
- Owner: Octogonapus
- Created: 2023-05-02T23:05:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-14T19:09:44.000Z (about 1 year ago)
- Last Synced: 2024-12-15T13:14:09.762Z (24 days ago)
- Language: Go
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TerratestLogViewer
A commandline utility to retrieve and filter logs from Terratest.
Filters out a single test's logs from interleaved parallel log output.
Automatically downloads logs from GitHub Actions.```sh
export GITHUB_TOKEN="my token"# Git state can be pulled from your shell context
TerratestLogViewer ---workflow my_workflow.yml --job my_job --test TestSomething | less# Print a summary of test results with no test logs
TerratestLogViewer ---workflow my_workflow.yml --job my_job --summary# Fully specified
TerratestLogViewer --owner MyOrg --repository myRepo --workflow my_workflow.yml --branch my_branch --job my_job --test TestSomething | less
```## Install
### Binary Installation
Download an appropriate binary from the [latest release](https://github.com/Octogonapus/TerratestLogViewer/releases/latest).
### Manual Installation
```sh
git clone https://github.com/Octogonapus/TerratestLogViewer
cd TerratestLogViewer
go build
go install
```