Skip to content

Commit 3351049

Browse files
committed
cmd-build-with-buildah: add --force for compatibility
There is no good change detection right now on the container-native side. Hermetic Konflux builds should help there, but I'd also like to make our builds reproducible which is the ultimate solution to this though less efficient (we'd still do the build, but since we'd get the same digest, it'd be a no-op -- this is why it's still useful even with reproducible builds to have good "path change" triggers like what Konflux offers).
1 parent de80514 commit 3351049

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmd-build-with-buildah

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Usage: coreos-assembler build-with-buildah
2222
non-strict build.
2323
--skip-prune Skip prunning previous builds
2424
--parent-build=VERSION This option does nothing and is provided for backwards compatibility.
25+
--force This option does nothing and is provided for backwards compatibility.
2526
EOF
2627
}
2728

@@ -31,7 +32,7 @@ DIRECT=
3132
AUTOLOCK_VERSION=
3233
SKIP_PRUNE=
3334
rc=0
34-
options=$(getopt --options h,d --longoptions help,version:,versionary,direct,autolock:,skip-prune,parent-build: -- "$@") || rc=$?
35+
options=$(getopt --options h,d --longoptions help,version:,versionary,direct,autolock:,skip-prune,parent-build:,force -- "$@") || rc=$?
3536
[ $rc -eq 0 ] || {
3637
print_help
3738
exit 1
@@ -63,6 +64,8 @@ while true; do
6364
--parent-build)
6465
shift
6566
;;
67+
--force)
68+
;;
6669
--)
6770
shift
6871
break

0 commit comments

Comments
 (0)