Skip to content

Commit

Permalink
Remove platform provider migration ops task (#5065)
Browse files Browse the repository at this point in the history
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
  • Loading branch information
khanhtc1202 authored Jul 26, 2024
1 parent 6dcca16 commit 46b475c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 148 deletions.
10 changes: 0 additions & 10 deletions cmd/pipecd/ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"github.com/pipe-cd/pipecd/pkg/app/ops/orphancommandcleaner"
"github.com/pipe-cd/pipecd/pkg/app/ops/pipedstatsbuilder"
"github.com/pipe-cd/pipecd/pkg/app/ops/planpreviewoutputcleaner"
"github.com/pipe-cd/pipecd/pkg/app/ops/platformprovidermigration"
"github.com/pipe-cd/pipecd/pkg/app/ops/staledpipedstatcleaner"
"github.com/pipe-cd/pipecd/pkg/cache/rediscache"
"github.com/pipe-cd/pipecd/pkg/cli"
Expand Down Expand Up @@ -148,15 +147,6 @@ func (s *ops) run(ctx context.Context, input cli.Input) error {
}
}()

// Start running CloudProvider to PlatformProvider migration task.
// TODO: Remove this task after a few releases.
{
runner := platformprovidermigration.NewRunner(ds, input.Logger)
group.Go(func() error {
return runner.Migrate(ctx)
})
}

statCache := rediscache.NewHashCache(rd, defaultPipedStatHashKey)
// Start running staled piped stat cleaner.
{
Expand Down
138 changes: 0 additions & 138 deletions pkg/app/ops/platformprovidermigration/runner.go

This file was deleted.

0 comments on commit 46b475c

Please sign in to comment.