Loading deploy/pyinfra/tasks/apps/mec_sandbox.py +2 −2 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ meep.configure_sandbox_secrets( ) meep.deploy_dep( name="Deploy MEC Sandbox dependencies (meepctl deploy dep all -f)", name="Deploy MEC Sandbox dependencies (meepctl deploy dep all)", mec_sandbox_dir=mec_sandbox_dir, target_home=target_home, node_version=node_version, Loading @@ -150,7 +150,7 @@ meep.dockerize_all( ) meep.deploy_core( name="Deploy MEC Sandbox core platform (meepctl deploy core all -f)", name="Deploy MEC Sandbox core platform (meepctl deploy core all)", mec_sandbox_dir=mec_sandbox_dir, target_home=target_home, node_version=node_version, Loading go-apps/meepctl/cmd/root.go +13 −0 Original line number Diff line number Diff line Loading @@ -91,4 +91,17 @@ func initConfig() { if err := viper.ReadInConfig(); err == nil { fmt.Println("Using meepctl config file:", viper.ConfigFileUsed()) } // Ensure Go and GOPATH/bin are in PATH so meepctl can find go and golangci-lint path := os.Getenv("PATH") home, _ := homedir.Dir() if home != "" { gocodeBin := home + "/gocode/bin" if path == "" { path = "/usr/local/go/bin:" + gocodeBin } else { path = path + ":/usr/local/go/bin:" + gocodeBin } _ = os.Setenv("PATH", path) } } Loading
deploy/pyinfra/tasks/apps/mec_sandbox.py +2 −2 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ meep.configure_sandbox_secrets( ) meep.deploy_dep( name="Deploy MEC Sandbox dependencies (meepctl deploy dep all -f)", name="Deploy MEC Sandbox dependencies (meepctl deploy dep all)", mec_sandbox_dir=mec_sandbox_dir, target_home=target_home, node_version=node_version, Loading @@ -150,7 +150,7 @@ meep.dockerize_all( ) meep.deploy_core( name="Deploy MEC Sandbox core platform (meepctl deploy core all -f)", name="Deploy MEC Sandbox core platform (meepctl deploy core all)", mec_sandbox_dir=mec_sandbox_dir, target_home=target_home, node_version=node_version, Loading
go-apps/meepctl/cmd/root.go +13 −0 Original line number Diff line number Diff line Loading @@ -91,4 +91,17 @@ func initConfig() { if err := viper.ReadInConfig(); err == nil { fmt.Println("Using meepctl config file:", viper.ConfigFileUsed()) } // Ensure Go and GOPATH/bin are in PATH so meepctl can find go and golangci-lint path := os.Getenv("PATH") home, _ := homedir.Dir() if home != "" { gocodeBin := home + "/gocode/bin" if path == "" { path = "/usr/local/go/bin:" + gocodeBin } else { path = path + ":/usr/local/go/bin:" + gocodeBin } _ = os.Setenv("PATH", path) } }