Skip to content

chore(deps): update prometheus-stack #5319

chore(deps): update prometheus-stack

chore(deps): update prometheus-stack #5319

# Copyright 2024-2026 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
name: Slim Dev
# This workflow is triggered on pull requests
on:
pull_request:
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow).
# labeled is added to support renovate-ready labelling on PRs
types: [milestoned, labeled, opened, reopened, synchronize]
paths:
- src/pepr/**
- src/keycloak/**
- src/authservice/**
- src/istio/**
- src/prometheus-stack/**
- packages/base/**
- packages/identity-authorization/**
- bundles/k3d-slim-dev/**
- .github/workflows/slim-dev**
- tasks/test.yaml
- "!**/*.md"
- "!**.jpg"
- "!**.png"
- "!**.gif"
- "!**.svg"
# Permissions for the GITHUB_TOKEN used by the workflow.
permissions:
id-token: write # Needed for OIDC-related operations.
contents: read # Allows reading the content of the repository.
# Default settings for all run commands in the workflow jobs.
defaults:
run:
shell: bash -e -o pipefail {0} # Ensures that scripts fail on error and pipefail is set.
# Abort prior jobs in the same workflow / PR
concurrency:
group: test-slim-dev-${{ github.ref }}
cancel-in-progress: true
jobs:
routing:
runs-on: ubuntu-latest
outputs:
run_full_tests: ${{ steps.test-routing.outputs.run_full_tests }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Compute test routing
id: test-routing
uses: ./.github/actions/test-routing
with:
event_name: ${{ github.event_name }}
base_ref: ${{ github.base_ref }}
head_ref: ${{ github.head_ref }}
lint-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: lint-check
uses: ./.github/actions/lint-check
autogenerated-check:
needs: routing
if: ${{ needs.routing.outputs.run_full_tests == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: autogenerated-check
uses: ./.github/actions/autogenerated-check
# This job runs the slim-dev bundle create/deploy process.
test:
name: Test
runs-on: ubuntu-latest
needs: [routing, lint-check, autogenerated-check]
if: ${{ needs.routing.outputs.run_full_tests == 'true' }}
permissions:
id-token: write # Needed for OIDC-related operations.
contents: read # Allows reading the content of the repository.
pull-requests: write # Allows writing to pull requests (needed for renovate-readiness)
steps:
- name: Checkout the code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check renovate readiness
if: startsWith(github.event.pull_request.head.ref, 'renovate/') # Only call for Renovate PRs
uses: ./.github/actions/renovate-readiness
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Environment setup
uses: ./.github/actions/setup
with:
ghToken: ${{ secrets.GITHUB_TOKEN }}
installK3d: 'true'
- name: Clean up space on the GitHub runner
continue-on-error: true
shell: bash
run: |
sudo rm -rf /usr/local/lib/android /opt/ghc /usr/share/dotnet /opt/hostedtoolcache/CodeQL || true
- name: Deploy Slim Dev Bundle
run: uds run slim-dev --no-progress
- name: Test Slim Dev Bundle
run: uds run test:slim-dev --no-progress
- name: Debug Output
if: ${{ always() }}
uses: ./.github/actions/debug-output
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
suffix: -slim-dev