test_groups_follow_the_hip_example

✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 7.6 s

database and queue deploy together; app starts only after both are ready.

Same test on other tiers: PR1 — n/aPR3 — n/aCombined ✓ pass

Requirements

R17 A group is applied together and is ready before the next group starts implemented

Resources in each group are deployed together, and Helm waits for all to be ready before continuing to the next group.HIP-0025, Resource-Group Sequencing

Note: The HIP also states (line 78) that helm.sh/resource-group declares the group and any number of resources can belong to a group; the e2e tests reach the annotation through chart manifests.

R18 Groups without a mutual dependency deploy in parallel; list order is irrelevant implemented

Resources in database and queue resource-groups would be deployed at the same time. They would need to be ready before attempting to deploy app resource-group. [...] The order in which they are listed does not affect deployment sequencing.HIP-0025, Template examples

The test needs these tier features: ordered, groups.

What the test observed

The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).

apiserver timeline

14:56:58.892  apply  Deployment/queue-processor
14:56:58.892  apply  Deployment/db-service
14:57:02.174  ready  Deployment/queue-processor
14:57:02.177  ready  Deployment/db-service
14:57:02.302  apply  Deployment/my-app
14:57:05.178  ready  Deployment/my-app

Charts

The charts that the helm commands below read. The run keeps each chart as an archive. Click a chart to see its files and the commands that inspect or install it.

Chart directoryChartArchivesha256
charts/hip-groups hip-groups 0.1.0 · apiVersion v3HIP-0025 "Template examples" (database, queue -> app) plus the three unsequenced cases hip-groups-0.1.0.tgz · 1.2 KB bf37c35e80bb2a8c

Commands

Every command that the test ran, in order, with the start time, the exit code and the output. The paths are relative to the root of the repository.

14:56:58.695 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-groups-follow-the-hip-example --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


14:56:58.733 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-groups-follow-the-hip-example
[exit 0, 0.0s]
namespace/e2e-pr2-groups-follow-the-hip-example created


14:56:58.770 $ .bin/helm-pr2 install r charts/hip-groups --namespace e2e-pr2-groups-follow-the-hip-example --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 6.5s]
NAME: r
LAST DEPLOYED: Mon Nov 16 09:56:58 2026
NAMESPACE: e2e-pr2-groups-follow-the-hip-example
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None
level=WARN msg="sequencing: group \"orphan\" depends-on non-existent group \"no-such-group\"; moving group to unsequenced batch" chart=hip-groups
level=WARN msg="sequencing: resource-group \"lonely\" is isolated (no depends-on edges and no dependents); deploying it in the unsequenced batch after sequenced groups" chart=hip-groups


14:57:06.270 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-groups-follow-the-hip-example --wait=false
[exit 0, 0.0s]
namespace "e2e-pr2-groups-follow-the-hip-example" deleted


Files

FileSizeContent
audit.jsonl 213.5 KB 42 kube-apiserver audit records for the namespace of the test
commands.log 1.2 KB the commands above
observations.json 380 B the observations above, as JSON