You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.out.Error.Printf("Docker Client (%s) is incompatible with Server. Server current (%s), Server min compat (%s). Use `rig upgrade` to fix this.", clientApiVersion, serverApiVersion, serverMinApiVersion)
54
77
}
55
78
56
-
// 2. Pull down the data from DNSDock. This will confirm we can resolve names as well
79
+
// 3. Pull down the data from DNSDock. This will confirm we can resolve names as well
57
80
// as route to the appropriate IP addresses via the added route commands
cmd.out.Warning.Printf("Data volume (/data) is %d%% used. Please free up space soon.", i)
119
+
} elseifi>=95 {
120
+
cmd.out.Error.Printf("Data volume (/data) is %d%% used. Please free up space. Try 'docker system prune' or removing old projects / databases from /data.", i)
121
+
} else {
122
+
cmd.out.Info.Printf("Data volume (/data) is %d%% used.", i)
123
+
}
124
+
} else {
125
+
cmd.out.Warning.Printf("Unable to determine usage level of /data volume. Failed to parse '%s'", dataUsage)
Description: "The type is the generator to run with args passed to that generator. If using flag arguments use -- before specifying type and arguments.",
24
24
Flags: []cli.Flag{
25
25
cli.StringFlag{
26
-
Name: "image",
27
-
Usage: "Docker image to use if default outrigger/generator is not desired",
26
+
Name: "image",
27
+
Usage: "Docker image to use if default outrigger/generator is not desired.",
28
+
EnvVar: "RIG_PROJECT_CREATE_IMAGE",
29
+
},
30
+
cli.BoolFlag{
31
+
Name: "no-update",
32
+
Usage: "Prevent automatic update of designated generator docker image.",
Usage: "Start a unison sync on local project directory. Optionally provide a volume name.",
40
40
ArgsUsage: "[optional volume name]",
41
41
Description: "Volume name will be discovered in the following order: argument to this command > outrigger project config > docker-compose file > current directory name",
42
-
Before: cmd.Before,
43
-
Action: cmd.RunStart,
42
+
Flags: []cli.Flag{
43
+
cli.IntFlag{
44
+
Name: "initial-sync-timeout",
45
+
Value: 60,
46
+
Usage: "Maximum amount of time in seconds to allow for detecting each of start of the unison container and start of initial sync",
47
+
EnvVar: "RIG_PROJECT_SYNC_TIMEOUT",
48
+
},
49
+
// Arbitrary sleep length but anything less than 3 wasn't catching
50
+
// ongoing very quick file updates during a test
51
+
cli.IntFlag{
52
+
Name: "initial-sync-wait",
53
+
Value: 5,
54
+
Usage: "Time in seconds to wait between checks to see if initial sync has finished.",
0 commit comments