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
42 changes: 42 additions & 0 deletions .github/workflows/helm-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Validate public Helm release

on:
pull_request:
branches: [main]
paths:
- 'helm/**'
- '.github/workflows/release.yml'
- '.github/workflows/helm-ci.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azure/setup-helm@v4
with:
version: v3.17.3
- name: Validate manually gated release workflow
run: go run github.com/rhysd/actionlint/cmd/[email protected] -color .github/workflows/release.yml
- name: Lint and template official release chart
run: |
set -euo pipefail
helm lint helm/utu-engine
helm template utu-engine helm/utu-engine -n utu-engine > /tmp/utu.yaml
grep -q 'ghcr.io/utu-engine/platform:1.0.0' /tmp/utu.yaml
! grep -E 'TOOL_TESTING_LAB_ENABLED|UTU_FULL_TECHNICAL_AUDIT' /tmp/utu.yaml
- name: Reject hidden internal values
run: |
set -euo pipefail
if helm template utu-engine helm/utu-engine --set testingLab.enabled=true >/dev/null 2>&1; then
echo "Tool Testing Lab must not be configurable in production"
exit 1
fi
if helm template utu-engine helm/utu-engine --set internal.fullTechnicalAudit=true >/dev/null 2>&1; then
echo "Full Technical Audit must not be configurable in production"
exit 1
fi
162 changes: 162 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
name: Publish production release

# Ordinary development merges never run this workflow. The first release can
# be started by an explicit push to the one-time release/v1.0.0 branch.
# Future versions use only workflow_dispatch from GitHub Actions.
on:
workflow_dispatch:
inputs:
version:
description: Stable SemVer release (e.g. 1.0.1)
required: true
type: string
push:
branches: [release/v1.0.0]

permissions:
contents: write
packages: write

concurrency:
group: utu-stable-release
cancel-in-progress: false

