Skip to content

Commit

Permalink
feat: enable dockerfile check for hermetic builds
Browse files Browse the repository at this point in the history
STONEBLD-2795

Hermetic builds should now push the original dockerfile, not the
modified one. Enable the check.

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Sep 24, 2024
1 parent 1fb19f6 commit 2477cc9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/build/build_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,7 @@ var _ = framework.BuildSuiteDescribe("Build templates E2E test", Label("build",
})

It("should push Dockerfile to registry", Label(buildTemplatesTestLabel), func() {
// Once https://issues.redhat.com/browse/STONEBLD-2795 is resolved, apply this check for hermetic scenario as well
if !scenario.EnableHermetic && !IsFBCBuildPipeline(pipelineBundleName) {
ensureOriginalDockerfileIsPushed(kubeadminClient, pr)
}
ensureOriginalDockerfileIsPushed(kubeadminClient, pr)
})

It("floating tags are created successfully", func() {
Expand Down

0 comments on commit 2477cc9

Please sign in to comment.