From 8b8d15ea293dcfcbf866e2c5c2f7b21f00cbb218 Mon Sep 17 00:00:00 2001 From: Giuseppe Tribulato Date: Thu, 12 Sep 2024 15:18:14 +0200 Subject: [PATCH 1/2] Document support for k8s v1.31 and remove v1.15 --- .github/workflows/python-package.yml | 4 ++-- README.md | 2 +- docs/resources-and-models.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 2e5b43a..ee1b0dc 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -54,7 +54,7 @@ jobs: strategy: fail-fast: false matrix: - k8s: [ '1.25', '1.29' ] + k8s: [ '1.26', '1.30' ] name: E2E test in K8s ${{ matrix.k8s }} runs-on: ubuntu-20.04 steps: @@ -62,7 +62,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/README.md b/README.md index e7cde65..0fd799f 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Modern lightweight kubernetes module for python * Models and resources generated from the swagger specifications using standard dataclasses. * Load/Dump resource objects from YAML. * Support for async/await -* Support for installing a specific version of the kubernetes models (1.15 to 1.30) +* Support for installing a specific version of the kubernetes models (1.16 to 1.31) * Lazy instantiation of inner models. * Fast startup and small memory footprint as only needed models and resources can be imported. * Automatic handling of pagination when listing resources. diff --git a/docs/resources-and-models.md b/docs/resources-and-models.md index 2ba593b..2eaea29 100644 --- a/docs/resources-and-models.md +++ b/docs/resources-and-models.md @@ -2,6 +2,7 @@ ## Reference lightkube-models +[1.31](https://gtsystem.github.io/lightkube-models/1.31), [1.30](https://gtsystem.github.io/lightkube-models/1.30), [1.29](https://gtsystem.github.io/lightkube-models/1.29), [1.28](https://gtsystem.github.io/lightkube-models/1.28), @@ -16,8 +17,7 @@ lightkube-models [1.19](https://gtsystem.github.io/lightkube-models/1.19), [1.18](https://gtsystem.github.io/lightkube-models/1.18), [1.17](https://gtsystem.github.io/lightkube-models/1.17), -[1.16](https://gtsystem.github.io/lightkube-models/1.16), -[1.15](https://gtsystem.github.io/lightkube-models/1.15). +[1.16](https://gtsystem.github.io/lightkube-models/1.16). ## Resources From f19b1f789ef37e30a34b36d17b6fdc2fcad629fa Mon Sep 17 00:00:00 2001 From: Giuseppe Tribulato Date: Thu, 12 Sep 2024 15:19:46 +0200 Subject: [PATCH 2/2] Move to artifacts-upload v4 --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ee1b0dc..6a580ac 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -45,9 +45,9 @@ jobs: run: | python setup.py sdist - name: Archive artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ matrix.python-version }} path: | dist e2e-test: