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
4 changes: 3 additions & 1 deletion .github/workflows/branch-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@ jobs:
permissions:
contents: read
packages: read
uses: ./.github/workflows/e2e-kubernetes-ha-test.yml
uses: ./.github/workflows/e2e-kubernetes-test.yml
with:
image-tag: ${{ github.sha }}
job-name: Kubernetes HA E2E (Rust smoke)
extra-helm-values: deploy/helm/openshell/ci/values-high-availability.yaml

core-e2e-result:
name: Core E2E result
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/e2e-kubernetes-ha-test.yml

This file was deleted.

14 changes: 13 additions & 1 deletion .github/workflows/e2e-kubernetes-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,29 @@ on:
required: false
type: string
default: ""
job-name:
description: "Display name for the Kubernetes e2e job"
required: false
type: string
default: "Kubernetes E2E (Rust smoke)"
extra-helm-values:
description: "Colon-separated Helm values files to layer on the Kubernetes e2e chart install"
required: false
type: string
default: ""
mise-version:
description: "mise version to install on the bare Kubernetes e2e runner"
required: false
type: string
default: "v2026.4.25"

permissions:
contents: read
packages: read

jobs:
e2e-kubernetes:
name: Kubernetes E2E (Rust smoke)
name: ${{ inputs.job-name }}
# Bare runner: running kind-in-container hits nested-Docker / kubeconfig
# complications. The runner has Docker; mise installs helm, kubectl, and
# the Rust toolchain.
Expand All @@ -40,6 +50,8 @@ jobs:
packages: read
env:
MISE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Keep bare-runner installs aligned with the project CI image.
MISE_VERSION: ${{ inputs.mise-version }}
KIND_CLUSTER_NAME: kube-e2e-${{ github.run_id }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand Down
12 changes: 12 additions & 0 deletions deploy/helm/openshell/ci/values-high-availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@
# this overlay enables the bundled PostgreSQL dependency added by the chart.
replicaCount: 2

global:
security:
# The mirror serves the same pinned Bitnami PostgreSQL digest, but Bitnami's
# chart verification treats non-Docker-Hub registries as unrecognized.
allowInsecureImages: true

postgres:
enabled: true
# Keep the HA CI/dev overlay off Docker Hub's unauthenticated pull path.
# The Bitnami subchart defaults to registry-1.docker.io/bitnami/postgresql:latest.
image:
registry: mirror.gcr.io
repository: bitnami/postgresql
digest: sha256:7651d7f24aad83fe68a222f7f20eded10d325c96ebee285ca5bf8162eddcba64
auth:
password: openshell-ha-ci
Loading