Skip to content

Commit

Permalink
clean conversion in alpha, clean e2e test case
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1queee committed Jan 9, 2024
1 parent ee89fbf commit 7fc488a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 101 deletions.
24 changes: 0 additions & 24 deletions pkg/apis/build/v1alpha1/build_conversion.go

This file was deleted.

24 changes: 0 additions & 24 deletions pkg/apis/build/v1alpha1/buildrun_conversion.go

This file was deleted.

24 changes: 0 additions & 24 deletions pkg/apis/build/v1alpha1/buildstrategy_conversion.go

This file was deleted.

24 changes: 0 additions & 24 deletions pkg/apis/build/v1alpha1/clusterbuildstrategy_conversion.go

This file was deleted.

5 changes: 0 additions & 5 deletions test/e2e/v1beta1/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ func retrieveBuildAndBuildRun(testBuild *utils.TestBuild, namespace string, buil
return nil, buildRun, err
}

alphaBuild.ConvertTo(testBuild.Context, &obj)
jsonData, err = json.Marshal(obj.Object)
if err != nil {
Logf("Failed to convert the build to v1beta1: %s", err)
}
var betaBuild buildv1beta1.Build
json.Unmarshal(jsonData, &betaBuild)

Expand Down

0 comments on commit 7fc488a

Please sign in to comment.