Skip to content

Commit

Permalink
[dependency] Update dependency "alloy" for Helm chart "k8s-monitoring…
Browse files Browse the repository at this point in the history
…" to 0.9.2 (#803)

* Update Update dependency "alloy" for Helm chart "k8s-monitoring" to 0.9.2

Signed-off-by: Pete Wall <pete.wall@grafana.com>

* Improve the dependency check to only fire if the specific file changed

Signed-off-by: Pete Wall <pete.wall@grafana.com>

---------

Signed-off-by: Pete Wall <pete.wall@grafana.com>
Co-authored-by: petewall <petewall@users.noreply.github.com>
Co-authored-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent eafe32e commit e65704d
Show file tree
Hide file tree
Showing 41 changed files with 643 additions and 641 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/check-for-dependency-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,25 @@ jobs:
- name: Install Updatecli
uses: updatecli/updatecli-action@v2

- name: Get details
id: get-details
run: |
chart="$(basename "$(dirname "${{ matrix.config }}")")"
depName="$(basename "${{ matrix.config }}" | sed -e "s/.updatecli-\(.*\)\.yaml/\1/")"
versionPath="$(yq eval '.targets.*.spec.key' "${{ matrix.config }}" | head -n 1 | cut -c2-)"
version="$(yq eval "${versionPath}" "$(dirname "${{ matrix.config }}")/Chart.yaml")"
{
echo "title=$(yq eval ".name" "${{ matrix.config }}")"
echo "branch=chore/update-${chart}-${depName}"
echo "depChart=$(dirname "${{ matrix.config }}")/charts/${depName}-${version}.tgz"
echo "version=${version}" >> "${GITHUB_OUTPUT}"
} >> "${GITHUB_OUTPUT}"
- name: Run Updatecli
id: update-dependency
run: |
updatecli apply --config "${{ matrix.config }}"
if ! git diff --exit-code > /dev/null; then
if ! git diff --exit-code "${{ steps.get-details.outputs.depChart }}" > /dev/null; then
echo "changed=true" >> "${GITHUB_OUTPUT}"
fi
Expand All @@ -67,18 +81,6 @@ jobs:
if: steps.update-dependency.outputs.changed == 'true'
run: make -C "$(dirname "${{ matrix.config }}")" clean build

- name: Get details
id: get-details
run: |
echo "title=$(yq eval ".name" "${{ matrix.config }}")" >> "${GITHUB_OUTPUT}"
versionPath="$(yq eval '.targets.*.spec.key' "${{ matrix.config }}" | head -n 1 | cut -c2-)"
echo "version=$(yq eval "${versionPath}" "$(dirname "${{ matrix.config }}")/Chart.yaml")" >> "${GITHUB_OUTPUT}"
chart="$(basename "$(dirname "${{ matrix.config }}")")" >> "${GITHUB_OUTPUT}"
dep="$(basename "${{ matrix.config }}" | sed -e "s/.updatecli-\(.*\)\.yaml/\1/")"
echo "branch=chore/update-${chart}-${dep}" >> "${GITHUB_OUTPUT}"
- name: Create pull request
if: steps.update-dependency.outputs.changed == 'true'
uses: peter-evans/create-pull-request@v7
Expand Down
14 changes: 7 additions & 7 deletions charts/k8s-monitoring/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ dependencies:
version: 1.0.0
- name: alloy
repository: https://grafana.github.io/helm-charts
version: 0.9.1
version: 0.9.2
- name: alloy
repository: https://grafana.github.io/helm-charts
version: 0.9.1
version: 0.9.2
- name: alloy
repository: https://grafana.github.io/helm-charts
version: 0.9.1
version: 0.9.2
- name: alloy
repository: https://grafana.github.io/helm-charts
version: 0.9.1
version: 0.9.2
- name: alloy
repository: https://grafana.github.io/helm-charts
version: 0.9.1
digest: sha256:4cac24fb5b4c8dba5508a79980ae781c65da75bcf2a279967bc8c5d7f9e4fad4
generated: "2024-10-28T18:15:53.905284-05:00"
version: 0.9.2
digest: sha256:96e2aabc44df7e2967da85bec1eb82f599d52c8a20319369affdbc38e1f19901
generated: "2024-10-31T15:31:12.330041-05:00"
10 changes: 5 additions & 5 deletions charts/k8s-monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,26 @@ dependencies:
condition: prometheusOperatorObjects.enabled
- alias: alloy-metrics
name: alloy
version: 0.9.1
version: 0.9.2
repository: https://grafana.github.io/helm-charts
condition: alloy-metrics.enabled
- alias: alloy-singleton
name: alloy
version: 0.9.1
version: 0.9.2
repository: https://grafana.github.io/helm-charts
condition: alloy-singleton.enabled
- alias: alloy-logs
name: alloy
version: 0.9.1
version: 0.9.2
repository: https://grafana.github.io/helm-charts
condition: alloy-logs.enabled
- alias: alloy-receiver
name: alloy
version: 0.9.1
version: 0.9.2
repository: https://grafana.github.io/helm-charts
condition: alloy-receiver.enabled
- alias: alloy-profiles
name: alloy
version: 0.9.1
version: 0.9.2
repository: https://grafana.github.io/helm-charts
condition: alloy-profiles.enabled
10 changes: 5 additions & 5 deletions charts/k8s-monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ podLogs:
| file://../feature-pod-logs | podLogs(k8s-monitoring-feature-pod-logs) | 1.0.0 |
| file://../feature-profiling | profiling(k8s-monitoring-feature-profiling) | 1.0.0 |
| file://../feature-prometheus-operator-objects | prometheusOperatorObjects(k8s-monitoring-feature-prometheus-operator-objects) | 1.0.0 |
| https://grafana.github.io/helm-charts | alloy-metrics(alloy) | 0.9.1 |
| https://grafana.github.io/helm-charts | alloy-singleton(alloy) | 0.9.1 |
| https://grafana.github.io/helm-charts | alloy-logs(alloy) | 0.9.1 |
| https://grafana.github.io/helm-charts | alloy-receiver(alloy) | 0.9.1 |
| https://grafana.github.io/helm-charts | alloy-profiles(alloy) | 0.9.1 |
| https://grafana.github.io/helm-charts | alloy-metrics(alloy) | 0.9.2 |
| https://grafana.github.io/helm-charts | alloy-singleton(alloy) | 0.9.2 |
| https://grafana.github.io/helm-charts | alloy-logs(alloy) | 0.9.2 |
| https://grafana.github.io/helm-charts | alloy-receiver(alloy) | 0.9.2 |
| https://grafana.github.io/helm-charts | alloy-profiles(alloy) | 0.9.2 |
<!-- markdownlint-enable no-bare-urls -->

## Values
Expand Down
Binary file removed charts/k8s-monitoring/charts/alloy-0.9.1.tgz
Binary file not shown.
Binary file added charts/k8s-monitoring/charts/alloy-0.9.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
70 changes: 35 additions & 35 deletions charts/k8s-monitoring/docs/examples/auth/bearer-token/output.yaml

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

Loading

0 comments on commit e65704d

Please sign in to comment.