From 009d9b15e0b014affbb874fee7489ea806ff2557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20W=C3=B3jcik?= Date: Wed, 29 May 2024 21:43:59 +0200 Subject: [PATCH] v1.2.1 --- .gitea/workflows/cd.yaml | 11 +++++++++++ .gitea/workflows/checks.yaml | 27 +++++++++++++++++++++++++++ CHANGELOG.md | 5 +++++ README.md | 2 +- docs/source/conf.py | 4 ++-- keep_it_secret/__init__.py | 2 +- pyproject.toml | 2 +- 7 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 .gitea/workflows/cd.yaml create mode 100644 .gitea/workflows/checks.yaml diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml new file mode 100644 index 0000000..d63e3af --- /dev/null +++ b/.gitea/workflows/cd.yaml @@ -0,0 +1,11 @@ +name: "CD" + +on: + push: + branches: + - "release" + +jobs: + checks: + name: "Checks" + uses: "./.gitea/workflows/checks.yaml" diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml new file mode 100644 index 0000000..02ae6ae --- /dev/null +++ b/.gitea/workflows/checks.yaml @@ -0,0 +1,27 @@ +name: "Checks" +on: + workflow_call: + +jobs: + run-checks: + name: "Run checks" + runs-on: "ubuntu-latest" + steps: + - name: "Check out the code" + uses: "actions/checkout@v4" + - name: "Set up Python 3.10" + uses: "actions/setup-python@v5" + with: + python-version: "3.10" + - name: "Set up poetry" + uses: "Gr1N/setup-poetry@v8" + with: + poetry-version: "1.7.1" + - name: "Install deps" + run: | + set -x + poetry install + - name: "Run CI task" + run: | + set -x + poetry run inv ci diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d04f8..cca3d79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## Keep It Secret Changelog +#### v1.2.1 (2024-05-29) + +* Gitea Actions integration. +* `README.md` language fixes. + #### v1.2.0 (2024-02-08) * Hashicorp Vault integration. diff --git a/README.md b/README.md index b473906..ab6827b 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ to provide secrets suitable for the development environment: ``` The `ProductionSecrets` class uses environment variables and AWS Secrets -Manager to provide secrets suitable for the development environment: +Manager to provide secrets suitable for the production environment: ``` >>> production_secrets = ProductionSecrets() diff --git a/docs/source/conf.py b/docs/source/conf.py index 6e52e26..d81d0db 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,10 +11,10 @@ project = 'Keep It Secret' copyright = '2023-present Tomek Wójcik' author = 'Tomek Wójcik' -version = '1.2.0' +version = '1.2.1' # The full version, including alpha/beta/rc tags -release = '1.2.0' +release = '1.2.1' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/keep_it_secret/__init__.py b/keep_it_secret/__init__.py index 50ffe5f..4ba9e71 100644 --- a/keep_it_secret/__init__.py +++ b/keep_it_secret/__init__.py @@ -6,7 +6,7 @@ from .fields import ( # noqa: F401 ) from .secrets import Secrets # noqa: F401 -__version__ = '1.2.0' +__version__ = '1.2.1' __all__ = [ 'AbstractField', diff --git a/pyproject.toml b/pyproject.toml index 23f024a..32c1191 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "keep-it-secret" -version = "1.2.0" +version = "1.2.1" description = "Keep It Secret by BTHLabs" authors = ["Tomek Wójcik "] maintainers = ["BTHLabs "]