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

Build against 20.04 and a compatible version of glibc #243

Merged
merged 1 commit into from Jan 31, 2023

Conversation

rbarry82
Copy link
Contributor

Issue

Also, bump golang to 1.19.

ubuntu-latest is now 22.04, and is not ABI compatible with the tester images being used, so an appropriate version of glibc can't be found by the linker.

We could actually step around this and statically link glibc in also, but it would require modifying the Makefile for grafana/loki as part of an action, because it doesn't look for any meaningful env vars we could substitute.

With a grafana-agent machine snap/charm, do we actually have a need for an in-container rebuilt promtail which can read journalctl?

For that matter, is there a reason we're rebuilding this at all instead of grabbing the prebuilt binary from upstream? @simskij ?

@rbarry82
Copy link
Contributor Author

This passes now. I'm still not entirely convinced that we need it as a workflow anymore, though.

@rbarry82 rbarry82 merged commit 6c06218 into main Jan 31, 2023
@rbarry82 rbarry82 deleted the fix-promtail-compiles branch January 31, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants