diff --git a/.bumpversion.toml b/.bumpversion.toml index 1b029993d926dd27e4186fd5a12d37db5c3d51c1..cc52bd7233f35e68db3dad13fb57aa9fca7f402c 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,6 +1,6 @@ [tool.bumpversion] commit = true -current_version = "2.0.3" +current_version = "2.0.4" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" replace = "{new_version}" search = "{current_version}" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc2103bd2075a4512f5797504b6b0294dd117ecb..16ab9288a3c9b5a0d1c22a22520a8671c8bd3204 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ include: - remote: 'https://gitlab.com/swepy/cicd-templates/docker-build/-/raw/0.2.0/templates/docker-build.yml' - - remote: 'https://gitlab.com/swepy/cicd-templates/pypi-to-docker-missing-version/-/raw/0.2.0/templates/pypi-to-docker-missing-version.yml' + - remote: 'https://gitlab.com/swepy/cicd-templates/pypi-to-docker-missing-version/-/raw/0.2.1/templates/pypi-to-docker-missing-version.yml' - remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.3/templates/release-by-changelog.yml' release_by_changelog: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e4fef716a83f0e8bac54f5573b7f029935d7570..64e7e3d90ed76c8e27740bf288df7c0e0d7a99f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.4] - 2024-07-13 + +* Update of CICD +* Update of README to match dockerhub + ## [2.0.3] - 2024-07-03 ### Fixed diff --git a/README.md b/README.md index e26e41e4a3a94514c4ccf5df1b1e75ee58b85fb3..d5ec52d896551db028b4bcca5b3d6fb9b0926d4f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,32 @@ -# Python Ruff +# Ruff Docker Image -Docker image for python with Ruff installed +[](https://docs.astral.sh/ruff/) +[](https://lab.frogg.it/swepy/containers/ruff/-/pipelines?ref=main) +[](https://lab.frogg.it/swepy/cicd-templates/ruff-docker-image/-/blob/main/LICENSE) + +[](https://lab.frogg.it/swepy/containers/ruff) +[](https://gitlab.com/swepy/containers/ruff) + +This Docker image provides a ready-to-use environment with Ruff installed. Ruff is a +highly efficient Python linter and code formatter that significantly speeds up code +checking and formatting tasks. Built with Rust, Ruff offers performance that is orders +of magnitude faster than traditional tools +like [Flake8](https://flake8.pycqa.org/en/latest/) +or [Black](https://black.readthedocs.io/en/stable/index.html). + +## Security + +### All versions + +[CVE-2018-20225â ](https://scout.docker.com/vulnerabilities/id/CVE-2018-20225): This only +affects use of the --extra-index-url option, which is not used to install ruff in the +image. + +## CICD + +We rely on GitLab CI components to build and release this image: + +[](https://gitlab.com/explore/catalog/swepy/cicd-templates/release-by-changelog) +[](https://gitlab.com/explore/catalog/swepy/cicd-templates/docker-build) +[](https://gitlab.com/explore/catalog/swepy/cicd-templates/pypi-to-docker-missing-version) +[](https://github.com/GoogleContainerTools/kaniko)