Skip to content

Commit d083677

Browse files
author
Adrian Cole
committed
use helmfile
Signed-off-by: Adrian Cole <[email protected]>
1 parent c40453d commit d083677

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/test.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,11 @@ jobs:
5858
uses: helm/kind-action@v1
5959
if: steps.list-changed.outputs.changed == 'true'
6060

61-
# See https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#installing-the-operator
62-
- name: Install serviceMonitor CRD
63-
run: |
64-
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/${PROMETHEUS_OPERATOR_VERSION}/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
65-
env:
66-
PROMETHEUS_OPERATOR_VERSION: v0.72.0
61+
- name: Setup helmfile
62+
uses: mamezou-tech/setup-helmfile@v2
63+
64+
- name: Install prometheus
65+
run: helmfile -f charts/zipkin/ci/helmfile.yaml sync
6766

6867
- name: Run chart-testing (install)
6968
run: ct install

charts/zipkin/ci/helmfile.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
# install via `helmfile -f charts/zipkin/ci/helmfile.yaml sync`
3+
repositories:
4+
- name: prometheus-community
5+
url: https://prometheus-community.github.io/helm-charts
6+
7+
releases:
8+
- name: prometheus-stack
9+
namespace: monitoring
10+
createNamespace: true
11+
chart: prometheus-community/kube-prometheus-stack
12+

0 commit comments

Comments
 (0)