✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 0.1 s
helm dag prints nginx and rabbitmq before bar.
Same test on other tiers: PR1 ✓ passPR3 — n/aCombined ✓ pass
Requirements
R08 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. The run keeps
each chart as an archive. Click a chart to see its files and the commands that inspect or install it.
| Chart directory | Chart | Archive | sha256 |
|---|---|---|---|
| charts/hip-subcharts | foo 0.1.0 · apiVersion v3HIP-0025 Chart dependencies example (nginx,rabbitmq -> bar -> foo) |
foo-0.1.0.tgz · 1.1 KB | e5cb6705dbea067f |
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.553 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-helm-dag-prints-subchart-order --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]
14:56:58.592 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-helm-dag-prints-subchart-order
[exit 0, 0.0s]
namespace/e2e-pr2-helm-dag-prints-subchart-order created
14:56:58.626 $ .bin/helm-pr2 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
14:56:58.657 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-helm-dag-prints-subchart-order --wait=false
[exit 0, 0.0s]
namespace "e2e-pr2-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 |