Add updates for Loki, Tempo and Minio
Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
parent
d6da6fec35
commit
e3c3f6a094
30
.github/configs/updatecli.d/loki.yaml
vendored
Normal file
30
.github/configs/updatecli.d/loki.yaml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Bump dependency "loki" for Helm chart "meta-monitoring"
|
||||||
|
sources:
|
||||||
|
loki:
|
||||||
|
name: Get latest "loki" Helm chart version
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
name: loki
|
||||||
|
url: https://grafana.github.io/helm-charts
|
||||||
|
versionfilter:
|
||||||
|
kind: semver
|
||||||
|
pattern: '*'
|
||||||
|
conditions:
|
||||||
|
loki:
|
||||||
|
name: Ensure Helm chart dependency "loki" is specified
|
||||||
|
kind: yaml
|
||||||
|
spec:
|
||||||
|
file: charts/meta-monitoring/Chart.yaml
|
||||||
|
key: $.dependencies[0].name
|
||||||
|
value: loki
|
||||||
|
disablesourceinput: true
|
||||||
|
targets:
|
||||||
|
loki:
|
||||||
|
name: Bump Helm chart dependency "loki" for Helm chart "meta-monitoring"
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
file: Chart.yaml
|
||||||
|
key: $.dependencies[0].version
|
||||||
|
name: charts/meta-monitoring
|
||||||
|
versionincrement: none
|
||||||
|
sourceid: loki
|
30
.github/configs/updatecli.d/minio.yaml
vendored
Normal file
30
.github/configs/updatecli.d/minio.yaml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Bump dependency "minio" for Helm chart "meta-monitoring"
|
||||||
|
sources:
|
||||||
|
minio:
|
||||||
|
name: Get latest "minio" Helm chart version
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
name: minio
|
||||||
|
url: https://charts.min.io
|
||||||
|
versionfilter:
|
||||||
|
kind: semver
|
||||||
|
pattern: '*'
|
||||||
|
conditions:
|
||||||
|
minio:
|
||||||
|
name: Ensure Helm chart dependency "minio" is specified
|
||||||
|
kind: yaml
|
||||||
|
spec:
|
||||||
|
file: charts/meta-monitoring/Chart.yaml
|
||||||
|
key: $.dependencies[4].name
|
||||||
|
value: minio
|
||||||
|
disablesourceinput: true
|
||||||
|
targets:
|
||||||
|
minio:
|
||||||
|
name: Bump Helm chart dependency "minio" for Helm chart "meta-monitoring"
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
file: Chart.yaml
|
||||||
|
key: $.dependencies[4].version
|
||||||
|
name: charts/meta-monitoring
|
||||||
|
versionincrement: none
|
||||||
|
sourceid: minio
|
30
.github/configs/updatecli.d/tempo-distributed
vendored
Normal file
30
.github/configs/updatecli.d/tempo-distributed
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Bump dependency "tempo-distributed" for Helm chart "meta-monitoring"
|
||||||
|
sources:
|
||||||
|
tempo-distributed:
|
||||||
|
name: Get latest "tempo-distributed" Helm chart version
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
name: tempo-distributed
|
||||||
|
url: https://grafana.github.io/helm-charts
|
||||||
|
versionfilter:
|
||||||
|
kind: semver
|
||||||
|
pattern: '*'
|
||||||
|
conditions:
|
||||||
|
tempo-distributed:
|
||||||
|
name: Ensure Helm chart dependency "tempo-distributed" is specified
|
||||||
|
kind: yaml
|
||||||
|
spec:
|
||||||
|
file: charts/meta-monitoring/Chart.yaml
|
||||||
|
key: $.dependencies[3].name
|
||||||
|
value: tempo-distributed
|
||||||
|
disablesourceinput: true
|
||||||
|
targets:
|
||||||
|
tempo-distributed:
|
||||||
|
name: Bump Helm chart dependency "tempo-distributed" for Helm chart "meta-monitoring"
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
file: Chart.yaml
|
||||||
|
key: $.dependencies[3].version
|
||||||
|
name: charts/meta-monitoring
|
||||||
|
versionincrement: none
|
||||||
|
sourceid: tempo-distributed
|
101
.github/workflows/check-for-dependency-updates.yaml
vendored
101
.github/workflows/check-for-dependency-updates.yaml
vendored
@ -16,6 +16,38 @@ env:
|
|||||||
UPDATECLI_GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
UPDATECLI_GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
updateLoki:
|
||||||
|
name: Update loki subchart
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Updatecli
|
||||||
|
uses: updatecli/updatecli-action@v2
|
||||||
|
|
||||||
|
- name: Run Updatecli
|
||||||
|
id: update-loki
|
||||||
|
run: |
|
||||||
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/alloy.yaml
|
||||||
|
if ! git diff --exit-code > /dev/null; then
|
||||||
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Create pull request
|
||||||
|
if: steps.update-loki.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update loki"
|
||||||
|
body: "Updates the loki subchart"
|
||||||
|
base: main
|
||||||
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
|
committer: "GitHub <noreply@github.com>"
|
||||||
|
commit-message: Update loki
|
||||||
|
labels: dependencies
|
||||||
|
branch: chore/update-loki
|
||||||
|
delete-branch: true
|
||||||
|
|
||||||
updateGrafanaAlloy:
|
updateGrafanaAlloy:
|
||||||
name: Update Grafana Alloy subchart
|
name: Update Grafana Alloy subchart
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
@ -34,10 +66,6 @@ jobs:
|
|||||||
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Install Helm
|
|
||||||
if: steps.update-grafana-alloy.outputs.changed == 'true'
|
|
||||||
uses: azure/setup-helm@v3
|
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
if: steps.update-grafana-alloy.outputs.changed == 'true'
|
if: steps.update-grafana-alloy.outputs.changed == 'true'
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v5
|
||||||
@ -83,3 +111,68 @@ jobs:
|
|||||||
labels: dependencies
|
labels: dependencies
|
||||||
branch: chore/update-mimir-distributed
|
branch: chore/update-mimir-distributed
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
|
||||||
|
updateTempoDistributed:
|
||||||
|
name: Update Tempo Distributed subchart
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Updatecli
|
||||||
|
uses: updatecli/updatecli-action@v2
|
||||||
|
|
||||||
|
- name: Run Updatecli
|
||||||
|
id: update-tempo-distributed
|
||||||
|
run: |
|
||||||
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/tempo-distributed.yaml
|
||||||
|
if ! git diff --exit-code > /dev/null; then
|
||||||
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Create pull request
|
||||||
|
if: steps.update-tempo-distributed.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update tempo Distributed"
|
||||||
|
body: "Updates the tempo Distributed subchart"
|
||||||
|
base: main
|
||||||
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
|
committer: "GitHub <noreply@github.com>"
|
||||||
|
commit-message: Update Tempo Distributed
|
||||||
|
labels: dependencies
|
||||||
|
branch: chore/update-tempo-distributed
|
||||||
|
delete-branch: true
|
||||||
|
|
||||||
|
|
||||||
|
updateMinio:
|
||||||
|
name: Update minio subchart
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Updatecli
|
||||||
|
uses: updatecli/updatecli-action@v2
|
||||||
|
|
||||||
|
- name: Run Updatecli
|
||||||
|
id: update-minio
|
||||||
|
run: |
|
||||||
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/minio.yaml
|
||||||
|
if ! git diff --exit-code > /dev/null; then
|
||||||
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Create pull request
|
||||||
|
if: steps.update-minio.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update minio"
|
||||||
|
body: "Updates the minio subchart"
|
||||||
|
base: main
|
||||||
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
|
committer: "GitHub <noreply@github.com>"
|
||||||
|
commit-message: Update minio
|
||||||
|
labels: dependencies
|
||||||
|
branch: chore/update-minio
|
||||||
|
delete-branch: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user