Skip to content

Commit

Permalink
Tweak CI
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Jan 23, 2025
1 parent f1aa82e commit bb55ecd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ jobs:

- name: Start Server
env:
QUICKPIZZA_DEBUG_LEVEL: "info"
QUICKPIZZA_OTLP_ENDPOINT: "localhost"
QUICKPIZZA_OTLP_ENDPOINT: "http://localhost"
QUICKPIZZA_TRUST_CLIENT_TRACEID: "1"
QUICKPIZZA_PYROSCOPE_ENDPOINT: "localhost"
QUICKPIZZA_PYROSCOPE_ENDPOINT: "http://localhost"
run: ./bin/quickpizza &

# Enable cache for system files: https://github.com/actions/toolkit/issues/946
Expand Down
2 changes: 2 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ func main() {
os.Exit(1)
}

slog.Debug("enabling tracing")

if envBool("QUICKPIZZA_TRUST_CLIENT_TRACEID") {
traceInstaller.Insecure()
}
Expand Down

0 comments on commit bb55ecd

Please sign in to comment.