-
Notifications
You must be signed in to change notification settings - Fork 9
Fix OATS workflow #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OATS workflow #137
Conversation
Hit my go knowledge wall here pretty fast 😅 @zeitlinger Is this something that needs fixing in the oats repo itself so the fix comes with the clone? |
This OATs setup is deprecated - not sure if the question still applies when updated. This is my reference setup - where |
Ok cool, in that case I'll update this to use the other way when I get back to it. |
Depends on grafana/oats#109. |
- Upgrade Go to 1.24. - Remove permissions from all jobs. - Avoid warning if no error logs found. - Allow manual dispatch.
Run `go mod tidy` to see if that fixes things.
Try running it later.
Just while I don't know what the real fix is.
Didn't fix it, but it's further along with the first one.
Install OATS directly instead of cloning.
Consume changes from grafana/oats#109 to fix matrix usage.
Remove obsolete `version` property.
Update from .NET 6 to .NET 8.
.NET 8 changed the default container port to `8080`.
Update commands to run OATS tests.
Map port 8080 for ASP.NET Core.
Add a PowerShell script to run the OATS tests locally cross-platform.
Set the executable bit for macOS and Linux.
Remove references to non-existent compose file.
Avoid prerelease versions of the .NET SDK if installed locally.
Fix (and simplify) the ASP.NET Core dockerfile.
Fix timeout no longer being consumed from `TESTCASE_TIMEOUT` env var and instead use `--timeout` flag.
Container name is `lgtm` not `container`.
Fix names based on docker-otel-lgtm's .NET example.
Fix self-contained publish not working due to quotes.
Add OTLP logging.
Add whitespace to make things more readable.
Add log query (which needs to be fixed).
Configure logging in the right way.
Fix metric names.
Fix trace query for `GetError`.
Use the latest stable release of OATS.
Expose port 1433 so that the application can connect to it.
Fix incorrect attributes.
Update traceql to match HTTP test cases.
Then we know if we break things.
- Use primary constructors. - Remove unused fields. - Use structured logging. - Use `await using`. - Use HttpClientFactory. - Use async methods where available. - Use collection expressions.
Use `span.http.route` instead of `name`.
Combine the OATS tests into a single file to speed up the execution time by avoiding spinning containers up and down so much.
Pin OATS to v0.3.2 and configure renovate.
Revert redundant change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes
version
property from docker compose files.80
to8080
(docs).Merge requirement checklist
CHANGELOG.md
file updated for non-trivial changes