jobs:
release:
if: github.repository == 'utu-engine/platform'
runs-on: ubuntu-latest
timeout-minutes: 35
env:
VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || '1.0.0' }}
TARGET: ghcr.io/utu-engine/platform
SOURCE_REPO: ghcr.io/eerkalin/incident-investigation-platform
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: azure/setup-helm@v4
with:
version: v3.17.3
- name: Validate requested release and public chart
shell: bash
run: |
set -euo pipefail
[[ "$VERSION" =~ ^[0-9]+[.][0-9]+[.][0-9]+$ ]]
test "$(sed -n 's/^version: //p' helm/utu-engine/Chart.yaml)" = "$VERSION"
test "$(sed -n 's/^appVersion: //p' helm/utu-engine/Chart.yaml | tr -d '"')" = "$VERSION"
grep -q "repository: ghcr.io/utu-engine/platform" helm/utu-engine/values.yaml
grep -q "tag: \"$VERSION\"" helm/utu-engine/values.yaml
grep -q "pullPolicy: IfNotPresent" helm/utu-engine/values.yaml
if grep -REq 'UTU_FULL_TECHNICAL_AUDIT|TOOL_TESTING_LAB_ENABLED|fullTechnicalAudit' helm/utu-engine/; then
echo "::error::Internal capability leaked into public chart"
exit 1
fi
helm lint helm/utu-engine
helm template utu-engine helm/utu-engine -n utu-engine > "$RUNNER_TEMP/utu-chart.yaml"
grep -q "ghcr.io/utu-engine/platform:$VERSION" "$RUNNER_TEMP/utu-chart.yaml"
if helm template utu-engine helm/utu-engine --set testingLab.enabled=true > /dev/null 2>&1; then
echo "::error::Tool Lab enabled by an unsupported chart override"; exit 1
fi
if helm template utu-engine helm/utu-engine --set internal.fullTechnicalAudit=true > /dev/null 2>&1; then
echo "::error::Full audit enabled by an unsupported chart override"; exit 1
fi
- name: Resolve an independently built candidate
shell: bash
run: |
set -euo pipefail
source_image="$SOURCE_REPO:release-$VERSION"
# Candidate image must be anonymously readable; public workflow
# must not receive source repo read tokens or credentials.
docker manifest inspect "$source_image" >/dev/null
source_digest="$(docker buildx imagetools inspect "$source_image" | awk '$1=="Digest:" {print $2;exit}')"
[[ "$source_digest" =~ ^sha256:[0-9a-f]{64}$ ]]
echo "SOURCE_IMAGE=$SOURCE_REPO@$source_digest" >> "$GITHUB_ENV"
echo "SOURCE_DIGEST=$source_digest" >> "$GITHUB_ENV"
- name: Validate real image under attempted env override
shell: bash
run: |
set -euo pipefail
docker pull --platform linux/amd64 "$SOURCE_IMAGE"
docker run --rm --platform linux/amd64 \
-e DATABASE_URL='postgresql+psycopg://release:[email protected]:5432/release' \
-e TOOL_TESTING_LAB_ENABLED=true \
-e UTU_FULL_TECHNICAL_AUDIT=true \
--entrypoint python "$SOURCE_IMAGE" -c '
from app.version import APP_VERSION
from app.main import app
from app.release_profile import is_production_image
from app.rca.audit_visibility import full_technical_audit_enabled, resolve_technical_audit_mode
assert APP_VERSION == "1.0.0"
assert is_production_image()
assert full_technical_audit_enabled() is False
assert resolve_technical_audit_mode("audit", is_superuser=True) == "audit"
assert not any(route.path.startswith("/api/v1/tool-testing-lab") for route in app.routes)
print("HARDENED PRODUCTION IMAGE PASS")
'
- name: Package exact Helm chart
run: |
set -euo pipefail
mkdir -p dist
helm package helm/utu-engine --destination dist
test -s "dist/utu-engine-$VERSION.tgz"
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Promote verified immutable image to versioned GHCR package
run: |
set -euo pipefail
# Refuse to overwrite existing stable versions.
if docker buildx imagetools inspect "$TARGET:$VERSION" >/dev/null 2>&1; then
echo "::error::Stable image tag already exists. No overwrite permitted."
exit 1
fi
docker buildx imagetools create --tag "$TARGET:$VERSION" "$SOURCE_IMAGE"
docker buildx imagetools inspect "$TARGET:$VERSION"
- name: Publish Helm OCI chart
env:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
echo "$GHCR_TOKEN" | helm registry login ghcr.io -u "$GITHUB_ACTOR" --password-stdin
helm push "dist/utu-engine-$VERSION.tgz" oci://ghcr.io/utu-engine/charts
- name: Update stable latest alias
run: |
set -euo pipefail
docker buildx imagetools create --tag "$TARGET:latest" "$TARGET:$VERSION"
docker buildx imagetools inspect "$TARGET:latest"
- name: Check unauthenticated download availability
shell: bash
run: |
set -euo pipefail
docker logout ghcr.io || true
helm registry logout ghcr.io || true
DOCKER_CONFIG="$(mktemp -d)"
HELM_REGISTRY_CONFIG="$(mktemp)"
export DOCKER_CONFIG HELM_REGISTRY_CONFIG
docker manifest inspect "$TARGET:$VERSION" >/dev/null || {
echo "::error::Docker package is not public. Set GHCR package visibility to Public, then retry release validation."
exit 1
}
helm pull oci://ghcr.io/utu-engine/charts/utu-engine --version "$VERSION" --destination "$RUNNER_TEMP" || {
echo "::error::Helm OCI package is not public. Set GHCR chart package visibility to Public."
exit 1
}
- name: Create public GitHub Release with Helm archive
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
gh release create "v$VERSION" "dist/utu-engine-$VERSION.tgz" \
--repo "$GITHUB_REPOSITORY" \
--target "$GITHUB_SHA" \
--title "UTU Engine v$VERSION" --notes-file RELEASE_NOTES.md
- name: Record provenance
run: |
{
echo "### UTU Engine v$VERSION published"
echo "Source candidate digest: $SOURCE_DIGEST"
echo "Stable image: $TARGET:$VERSION"
echo "Alias: $TARGET:latest"
echo "Helm: oci://ghcr.io/utu-engine/charts/utu-engine"
} >> "$GITHUB_STEP_SUMMARY"
36 changes: 36 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
UTU ENGINE PROPRIETARY SOFTWARE LICENSE

Copyright © 2026 Yergali Yerkalin.
All rights reserved.

UTU Engine, including its source code, documentation, user interface, build files,
configuration, and other original materials in this repository (collectively,
the "Software"), is proprietary software owned by Yergali Yerkalin.

No license or other rights to the Software are granted by possession of, access
to, or receipt of the Software except under a separate written license agreement
signed or otherwise accepted by the copyright owner.

Without such a separate written agreement, you may not, in whole or in part:

- copy or reproduce the Software;
- modify, adapt, translate, reverse engineer, or create derivative works of the
Software, except to the extent such a restriction is prohibited by applicable
law;
- distribute, publish, disclose, transmit, or make the Software or its source
code available to any third party;
- sublicense, rent, lease, sell, resell, assign, or otherwise transfer the
Software;
- use the Software in, or incorporate it into, a commercial product or service;
- remove or alter proprietary notices.

