Browse code

Update build-chain examples to match product docs

Alex Dellapenta authored on 2015/08/07 04:53:48
Showing 2 changed files
... ...
@@ -11,14 +11,14 @@ Output the inputs and dependencies of your builds
11 11
 
12 12
 [options="nowrap"]
13 13
 ----
14
-  // Build the dependency tree for the 'latest' tag in centos7
15
-  $ openshift admin build-chain centos7
14
+  // Build the dependency tree for the 'latest' tag in <image-stream>
15
+  $ openshift admin build-chain <image-stream>
16 16
 
17 17
   // Build the dependency tree for 'v2' tag in dot format and visualize it via the dot utility
18
-  $ openshift admin build-chain centos7:v2 -o dot | dot -T svg -o deps.svg
18
+  $ openshift admin build-chain <image-stream>:v2 -o dot | dot -T svg -o deps.svg
19 19
 
20 20
   // Build the dependency tree across all namespaces for the specified image stream tag found in 'test' namespace
21
-  $ openshift admin build-chain centos7 -n test --all
21
+  $ openshift admin build-chain <image-stream> -n test --all
22 22
 ----
23 23
 ====
24 24
 
... ...
@@ -27,14 +27,14 @@ Supported formats for the generated graph are dot and a human-readable output.
27 27
 Tag and namespace are optional and if they are not specified, 'latest' and the
28 28
 default namespace will be used respectively.`
29 29
 
30
-	buildChainExample = `  // Build the dependency tree for the 'latest' tag in centos7
31
-  $ %[1]s centos7
30
+	buildChainExample = `  // Build the dependency tree for the 'latest' tag in <image-stream>
31
+  $ %[1]s <image-stream>
32 32
 
33 33
   // Build the dependency tree for 'v2' tag in dot format and visualize it via the dot utility
34
-  $ %[1]s centos7:v2 -o dot | dot -T svg -o deps.svg
34
+  $ %[1]s <image-stream>:v2 -o dot | dot -T svg -o deps.svg
35 35
 
36 36
   // Build the dependency tree across all namespaces for the specified image stream tag found in 'test' namespace
37
-  $ %[1]s centos7 -n test --all`
37
+  $ %[1]s <image-stream> -n test --all`
38 38
 )
39 39
 
40 40
 // BuildChainRecommendedCommandName is the recommended command name