Files
my-rook-config/build/makelib
Joshua Hoblitt bcf10ce913 build: exclude helm dep archives from chart package prerequisites
The chart package rule captures find output over the chart directory as
its prerequisite list when make parses the makefile, including any
dependency archives already sitting in charts/. The
helm.dependency.update recipe then runs helm dependency update, which
deletes archives that no longer match the Chart.yaml pins. An archive
left by an earlier build at a different ref — an older version pin, or
another branch — is thus frozen as a prerequisite and deleted mid-run,
and make stops with "No rule to make target
.../charts/ceph-csi-operator-1.0.1.tgz" (seen after the csi-operator
pin moved from 1.0.1 to 1.0.4).

Exclude *.tgz files from the prerequisite find. The archives never
carried staleness information anyway because helm.dependency.update is
a non-file target that is always considered remade, so the package
target re-runs every build regardless.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-07-16 15:44:47 -07:00
..