Third-party software and open-source components that are included with, used by,
or distributed alongside UTU Engine are not relicensed by this document. Those
components remain subject to their respective copyright notices and license
terms.

THE SOFTWARE IS PROVIDED ONLY UNDER THE TERMS OF AN APPLICABLE WRITTEN LICENSE
AGREEMENT. EXCEPT AS EXPRESSLY STATED IN SUCH AN AGREEMENT, NO WARRANTIES,
SUPPORT COMMITMENTS, SERVICE LEVELS, INDEMNITIES, OR OTHER RIGHTS ARE GRANTED.

For commercial licensing inquiries, contact the copyright owner.
84 changes: 82 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,82 @@
# platform
platform
# UTU Engine · Platform

The official production distribution of **UTU Engine**, an application-centric
incident investigation platform. This repository contains public Helm charts,
versioned releases and installation documentation; proprietary application
source code and development workflows remain private.

## Production release: v1.0.0

| Artifact | Location |
| --- | --- |
| Docker image | `ghcr.io/utu-engine/platform:1.0.0` |
| Latest stable image alias | `ghcr.io/utu-engine/platform:latest` |
| Helm OCI chart | `oci://ghcr.io/utu-engine/charts/utu-engine` (version `1.0.0`) |
| Chart source | `helm/utu-engine` |
| Release archives | [GitHub Releases](https://github.com/utu-engine/platform/releases) |

### Install

Requires Helm 3.8+, Kubernetes, working PersistentVolume provisioning, and
network access to the container registry and your observability/LLM systems.

```bash
helm install utu-engine oci://ghcr.io/utu-engine/charts/utu-engine \
--version 1.0.0 --namespace utu-engine --create-namespace
```

### Download the chart

```bash
helm pull oci://ghcr.io/utu-engine/charts/utu-engine --version 1.0.0 --untar
```

Or clone this repository and install the chart source:

```bash
helm upgrade --install utu-engine ./helm/utu-engine \
--namespace utu-engine --create-namespace
```

### Pull the application image

```bash
docker pull ghcr.io/utu-engine/platform:1.0.0
docker pull ghcr.io/utu-engine/platform:latest
```

The Helm chart defaults to the immutable `1.0.0` tag and `IfNotPresent`.
The `latest` alias is published for convenience, not used by default by Helm.

### Internal capabilities

The official production image is compiled with an immutable production
capability lock. **Tool Testing Lab** and **Full Technical Audit** cannot
be enabled through Helm, environment variables, or the application's API.
The standard RCA report and redacted Technical Audit remain available.

These two internal settings do not appear in the public chart. Altering
the software or building a custom image is outside the official distribution.

### Deployment and data considerations

The chart runs one UTU Engine Backend and optionally creates a persistent
PostgreSQL 18 database. Bootstrap credentials and encryption keys are generated
as Kubernetes Secrets; preserve those secrets and the PostgreSQL PVC for
upgrade, restore, and recovery. Review the RBAC scope, network egress,
resource limits and HTTPS ingress configuration before external access.

This first production chart is **not** an in-place migration for a previous
`rca-agent` Helm installation; plan migration separately.

### Source development and release policy

Development in `eerkalin/rca-agent` does not publish here. A production
release requires a deliberate manual promotion of an independently tested
production-build candidate. Published SemVer tags are never overwritten.

### Licensing

UTU Engine is proprietary software. Refer to [LICENSE](LICENSE) and the
applicable written UTU Engine license agreement before use. Third-party
components remain under their respective licenses.
18 changes: 18 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# UTU Engine v1.0.0

First versioned production release of the UTU Engine application-centric
incident investigation platform.

- Official multi-architecture image: `ghcr.io/utu-engine/platform:1.0.0`.
- Alias `ghcr.io/utu-engine/platform:latest` tracks the newest stable version.
- Helm OCI chart: `oci://ghcr.io/utu-engine/charts/utu-engine`, version `1.0.0`.
- Default Helm image is pinned to `1.0.0`; pull policy is `IfNotPresent`.
- Tool Testing Lab and internal Full Technical Audit are disabled inside the
production image and cannot be enabled with Helm values or environment
variables. Standard RCA and redacted Technical Audit remain available.
- Includes optional PostgreSQL 18 database, persistent volume and automated
bootstrap secret creation.

Check namespace RBAC, database backups, HTTPS ingress, NetworkPolicy and
external LLM/observability access before installing. The source code remains
proprietary and is not included in this repository.
6 changes: 6 additions & 0 deletions helm/utu-engine/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v2
name: utu-engine
description: UTU Engine — application-centric incident investigation platform
version: 1.0.0
appVersion: "1.0.0"
type: application
Loading
Loading