Skip to content

Commit 645ce63

Browse files
author
Mladen Rusev
committed
set the covermode to atomic
1 parent a39f7de commit 645ce63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/_shared/oci-build/01_mod.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $(ko_config_path_$1:$(CURDIR)/%=%): | $(NEEDS_YQ) $(bin_dir)/scratch/image
2929
$(YQ) '.builds[0].ldflags[1] = "-w"' | \
3030
$(YQ) '.builds[0].ldflags[2] = "{{.Env.LDFLAGS}}"' | \
3131
$(YQ) '.builds[0].flags[0] = "-cover"' | \
32+
$(YQ) '.builds[0].flags[1] = "-covermode=atomic"' | \
3233
$(YQ) '.builds[0].linux_capabilities = "$(oci_$1_linux_capabilities)"' \
3334
> $(CURDIR)/$(oci_layout_path_$1).ko_config.yaml
3435

0 commit comments

Comments
 (0)