Update Mimir subschart
Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
parent
a0184e27d0
commit
ed31bcf345
2
.github/configs/updatecli.d/alloy.yaml
vendored
2
.github/configs/updatecli.d/alloy.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
ame: Bump dependency "alloy" for Helm chart "meta-monitoring"
|
name: Bump dependency "alloy" for Helm chart "meta-monitoring"
|
||||||
sources:
|
sources:
|
||||||
alloy:
|
alloy:
|
||||||
name: Get latest "alloy" Helm chart version
|
name: Get latest "alloy" Helm chart version
|
||||||
|
30
.github/configs/updatecli.d/mimir-distributed.yaml
vendored
Normal file
30
.github/configs/updatecli.d/mimir-distributed.yaml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Bump dependency "mimir-distributed" for Helm chart "meta-monitoring"
|
||||||
|
sources:
|
||||||
|
mimir-distributed:
|
||||||
|
name: Get latest "mimir-distributed" Helm chart version
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
name: mimir-distributed
|
||||||
|
url: https://grafana.github.io/helm-charts
|
||||||
|
versionfilter:
|
||||||
|
kind: semver
|
||||||
|
pattern: '*'
|
||||||
|
conditions:
|
||||||
|
mimir-distributed:
|
||||||
|
name: Ensure Helm chart dependency "mimir-distributed" is specified
|
||||||
|
kind: yaml
|
||||||
|
spec:
|
||||||
|
file: charts/meta-monitoring/Chart.yaml
|
||||||
|
key: $.dependencies[2].name
|
||||||
|
value: mimir-distributed
|
||||||
|
disablesourceinput: true
|
||||||
|
targets:
|
||||||
|
mimir-distributed:
|
||||||
|
name: Bump Helm chart dependency "mimir-distributed" for Helm chart "meta-monitoring"
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
file: Chart.yaml
|
||||||
|
key: $.dependencies[2].version
|
||||||
|
name: charts/meta-monitoring
|
||||||
|
versionincrement: none
|
||||||
|
sourceid: mimir-distributed
|
@ -17,7 +17,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
updateGrafanaAlloy:
|
updateGrafanaAlloy:
|
||||||
name: Update Grafana Alloy
|
name: Update Grafana Alloy subchart
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -51,3 +51,35 @@ jobs:
|
|||||||
labels: dependencies
|
labels: dependencies
|
||||||
branch: chore/update-grafana-alloy
|
branch: chore/update-grafana-alloy
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
|
||||||
|
updateMimirDistributed:
|
||||||
|
name: Update Mimir 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-mimir-distributed
|
||||||
|
run: |
|
||||||
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/mimir-distributed.yaml
|
||||||
|
if ! git diff --exit-code > /dev/null; then
|
||||||
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Create pull request
|
||||||
|
if: steps.update-mimir-distributed.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update Mimir Distributed"
|
||||||
|
body: "Updates the Mimir Distributed subchart"
|
||||||
|
base: main
|
||||||
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
|
committer: "GitHub <noreply@github.com>"
|
||||||
|
commit-message: Update Mimir Distributed
|
||||||
|
labels: dependencies
|
||||||
|
branch: chore/update-mimir-distributed
|
||||||
|
delete-branch: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user