Skip to content
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

bug-1878000: reduce spam from make run #968

Merged
merged 5 commits into from Feb 13, 2024
Merged

bug-1878000: reduce spam from make run #968

merged 5 commits into from Feb 13, 2024

Conversation

willkg
Copy link
Collaborator

@willkg willkg commented Feb 1, 2024

This reduces the spam in the output when running make run by explicitly not attaching to backing services and improving Kent logging.

While doing that, I saw this output when running make build:

/usr/bin/docker compose build --progress plain localstack statsd
--progress is a global compose flag, better use `docker compose --progress xx build ...touch .docker-build

So I fixed that, too.

@willkg willkg requested a review from a team as a code owner February 1, 2024 13:53
@willkg willkg changed the title reduce spam from make run bug-1878000: reduce spam from make run Feb 1, 2024
@willkg willkg requested a review from relud February 1, 2024 13:54
@willkg
Copy link
Collaborator Author

willkg commented Feb 1, 2024

We should land this after PR #965 because that picks up circleci fixes including updating to a more recent version of Docker.

Copy link
Contributor

@smarnach smarnach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Just wondering – is the Kent upgrade related to that change?

Comment on lines 3 to 4
ARG groupid=5000
ARG userid=5000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these arguments are unused now and can be removed.

@willkg
Copy link
Collaborator Author

willkg commented Feb 1, 2024

The Kent upgrade picks up changes to logging that reduce logging spam. It's not as applicable here because Antenna doesn't have the service healthchecks that Tecken has, but when we implement those, we'll want the fixes in Kent 1.2.0 that quell the logging that triggered with the healthchecks every second.

Makefile Outdated Show resolved Hide resolved
This reduces the copious output of backing services when running `make
run`.
This upgrades Kent to 1.2.0 to pick up fixes to logging and other
things.

This also updates the Dockerfile to use the same base image Antenna
does.
This moves the `--progress` flag to the global section so docker doesn't
complain.
This switches to specifying which services to attach to rather than
which ones _not_ to attach to.
@willkg willkg merged commit 16d3d49 into main Feb 13, 2024
1 check passed
@willkg
Copy link
Collaborator Author

willkg commented Feb 13, 2024

Thank you!

@willkg willkg deleted the willkg-1878000-spammy branch May 2, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants