mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
fix:remove GreetingModule that is in the ArtifactPipeline
Signed-off-by: 24sama <jacksama@foxmail.com>
This commit is contained in:
parent
3a109ba9ae
commit
0e6ef0d694
|
|
@ -18,21 +18,21 @@ package pipelines
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/kubesphere/kubekey/pkg/artifact"
|
||||
"github.com/kubesphere/kubekey/pkg/binaries"
|
||||
"github.com/kubesphere/kubekey/pkg/bootstrap/confirm"
|
||||
"github.com/kubesphere/kubekey/pkg/bootstrap/precheck"
|
||||
"github.com/kubesphere/kubekey/pkg/common"
|
||||
"github.com/kubesphere/kubekey/pkg/core/module"
|
||||
"github.com/kubesphere/kubekey/pkg/core/pipeline"
|
||||
"github.com/kubesphere/kubekey/pkg/filesystem"
|
||||
"github.com/kubesphere/kubekey/pkg/images"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
func NewArtifactExportPipeline(runtime *common.ArtifactRuntime) error {
|
||||
m := []module.Module{
|
||||
&precheck.GreetingsModule{},
|
||||
&confirm.CheckFileExistModule{FileName: runtime.Arg.Output},
|
||||
&images.CopyImagesToLocalModule{},
|
||||
&binaries.ArtifactBinariesModule{},
|
||||
|
|
@ -57,7 +57,6 @@ func NewArtifactExportPipeline(runtime *common.ArtifactRuntime) error {
|
|||
|
||||
func NewK3sArtifactExportPipeline(runtime *common.ArtifactRuntime) error {
|
||||
m := []module.Module{
|
||||
&precheck.GreetingsModule{},
|
||||
&confirm.CheckFileExistModule{FileName: runtime.Arg.Output},
|
||||
&images.CopyImagesToLocalModule{},
|
||||
&binaries.K3sArtifactBinariesModule{},
|
||||
|
|
|
|||
Loading…
Reference in New Issue