Skip to content

Commit

Permalink
Merge branch 'main' into log-6577
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoBraveCoding committed Feb 17, 2025
2 parents f1f7950 + 3888866 commit a9bc6c3
Show file tree
Hide file tree
Showing 90 changed files with 5,844 additions and 1,115 deletions.
2 changes: 1 addition & 1 deletion .github/jsonnetfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"subdir": "workflows"
}
},
"version": "5343bc71d96dc4247021a66c3da8fd5cd4c957dd"
"version": "965213a0fe2632438ab0524d606cb71d414e2388"
}
],
"legacyImports": true
Expand Down
4 changes: 2 additions & 2 deletions .github/jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"subdir": "workflows"
}
},
"version": "5343bc71d96dc4247021a66c3da8fd5cd4c957dd",
"sum": "/+ozeV2rndtz8N3cZmrWxbNJFI7fkwoDzhECMHG1RoA="
"version": "965213a0fe2632438ab0524d606cb71d414e2388",
"sum": "DXmqwVyytIhA0tHlMQUCLD8buVjjCb04YcIxJ3BLFqM="
}
],
"legacyImports": false
Expand Down
6 changes: 6 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
"matchManagers": ["kustomize"],
"enabled": false
},
{
// Disable certain npm updates for compatibility reasons
"matchManagers": ["npm"],
"matchPackageNames": ["tailwindcss"],
"enabled": false
},
{
// Don't automatically merge GitHub Actions updates
"matchManagers": ["github-actions"],
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions .github/workflows/minor-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ jobs:
loki-docker-driver:
needs:
- "version"
runs-on: "ubuntu-latest"
runs-on: "${{ matrix.runs_on }}"
steps:
- name: "pull release library code"
uses: "actions/checkout@v4"
Expand Down Expand Up @@ -649,9 +649,9 @@ jobs:
mkdir -p images
mkdir -p plugins
platform="$(echo "${{ matrix.platform}}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")"
platform="$(echo "${{ matrix.arch}}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")"
echo "platform=${platform}" >> $GITHUB_OUTPUT
echo "platform_short=$(echo ${{ matrix.platform }} | cut -d / -f 2)" >> $GITHUB_OUTPUT
echo "platform_short=$(echo ${{ matrix.arch }} | cut -d / -f 2)" >> $GITHUB_OUTPUT
if [[ "${platform}" == "linux/arm64" ]]; then
echo "plugin_arch=-arm64" >> $GITHUB_OUTPUT
else
Expand All @@ -670,7 +670,7 @@ jobs:
context: "release"
file: "release/clients/cmd/docker-driver/Dockerfile"
outputs: "type=local,dest=release/plugins/loki-docker-driver-${{ needs.version.outputs.version}}-${{ steps.platform.outputs.platform }}"
platforms: "${{ matrix.platform }}"
platforms: "${{ matrix.arch }}"
push: false
tags: "${{ env.IMAGE_PREFIX }}/loki-docker-driver:${{ needs.version.outputs.version }}-${{ steps.platform.outputs.platform_short }}"
- if: "${{ fromJSON(needs.version.outputs.pr_created) }}"
Expand All @@ -689,7 +689,7 @@ jobs:
strategy:
fail-fast: true
matrix:
platform:
include:
- arch: "linux/amd64"
runs_on:
- "github-hosted-ubuntu-x64-small"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/patch-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ jobs:
loki-docker-driver:
needs:
- "version"
runs-on: "ubuntu-latest"
runs-on: "${{ matrix.runs_on }}"
steps:
- name: "pull release library code"
uses: "actions/checkout@v4"
Expand Down Expand Up @@ -649,9 +649,9 @@ jobs:
mkdir -p images
mkdir -p plugins
platform="$(echo "${{ matrix.platform}}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")"
platform="$(echo "${{ matrix.arch}}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")"
echo "platform=${platform}" >> $GITHUB_OUTPUT
echo "platform_short=$(echo ${{ matrix.platform }} | cut -d / -f 2)" >> $GITHUB_OUTPUT
echo "platform_short=$(echo ${{ matrix.arch }} | cut -d / -f 2)" >> $GITHUB_OUTPUT
if [[ "${platform}" == "linux/arm64" ]]; then
echo "plugin_arch=-arm64" >> $GITHUB_OUTPUT
else
Expand All @@ -670,7 +670,7 @@ jobs:
context: "release"
file: "release/clients/cmd/docker-driver/Dockerfile"
outputs: "type=local,dest=release/plugins/loki-docker-driver-${{ needs.version.outputs.version}}-${{ steps.platform.outputs.platform }}"
platforms: "${{ matrix.platform }}"
platforms: "${{ matrix.arch }}"
push: false
tags: "${{ env.IMAGE_PREFIX }}/loki-docker-driver:${{ needs.version.outputs.version }}-${{ steps.platform.outputs.platform_short }}"
- if: "${{ fromJSON(needs.version.outputs.pr_created) }}"
Expand All @@ -689,7 +689,7 @@ jobs:
strategy:
fail-fast: true
matrix:
platform:
include:
- arch: "linux/amd64"
runs_on:
- "github-hosted-ubuntu-x64-small"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ jobs:
buildDir: "release/clients/cmd/docker-driver"
imageDir: "plugins"
imagePrefix: "${{ env.IMAGE_PREFIX }}"
isLatest: "${{ needs.createRelease.outputs.isLatest }}"
isPlugin: true
publishImages:
needs:
Expand Down Expand Up @@ -186,6 +187,7 @@ jobs:
with:
imageDir: "images"
imagePrefix: "${{ env.IMAGE_PREFIX }}"
isLatest: "${{ needs.createRelease.outputs.isLatest }}"
publishRelease:
needs:
- "createRelease"
Expand Down
4 changes: 3 additions & 1 deletion docs/sources/send-data/promtail/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,9 @@ replace:
The `journal` block configures reading from the systemd journal from
Promtail. Requires a build of Promtail that has journal support _enabled_. If
using the AMD64 Docker image, this is enabled by default.
using the AMD64 Docker image, this is enabled by default. On some systems a
permission is needed for the user promtail to access journal logs.
For Ubuntu (24.04) you need to add `promtail` to the group `systemd-journal` with `sudo usermod -a -G systemd-journal promtail`.

```yaml
# When true, log messages from the journal are passed through the
Expand Down
Loading

0 comments on commit a9bc6c3

Please sign in to comment.