Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor RPM handlers and Reorganize Code for Linux targets #493

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
9 changes: 4 additions & 5 deletions cmd/frontend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"os"

"github.com/Azure/dalec/frontend"
"github.com/Azure/dalec/frontend/azlinux"
"github.com/Azure/dalec/frontend/debian"
"github.com/Azure/dalec/frontend/debug"
"github.com/Azure/dalec/frontend/ubuntu"
"github.com/Azure/dalec/frontend/linux/deb/debian"
"github.com/Azure/dalec/frontend/linux/deb/ubuntu"
"github.com/Azure/dalec/frontend/linux/rpm/azlinux"
"github.com/Azure/dalec/frontend/windows"
"github.com/moby/buildkit/frontend/gateway/grpcclient"
"github.com/moby/buildkit/util/appcontext"
Expand All @@ -33,8 +33,7 @@ func main() {

if err := grpcclient.RunFromEnvironment(ctx, mux.Handler(
// copy/paster's beware: [frontend.WithTargetForwardingHandler] should not be set except for the root dalec frontend.
frontend.WithBuiltinHandler(azlinux.Mariner2TargetKey, azlinux.NewMariner2Handler()),
frontend.WithBuiltinHandler(azlinux.AzLinux3TargetKey, azlinux.NewAzlinux3Handler()),
azlinux.Handlers,
frontend.WithBuiltinHandler(windows.DefaultTargetKey, windows.Handle),
ubuntu.Handlers,
debian.Handlers,
Expand Down
80 changes: 0 additions & 80 deletions frontend/azlinux/azlinux3.go

This file was deleted.

113 changes: 0 additions & 113 deletions frontend/azlinux/handle_container.go

This file was deleted.

65 changes: 0 additions & 65 deletions frontend/azlinux/handle_depsonly.go

This file was deleted.

Loading
Loading