This commit is contained in:
Philippe Merle
2026-02-26 08:59:30 +01:00
3 changed files with 5 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ on:
paths:
- 'bin/**'
- Dockerfile
workflow_dispatch:
permissions:
contents: read

View File

@@ -6,6 +6,7 @@ on:
- .pylintrc
- bin/kube-diagrams
- '**.py'
workflow_dispatch:
permissions:
contents: read
@@ -24,6 +25,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install -y graphviz graphviz-dev
python -m pip install --upgrade pip
pip install pylint setuptools PyYAML diagrams graphviz2drawio
- name: Analysing the code with pylint

View File

@@ -2,7 +2,9 @@ FROM docker.io/alpine/helm:3 AS helm
FROM docker.io/python:3.13-alpine AS base
RUN apk update && apk add graphviz bash
RUN apk add --no-cache build-base graphviz-dev
RUN pip install --upgrade pip && pip install PyYAML diagrams graphviz2drawio
RUN apk del build-base graphviz-dev
ADD bin /usr/local/bin/
COPY --from=helm /usr/bin/helm /usr/local/bin/helm
WORKDIR /work