✓ pass on PR1 (PR1 · subchart sequencing) · 0.0 s
helm dag prints nginx and rabbitmq before bar.
Same test on other tiers: PR2 ✓ passPR3 — n/aCombined ✓ pass
Requirements
R07 A command prints the DAG implemented
Helm will also provide a command to print the DAG for development and troubleshooting purposes.HIP-0025, Chart dependencies example
The test needs these tier features: ordered, subcharts.
What the test observed
The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).
helm dag output
Chart: foo
Subchart batches:
Batch 1: nginx, rabbitmq
Batch 2: bar
Unsequenced (deployed last): Deployment/foo
Chart: foo/charts/nginx
Subchart batches: (none)
Unsequenced (deployed last): Deployment/nginx
Chart: foo/charts/rabbitmq
Subchart batches: (none)
Unsequenced (deployed last): Deployment/rabbitmq
Chart: foo/charts/bar
Subchart batches: (none)
Unsequenced (deployed last): Deployment/bar
subchart batches printed for foo
nginx, rabbitmq bar
Charts
The charts that the helm commands below read. This run did not keep chart archives, so the links go to the chart directories in the harness commit.
| Chart directory |
|---|
| charts/hip-subcharts |
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.
18:47:11.701 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-helm-dag-prints-subchart-order --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]
18:47:11.739 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr1-helm-dag-prints-subchart-order
[exit 0, 0.0s]
namespace/e2e-pr1-helm-dag-prints-subchart-order created
18:47:11.770 $ .bin/helm-pr1 dag charts/hip-subcharts --kube-context kind-hip0025-e2e
[exit 0, 0.0s]
Chart: foo
Subchart batches:
Batch 1: nginx, rabbitmq
Batch 2: bar
Unsequenced (deployed last): Deployment/foo
Chart: foo/charts/nginx
Subchart batches: (none)
Unsequenced (deployed last): Deployment/nginx
Chart: foo/charts/rabbitmq
Subchart batches: (none)
Unsequenced (deployed last): Deployment/rabbitmq
Chart: foo/charts/bar
Subchart batches: (none)
Unsequenced (deployed last): Deployment/bar
18:47:11.797 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-helm-dag-prints-subchart-order --wait=false
[exit 0, 0.0s]
namespace "e2e-pr1-helm-dag-prints-subchart-order" deleted
Files
| File | Size | Content |
|---|---|---|
| commands.log | 1.1 KB | the commands above |
| observations.json | 629 B | the observations above, as JSON |