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

Cross build Promtail for ARM with journald support. #8131

Merged
merged 5 commits into from
Jan 13, 2023

Conversation

jeschkies
Copy link
Contributor

@jeschkies jeschkies commented Jan 13, 2023

What this PR does / why we need it:
This is the follow up to #8111 and adds journald support for Promatil ARM and ARM64 builds.

I've tested it locally with my Raspberry Pi and it works.

Which issue(s) this PR fixes:
Fixes #1459

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • CHANGELOG.md updated
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md

@jeschkies jeschkies requested a review from a team as a code owner January 13, 2023 10:18
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-target-branch/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-target-branch/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

Copy link
Collaborator

@periklis periklis left a comment

Choose a reason for hiding this comment

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

Approving this for the operator Dockerfile changes

Copy link
Contributor

@MasslessParticle MasslessParticle left a comment

Choose a reason for hiding this comment

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

lgtm

@MasslessParticle MasslessParticle merged commit 4504ed2 into grafana:main Jan 13, 2023
JordanRushing added a commit that referenced this pull request Apr 11, 2023
**What this PR does / why we need it**:

Previously, in #8131, we enabled
journald support for Promtail arm/arm64 binary builds but not amd64.

**Which issue(s) this PR fixes**:

- #9060

**Special notes for your reviewer**:

N/A

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`

---------

Signed-off-by: JordanRushing <[email protected]>
Co-authored-by: Trevor Whitney <[email protected]>
grafanabot pushed a commit that referenced this pull request Apr 11, 2023
**What this PR does / why we need it**:

Previously, in #8131, we enabled
journald support for Promtail arm/arm64 binary builds but not amd64.

**Which issue(s) this PR fixes**:

- #9060

**Special notes for your reviewer**:

N/A

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`

---------

Signed-off-by: JordanRushing <[email protected]>
Co-authored-by: Trevor Whitney <[email protected]>
(cherry picked from commit 7edda37)
@jeschkies jeschkies deleted the karsten/cross-build branch April 12, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't scrape journal on Raspberry Pi
4 participants