Preserves snapshot-incomplete with NOPLAN=1

Previously, 'NOPLAN=1' would overwrite the 'snapshot-incomplete.yaml'
file. This makes it difficult tweak things (e.g. by explicitly bumping a
package in response to maintainer request).

Now 'NOPLAN=1' will skip generating 'snapshot-incomplete.yaml' entirely,
and it will be up to a previous run w/out a 'NOPLAN' override to set
this up properly.
This commit is contained in:
Joe Kachmar 2021-01-06 00:15:35 -05:00
parent c34a5b047f
commit e160b7aa3e

View File

@ -108,7 +108,7 @@ then
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
fi
else
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot"
fi