Skip to content

Commit

Permalink
remove workflow package
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamero authored Oct 28, 2024
1 parent d4bcd63 commit 78f08bf
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 477 deletions.
4 changes: 2 additions & 2 deletions cmd/generate-workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/Azure/draft/pkg/handlers"
"github.com/Azure/draft/pkg/prompts"
"github.com/Azure/draft/pkg/templatewriter"
"github.com/Azure/draft/pkg/cmdhelpers"
"github.com/Azure/draft/pkg/templatewriter/writers"
"github.com/Azure/draft/pkg/workflows"
)

type generateWorkflowCmd struct {
Expand Down Expand Up @@ -87,7 +87,7 @@ func (gwc *generateWorkflowCmd) generateWorkflows() error {
return err
}

if err := workflows.UpdateProductionDeployments(gwc.deployType, gwc.dest, t.Config, gwc.templateWriter); err != nil {
if err := cmdhelpers.UpdateProductionDeployments(gwc.deployType, gwc.dest, t.Config, gwc.templateWriter); err != nil {
return fmt.Errorf("update production deployments: %w", err)
}

Expand Down
8 changes: 0 additions & 8 deletions pkg/workflows/charts/production.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions pkg/workflows/github_workflow.go

This file was deleted.

22 changes: 0 additions & 22 deletions pkg/workflows/manifests/deployment.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions pkg/workflows/overlays/production/deployment.yaml

This file was deleted.

113 changes: 0 additions & 113 deletions pkg/workflows/service_types.go

This file was deleted.

176 changes: 0 additions & 176 deletions pkg/workflows/workflows.go

This file was deleted.

Loading

0 comments on commit 78f08bf

Please sign in to comment.