Jsonnet dependency update is not deterministic
bastjan opened this issue · 1 comments
bastjan commented
Jsonnet bundler does not update (jb install
without lockfile, jb update
) dependencies deterministically. See jsonnet-bundler/jsonnet-bundler#160
This leads to flaky commodore outputs.
Steps to Reproduce the Problem
- Add projectsyn/component-thanos and projectsyn/component-prometheus
- Compile a few times
Actual Behavior
The output changes even though the dependencies do not.
Expected Behavior
The output stays stable until a dependency is updated.
simu commented
This is fixed in https://github.com/projectsyn/jsonnet-bundler v0.6.0 and newer. The Commodore v1.19.1 container image uses our fork of jsonnet-bundler, and the install instructions recommend installing our fork. Closing this issue.