Skip to content

Fix k3s path for grafana dashboard #415

Fix k3s path for grafana dashboard

Fix k3s path for grafana dashboard #415

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request: {}
jobs:
yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ibiqlik/action-yamllint@v3
with:
format: colored
strict: true
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: avto-dev/markdown-lint@v1
with:
args: /github/workspace
json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: limitusus/[email protected]
with:
pattern: \\.json$
dockerfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: src/main/docker/Dockerfile
verify:
runs-on: ubuntu-latest
if: ${{ github.ref != 'refs/heads/main' }}
strategy:
fail-fast: false
matrix:
image: [temurin, distroless]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: maven
- run: mvn -B -ntp verify -Dimage.tag.test=${{ matrix.image }} -Dk3s.skipRm
- name: Run kubectl logs -l app.kubernetes.io/name=keycloak
run: export KUBECONFIG=/home/runner/.kube/k3s-maven-plugin/mount/kubeconfig.yaml && kubectl logs -l app.kubernetes.io/name=keycloak --tail -1
if: ${{ failure() }}