Skip to content

Commit

Permalink
Update Helm release loki-stack to v2.8.8 (#1118)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [loki-stack](https://grafana.com/loki)
([source](https://togithub.com/grafana/helm-charts)) | patch | `2.8.7`
-> `2.8.8` |

---

### Release Notes

<details>
<summary>grafana/helm-charts</summary>

###
[`v2.8.8`](https://togithub.com/grafana/helm-charts/releases/tag/loki-stack-2.8.8)

[Compare
Source](https://togithub.com/grafana/helm-charts/compare/loki-stack-2.8.7...loki-stack-2.8.8)

Loki: like Prometheus, but for logs.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/defenseunicorns/zarf).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNTQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Megamind <[email protected]>
  • Loading branch information
4 people authored Dec 15, 2022
1 parent 2ca10ab commit d2babf3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/logging-pgl/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ components:
- name: logging
description: "Add Promtail, Grafana and Loki (PGL) to this cluster for log monitoring."
images:
- docker.io/grafana/promtail:2.6.1
- docker.io/grafana/promtail:2.7.0
- grafana/grafana:8.3.5
- grafana/loki:2.6.1
- quay.io/kiwigrid/k8s-sidecar:1.19.2
Expand All @@ -19,7 +19,7 @@ components:
- name: loki-stack
releaseName: zarf-loki-stack
url: https://grafana.github.io/helm-charts
version: 2.8.7
version: 2.8.8
namespace: zarf
valuesFiles:
- pgl-values.yaml
16 changes: 16 additions & 0 deletions src/test/e2e/20_zarf_init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@ func TestZarfInit(t *testing.T) {
_, _, err := utils.ExecCommandWithContext(ctx, true, e2e.zarfBinPath, "init", "--components="+initComponents, "--confirm")
require.NoError(t, err)

// Check that gitea is actually running and healthy
stdOut, _, err := utils.ExecCommandWithContext(ctx, true, "kubectl", "get", "pods", "-l", "app in (gitea)", "-n", "zarf", "-o", "jsonpath={.items[*].status.phase}")
require.NoError(t, err)
require.Contains(t, stdOut, "Running")

// Check that the logging stack is actually running and healthy
stdOut, _, err = utils.ExecCommandWithContext(ctx, true, "kubectl", "get", "pods", "-l", "app in (loki)", "-n", "zarf", "-o", "jsonpath={.items[*].status.phase}")
require.NoError(t, err)
require.Contains(t, stdOut, "Running")
stdOut, _, err = utils.ExecCommandWithContext(ctx, true, "kubectl", "get", "pods", "-l", "app.kubernetes.io/name in (grafana)", "-n", "zarf", "-o", "jsonpath={.items[*].status.phase}")
require.NoError(t, err)
require.Contains(t, stdOut, "Running")
stdOut, _, err = utils.ExecCommandWithContext(ctx, true, "kubectl", "get", "pods", "-l", "app.kubernetes.io/name in (promtail)", "-n", "zarf", "-o", "jsonpath={.items[*].status.phase}")
require.NoError(t, err)
require.Contains(t, stdOut, "Running")

// Special sizing-hacking for reducing resources where Kind + CI eats a lot of free cycles (ignore errors)
_, _, _ = utils.ExecCommandWithContext(ctx, true, "kubectl", "scale", "deploy", "-n", "kube-system", "coredns", "--replicas=1")
_, _, _ = utils.ExecCommandWithContext(ctx, true, "kubectl", "scale", "deploy", "-n", "zarf", "agent-hook", "--replicas=1")
Expand Down

0 comments on commit d2babf3

Please sign in to comment.