Skip to content

Commit 91965fe

Browse files
committed
Remove estargz from build
1 parent 0287059 commit 91965fe

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

pkg/dazzle/build.go

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -501,11 +501,9 @@ func (p *ProjectChunk) buildAsBase(ctx context.Context, dest reference.Named, se
501501
{
502502
Type: "image",
503503
Attrs: map[string]string{
504-
"name": dest.String(),
505-
"push": "true",
506-
"compression": "estargz",
507-
"oci-mediatypes": "true",
508-
"force-compression": "true",
504+
"name": dest.String(),
505+
"push": "true",
506+
"oci-mediatypes": "true",
509507
},
510508
},
511509
},
@@ -689,11 +687,9 @@ func (p *ProjectChunk) buildImage(ctx context.Context, tpe ChunkImageType, sess
689687
{
690688
Type: "image",
691689
Attrs: map[string]string{
692-
"name": tgt.String(),
693-
"push": "true",
694-
"compression": "estargz",
695-
"oci-mediatypes": "true",
696-
"force-compression": "true",
690+
"name": tgt.String(),
691+
"push": "true",
692+
"oci-mediatypes": "true",
697693
},
698694
},
699695
},

pkg/dazzle/project_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ func TestProjectChunk_hash(t *testing.T) {
316316
Base: "",
317317
BaseRef: "",
318318
Chunk: "base",
319-
Expectation: map[string]string{"base": "9548234ad00c759a443539823a08af24a7e4cafcda34956cfcf89e005d1582b1"},
319+
Expectation: map[string]string{"base": "11f7021f65b55230c0e1105b1dc013d635a9a6d38e1476277df521400aec375a"},
320320
IncludeTests: true,
321321
},
322322
{
@@ -337,7 +337,7 @@ func TestProjectChunk_hash(t *testing.T) {
337337
Base: "",
338338
BaseRef: "",
339339
Chunk: "base",
340-
Expectation: map[string]string{"base": "e1edf60be9936de9a8e53d56b3d3caab266a85910dd301f387f340da4ac986db"},
340+
Expectation: map[string]string{"base": "51ba9ff43996cf11afb5695b76b9e5d7c0134c83b27efc3063da8122069c4926"},
341341
IncludeTests: true,
342342
},
343343
{

0 commit comments

Comments
 (0)