Skip to content

Commit

Permalink
v0.18.0
Browse files Browse the repository at this point in the history
Update to the latest specs:

- v1.30: 0.0.0 -> 1.30.0-beta.0
- v1.29: 0.0.0 -> 1.29.2
- v1.28: 0.0.0 -> 1.28.7
- v1.27: 1.27.0-beta.0 -> 1.27.11
- v1.26: 1.26.3 -> 1.26.14
- pre: 1.27.0-beta.0 -> 1.30.0-beta.0
- latest: 1.26.3 -> 1.29.2
  • Loading branch information
sernst committed Mar 13, 2024
1 parent 4f8b847 commit adc4f54
Show file tree
Hide file tree
Showing 336 changed files with 592,507 additions and 75,141 deletions.
39 changes: 10 additions & 29 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,28 @@ stages:
- check

black-lint:
image: python:3.11
image: python:3.12
stage: check
script:
- pip install black
- black --check .

flake8-lint:
image: python:3.11
image: python:3.12
stage: check
script:
- pip install flake8 flake8-black
- flake8 .

mypy-lint:
image: python:3.11
image: python:3.12
stage: check
script:
- pip install mypy
- mypy ./kuber --install-types --non-interactive --ignore-missing-imports

pytest-py38:
image: python:3.8
stage: check
script:
- pip install poetry
- poetry install
- >
poetry run
py.test
--verbose
--cov-report term-missing
--cov=.
.
artifacts:
paths:
- .coverage
- coverage.xml
expire_in: 1 day

pytest-py39:
image: python:3.9
pytest-py310:
image: python:3.10
stage: check
script:
- pip install poetry
Expand All @@ -60,8 +41,8 @@ pytest-py39:
- coverage.xml
expire_in: 1 day

pytest-py310:
image: python:3.10
pytest-py311:
image: python:3.11
stage: check
script:
- pip install poetry
Expand All @@ -79,8 +60,8 @@ pytest-py310:
- coverage.xml
expire_in: 1 day

pytest-py311:
image: python:3.11
pytest-py312:
image: python:3.12
stage: check
coverage: '/^TOTAL.*\s+\d+\s+\d+\s+(\d+)%/'
script:
Expand All @@ -105,7 +86,7 @@ pytest-py311:
expire_in: 1 day

sphinx-build:
image: python:3.11
image: python:3.12
stage: check
script:
- pip install poetry
Expand Down
36 changes: 18 additions & 18 deletions kuber/latest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import datetime as _datetime

from kuber import versioning as _versioning

# Information about the kubernetes API library version associated with this
# package and kuber metadata around its creation and labeling within the
# kuber library.
KUBERNETES_VERSION = _versioning.KubernetesVersion(
label="latest",
version="v1.26.3",
major="1",
minor="26",
patch="3",
pre_release="",
build="",
created_at=_datetime.datetime(2023, 3, 20),
commit_sha="9e644106593f3f4aa98f8a84b23db5fa378900bd",
)
import datetime as _datetime

from kuber import versioning as _versioning

# Information about the kubernetes API library version associated with this
# package and kuber metadata around its creation and labeling within the
# kuber library.
KUBERNETES_VERSION = _versioning.KubernetesVersion(
label="latest",
version="v1.29.2",
major="1",
minor="29",
patch="2",
pre_release="",
build="",
created_at=_datetime.datetime(2024, 3, 13),
commit_sha="4b8e819355d791d96b7e9d9efe4cbafae2311c88",
)
Loading

0 comments on commit adc4f54

Please sign in to comment.