Skip to content

Commit

Permalink
rely on titan server to manage linuxkit (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcred authored Sep 17, 2021
1 parent 4f59797 commit 3312a53
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion internal/app/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func init() {

//Global params
rootCmd.PersistentFlags().StringVar(&context, "context","", "Titan Provider Context")
rootCmd.Version = "0.5.2"
rootCmd.Version = "0.5.3"
}

// initConfig reads in config file and ENV variables if set.
Expand Down
2 changes: 1 addition & 1 deletion internal/app/providers/Local.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func Local(contextName string, host string, port int) Provider {
contextName:contextName,
host:host,
portNum:port,
titanServerVersion: "0.8.3",
titanServerVersion: "0.8.4",
dockerRegistryUrl: "titandata",
}
}
14 changes: 0 additions & 14 deletions internal/app/providers/local/Install.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package local
import (
"fmt"
"github.com/briandowns/spinner"
"os"
"runtime"
"strconv"
"strings"
"time"
Expand All @@ -30,18 +28,6 @@ func Install(latest string, registry string, verbose bool, port int, context str
// Make sure Docker is running or panic
docker.Version()

// Install ZFS for Docker Desktop
if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
if !zfsInstalled() {
tag := getTag(getKernel())
installZFS(tag)
if !zfsInstalled() {
fmt.Println("ZFS was not installed.")
os.Exit(1)
}
}
}

if !docker.TitanLatestIsDownloaded(registry, app.Version{}.FromString(latest)) {
s.Prefix = "Pulling titan docker image (may take a while) "
s.FinalMSG = "Latest docker image downloaded"
Expand Down

0 comments on commit 3312a53

Please sign in to comment.