Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@ jobs:

- name: 🚀 Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true

docker:
name: 🐳 Docker Multi-Platform
runs-on: ubuntu-latest
needs: release
needs: [release]
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -164,6 +166,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}


- name: 🔐 Login to GHCR
uses: docker/login-action@v3
Expand All @@ -181,7 +184,7 @@ jobs:
ghcr.io/${{ github.repository }}
tags: |
type=ref,event=tag
type=sha,prefix={{branch}}-
type=sha

- name: 🐳 Build & Push Multi-Platform
uses: docker/build-push-action@v6
Expand All @@ -193,6 +196,13 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: 📝 Sync Docker Hub README
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: keynetra/keynetra

- name: 📊 Docker Summary
if: always()
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v0.1.0
## v0.1.1

Initial public release of the KeyNetra authorization engine.

Expand Down
2 changes: 1 addition & 1 deletion DEPLOYMENT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deployment Guide

This guide documents supported deployment paths for KeyNetra v0.1.0-beta.
This guide documents supported deployment paths for KeyNetra v0.1.1-beta.

## Prerequisites

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WORKDIR /app
RUN useradd --create-home --uid 10001 appuser

COPY requirements.lock /app/requirements.lock
RUN pip install --no-cache-dir -r /app/requirements.lock
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r /app/requirements.lock

COPY alembic.ini /app/alembic.ini
COPY alembic /app/alembic
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ keynetra doctor --service core
OpenAPI contracts:

- [`contracts/openapi/openapi.json`](./contracts/openapi/openapi.json)
- [`contracts/openapi/keynetra-v0.1.0.yaml`](./contracts/openapi/keynetra-v0.1.0.yaml)
- [`contracts/openapi/keynetra-v0.1.1.yaml`](./contracts/openapi/keynetra-v0.1.1.yaml)

## Multi-Tenant and Security

Expand Down Expand Up @@ -231,7 +231,7 @@ Apache-2.0. See [`LICENSE`](./LICENSE).
title = {KeyNetra},
author = {KeyNetra Community},
year = {2026},
version = {0.1.0-beta},
version = {0.1.1-beta},
url = {https://github.com/keynetra/keynetra}
}
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.1.0
info:
title: KeyNetra
version: 0.1.0
version: 0.1.1
paths:
/health:
get:
Expand Down
2 changes: 1 addition & 1 deletion contracts/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "KeyNetra",
"version": "0.1.0"
"version": "0.1.1"
},
"paths": {
"/health": {
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ helm upgrade --install keynetra ./deploy/helm/keynetra
```bash
helm upgrade --install keynetra ./deploy/helm/keynetra \
--set image.repository=ghcr.io/keynetra/keynetra \
--set image.tag=v0.1.0 \
--set image.tag=v0.1.1 \
--set env.KEYNETRA_DATABASE_URL=postgresql+psycopg://... \
--set env.KEYNETRA_REDIS_URL=redis://... \
--set env.KEYNETRA_STRICT_TENANCY=true \
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/keynetra/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: keynetra
description: Helm chart for KeyNetra authorization control plane
type: application
version: 0.1.0
appVersion: "0.1.0"
version: 0.1.1
appVersion: "0.1.1"
2 changes: 1 addition & 1 deletion deploy/helm/keynetra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ replicaCount: 2

image:
repository: ghcr.io/keynetra/keynetra
tag: v0.1.0
tag: v0.1.1
pullPolicy: IfNotPresent

service:
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: keynetra
image: ghcr.io/keynetra/keynetra:v0.1.0
image: ghcr.io/keynetra/keynetra:v0.1.1
imagePullPolicy: IfNotPresent
args: ["keynetra", "serve", "--host", "0.0.0.0", "--port", "8000"]
ports:
Expand Down
2 changes: 1 addition & 1 deletion keynetra/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.1.0"
version = "0.1.1"
__version__ = version

__all__ = ["version", "__version__"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "keynetra"
version = "0.1.0"
version = "0.1.1"
requires-python = ">=3.11"
description = " Open-source High-performance authorization engine for RBAC, ReBAC, and ACL. Multi-tenant policy engine"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from keynetra.main import create_app

CONTRACT_PATH = (
Path(__file__).resolve().parents[1] / "contracts" / "openapi" / "keynetra-v0.1.0.yaml"
Path(__file__).resolve().parents[1] / "contracts" / "openapi" / "keynetra-v0.1.1.yaml"
)


Expand Down
2 changes: 1 addition & 1 deletion tests/test_release_hardening.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def test_cli_surface_commands_cover_release_paths(

result = runner.invoke(app, ["version"])
assert result.exit_code == 0
assert "0.1.0" in result.stdout
assert "0.1.1" in result.stdout

recorded: dict[str, object] = {}

Expand Down
Loading