forked from RemoteSync/grafana-meta-monitoring-chart
Compare commits
9 Commits
combine_ci
...
update_gra
Author | SHA1 | Date | |
---|---|---|---|
|
e9125d1a9c | ||
|
076685ef06 | ||
|
b0451d626e | ||
|
90e949e89a | ||
|
06e176e720 | ||
|
d4c886ba9d | ||
|
643e73f5f1 | ||
|
7e65f3d9c9 | ||
|
26e0ad0b85 |
30
.github/configs/updatecli.d/grafana.yaml
vendored
Normal file
30
.github/configs/updatecli.d/grafana.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Bump grafana version specified in the values.yaml
|
||||||
|
sources:
|
||||||
|
latestGrafanaRelease:
|
||||||
|
name: Get latest grafana release on Github
|
||||||
|
kind: githubrelease
|
||||||
|
spec:
|
||||||
|
owner: grafana
|
||||||
|
repository: grafana
|
||||||
|
token: '{{ requiredEnv "UPDATECLI_GITHUB_TOKEN" }}'
|
||||||
|
versionfilter:
|
||||||
|
kind: latest
|
||||||
|
transformers:
|
||||||
|
- trimprefix: "v"
|
||||||
|
conditions:
|
||||||
|
grafanaImagePublished:
|
||||||
|
name: Ensure the latest Grafana is published on DockerHub
|
||||||
|
kind: dockerimage
|
||||||
|
source-id: latestGrafanaRelease
|
||||||
|
spec:
|
||||||
|
image: "grafana/grafana"
|
||||||
|
targets:
|
||||||
|
grafana:
|
||||||
|
name: Update Grafana version in values.yaml
|
||||||
|
kind: helmchart
|
||||||
|
spec:
|
||||||
|
file: values.yaml
|
||||||
|
key: $.grafana.version
|
||||||
|
name: charts/meta-monitoring
|
||||||
|
versionincrement: none
|
||||||
|
sourceid: latestGrafanaRelease
|
150
.github/workflows/check-for-dependency-updates.yaml
vendored
150
.github/workflows/check-for-dependency-updates.yaml
vendored
@@ -16,7 +16,7 @@ env:
|
|||||||
UPDATECLI_GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
UPDATECLI_GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
updateVersions:
|
updateLoki:
|
||||||
name: Update the Loki subchart
|
name: Update the Loki subchart
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Install Updatecli
|
- name: Install Updatecli
|
||||||
uses: updatecli/updatecli-action@v2
|
uses: updatecli/updatecli-action@v2
|
||||||
|
|
||||||
- name: Run Updatecli for Loki
|
- name: Run Updatecli
|
||||||
id: update-loki
|
id: update-loki
|
||||||
run: |
|
run: |
|
||||||
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/loki.yaml
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/loki.yaml
|
||||||
@@ -34,7 +34,31 @@ jobs:
|
|||||||
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run Updatecli for Alloy
|
- name: Create pull request
|
||||||
|
if: steps.update-loki.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update the Loki subchart"
|
||||||
|
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:
|
||||||
|
name: Update the Grafana Alloy 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-grafana-alloy
|
id: update-grafana-alloy
|
||||||
run: |
|
run: |
|
||||||
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/alloy.yaml
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/alloy.yaml
|
||||||
@@ -42,7 +66,31 @@ jobs:
|
|||||||
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run Updatecli for Mimir
|
- name: Create pull request
|
||||||
|
if: steps.update-grafana-alloy.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update the Grafana Alloy subchart"
|
||||||
|
body: "Updates the Grafana Alloy subchart"
|
||||||
|
base: main
|
||||||
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
|
committer: "GitHub <noreply@github.com>"
|
||||||
|
commit-message: Update Grafana Alloy
|
||||||
|
labels: dependencies
|
||||||
|
branch: chore/update-grafana-alloy
|
||||||
|
delete-branch: true
|
||||||
|
|
||||||
|
updateMimirDistributed:
|
||||||
|
name: Update the 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
|
id: update-mimir-distributed
|
||||||
run: |
|
run: |
|
||||||
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/mimir-distributed.yaml
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/mimir-distributed.yaml
|
||||||
@@ -50,7 +98,31 @@ jobs:
|
|||||||
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run Updatecli for Tempo
|
- name: Create pull request
|
||||||
|
if: steps.update-mimir-distributed.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update the Mimir Distributed subchart"
|
||||||
|
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
|
||||||
|
|
||||||
|
updateTempoDistributed:
|
||||||
|
name: Update the 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
|
id: update-tempo-distributed
|
||||||
run: |
|
run: |
|
||||||
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/tempo-distributed.yaml
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/tempo-distributed.yaml
|
||||||
@@ -58,7 +130,31 @@ jobs:
|
|||||||
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run Updatecli for Minio
|
- name: Create pull request
|
||||||
|
if: steps.update-tempo-distributed.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update the Tempo Distributed subchart"
|
||||||
|
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 the 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
|
id: update-minio
|
||||||
run: |
|
run: |
|
||||||
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/minio.yaml
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/minio.yaml
|
||||||
@@ -67,15 +163,47 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
if: steps.update-loki.outputs.changed == 'true' || steps.update-grafana-alloy.outputs.changed == 'true' || steps.update-mimir-distributed.outputs.changed == 'true' || steps.update-tempo-distributed.outputs.changed == 'true' || steps.update-minio.outputs.changed == 'true'
|
if: steps.update-minio.outputs.changed == 'true'
|
||||||
uses: peter-evans/create-pull-request@v5
|
uses: peter-evans/create-pull-request@v5
|
||||||
with:
|
with:
|
||||||
title: "[dependency] Update the subcharts"
|
title: "[dependency] Update the Minio subchart"
|
||||||
body: "Updates the subcharts"
|
body: "Updates the Minio subchart"
|
||||||
base: main
|
base: main
|
||||||
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
committer: "GitHub <noreply@github.com>"
|
committer: "GitHub <noreply@github.com>"
|
||||||
commit-message: Update dependencies
|
commit-message: Update minio
|
||||||
labels: dependencies
|
labels: dependencies
|
||||||
branch: chore/update-dependencies
|
branch: chore/update-minio
|
||||||
|
delete-branch: true
|
||||||
|
|
||||||
|
updateGrafana:
|
||||||
|
name: Update the Grafana version
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Updatecli
|
||||||
|
uses: updatecli/updatecli-action@v2
|
||||||
|
|
||||||
|
- name: Run Updatecli
|
||||||
|
id: update-grafana
|
||||||
|
run: |
|
||||||
|
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/grafana.yaml
|
||||||
|
if ! git diff --exit-code > /dev/null; then
|
||||||
|
echo "changed=true" >> "${GITHUB_OUTPUT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Create pull request
|
||||||
|
if: steps.update-grafana.outputs.changed == 'true'
|
||||||
|
uses: peter-evans/create-pull-request@v5
|
||||||
|
with:
|
||||||
|
title: "[dependency] Update the Grafana version"
|
||||||
|
body: "Updates the Grafana version"
|
||||||
|
base: main
|
||||||
|
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
||||||
|
committer: "GitHub <noreply@github.com>"
|
||||||
|
commit-message: Update Grafana version
|
||||||
|
labels: dependencies
|
||||||
|
branch: chore/update-minio
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
@@ -10,9 +10,9 @@ dependencies:
|
|||||||
version: 5.3.0
|
version: 5.3.0
|
||||||
- name: tempo-distributed
|
- name: tempo-distributed
|
||||||
repository: https://grafana.github.io/helm-charts
|
repository: https://grafana.github.io/helm-charts
|
||||||
version: 1.9.7
|
version: 1.9.5
|
||||||
- name: minio
|
- name: minio
|
||||||
repository: https://charts.min.io
|
repository: https://charts.min.io
|
||||||
version: 5.2.0
|
version: 5.2.0
|
||||||
digest: sha256:297f462812b6436834d8b82a028840bd55bd9e935b3d0a3e8206ac54a113be01
|
digest: sha256:6244c08b5829d6dbd363b736e55c5182274d65191672e7aeecaf3bb62f3f34fb
|
||||||
generated: "2024-05-07T09:22:16.438693788Z"
|
generated: "2024-05-07T07:02:47.839270709Z"
|
||||||
|
@@ -33,7 +33,7 @@ dependencies:
|
|||||||
condition: local.metrics.enabled
|
condition: local.metrics.enabled
|
||||||
- name: tempo-distributed
|
- name: tempo-distributed
|
||||||
repository: https://grafana.github.io/helm-charts
|
repository: https://grafana.github.io/helm-charts
|
||||||
version: 1.9.7
|
version: 1.9.5
|
||||||
condition: local.traces.enabled
|
condition: local.traces.enabled
|
||||||
- name: minio
|
- name: minio
|
||||||
repository: https://charts.min.io
|
repository: https://charts.min.io
|
||||||
|
BIN
charts/meta-monitoring/charts/tempo-distributed-1.9.5.tgz
Normal file
BIN
charts/meta-monitoring/charts/tempo-distributed-1.9.5.tgz
Normal file
Binary file not shown.
Binary file not shown.
@@ -32,7 +32,7 @@ spec:
|
|||||||
- 0
|
- 0
|
||||||
containers:
|
containers:
|
||||||
- name: grafana
|
- name: grafana
|
||||||
image: grafana/grafana:10.0.0
|
image: grafana/grafana:{{- .Values.grafana.version }}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
|
@@ -31,6 +31,7 @@ local:
|
|||||||
enabled: false # This should be set to true if any of the previous is enabled
|
enabled: false # This should be set to true if any of the previous is enabled
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
|
version: 10.0.0
|
||||||
# Gateway ingress configuration
|
# Gateway ingress configuration
|
||||||
ingress:
|
ingress:
|
||||||
# -- Specifies whether an ingress for the gateway should be created
|
# -- Specifies whether an ingress for the gateway should be created
|
||||||
|
Reference in New Issue
Block a user