Skip to content

Commit cc63915

Browse files
author
Marcelo Amaral
committed
github:workflows: update integration test to deploy prometheus via cluster-up
Signed-off-by: Marcelo Amaral <[email protected]>
1 parent e1f6b23 commit cc63915

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/integration_test.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,23 @@ jobs:
1616
- uses: actions/setup-go@main
1717
with:
1818
go-version: 1.18
19+
1920
- name: install kubectl
2021
run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
22+
2123
- name: start local k8s cluster
2224
run: make cluster-up
2325
env:
2426
CLUSTER_PROVIDER: ${{matrix.kube_provider}}
25-
- name: Checkout kube-operator repo
26-
uses: actions/checkout@v3
27-
with:
28-
repository: prometheus-operator/kube-prometheus
29-
path: kube-prometheus
30-
- name: deploy kube operator
31-
run: ls && kubectl create -f manifests/setup && until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done && kubectl create -f manifests/
32-
working-directory: kube-prometheus
27+
PROMETHEUS_ENABLE: "true"
28+
GRAFANA_ENABLE: "false"
29+
3330
- name: simple test - deploy kepler
3431
run: make cluster-sync
3532
env:
3633
CLUSTER_PROVIDER: ${{matrix.kube_provider}}
3734
CTR_CMD: docker
35+
3836
- name: Login to Quay
3937
if: github.event_name == 'push'
4038
uses: docker/login-action@v1

0 commit comments

Comments
 (0)