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
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ For more information and more examples please see the [documentation](https://in
103
103
104
104
## using Docker
105
105
If your system is not supported you can still use orchent through a lightweight Docker container.
106
-
Download the container in the release sectionand import it using the `docker load` command:
106
+
Download the container in the [release section](https://github.com/indigo-dc/orchent/releases)(choose the latest stable version) and import it using the `docker load` command, e.g.:
Copy file name to clipboardexpand all lines: gitbook/admin.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ yum install golang
48
48
49
49
#### Importing the Docker Container
50
50
If your system is not supported you can still use orchent through a lightweight Docker container.
51
-
Download the container in the release sectionand import it using the `docker load` command:
51
+
Download the container in the [release section](https://github.com/indigo-dc/orchent/releases) (choose the latest stable version) and import it using the `docker load` command, e.g.:
--help Show context-sensitive help (also try --help-long and --help-man).
146
-
--version Show application version.
147
-
-u, --url=URL the base url of the orchestrator rest interface. Alternative the environment
148
-
variable 'ORCHENT_URL' can be used: 'export ORCHENT_URL=<the_url>'
149
-
--callback="" the callback url
145
+
--help Show context-sensitive help (also try --help-long and --help-man).
146
+
--version Show application version.
147
+
-u, --url=URL the base url of the orchestrator rest interface. Alternative the environment variable 'ORCHENT_URL' can be used: 'export ORCHENT_URL=<the_url>'
148
+
--callback="" the callback url
149
+
--maxProvidersRetry=MAXPROVIDERSRETRY
150
+
Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).
151
+
--keepLastAttempt=true In case of failure, keep the resources allocated in the last try (Default: true).
Copy file name to clipboardexpand all lines: orchent.go
+26-17
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ import (
18
18
"strings"
19
19
)
20
20
21
-
constOrchentVersionstring="1.2.0"
21
+
constOrchentVersionstring="1.2.1"
22
22
23
23
var (
24
24
app=kingpin.New("orchent", "The orchestrator client. \n\nPlease either store your access token in 'ORCHENT_TOKEN' or set the account to use with oidc-agent in the 'ORCHENT_AGENT_ACCOUNT' and the socket of the oidc-agent in the 'OIDC_SOCK' environment variable: \n export ORCHENT_TOKEN=<your access token> \n OR \n export OIDC_SOCK=<path to the oidc-agent socket> (usually this is already exported) \n export ORCHENT_AGENT_ACCOUNT=<account to use> \nIf you need to specify the file containing the trusted root CAs use the 'ORCHENT_CAFILE' environment variable: \n export ORCHENT_CAFILE=<path to file containing trusted CAs>\n\n").Version(OrchentVersion)
@@ -32,16 +32,20 @@ var (
32
32
showDep=app.Command("depshow", "show a specific deployment")
33
33
showDepUuid=showDep.Arg("uuid", "the uuid of the deployment to display").Required().String()
34
34
35
-
createDep=app.Command("depcreate", "create a new deployment")
36
-
createDepCallback=createDep.Flag("callback", "the callback url").Default("").String()
37
-
createDepTemplate=createDep.Arg("template", "the tosca template file").Required().File()
38
-
createDepParameter=createDep.Arg("parameter", "the parameter to set (json object)").Required().String()
39
-
40
-
updateDep=app.Command("depupdate", "update the given deployment")
41
-
updateDepCallback=updateDep.Flag("callback", "the callback url").Default("").String()
42
-
updateDepUuid=updateDep.Arg("uuid", "the uuid of the deployment to update").Required().String()
43
-
updateDepTemplate=updateDep.Arg("template", "the tosca template file").Required().File()
44
-
updateDepParameter=updateDep.Arg("parameter", "the parameter to set (json object)").Required().String()
35
+
createDep=app.Command("depcreate", "create a new deployment")
36
+
createDepCallback=createDep.Flag("callback", "the callback url").Default("").String()
37
+
createDepMaxProvidersRetry=createDep.Flag("maxProvidersRetry", "Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).").Uint8()
38
+
createDepKeepLastAttempt=createDep.Flag("keepLastAttempt", "In case of failure, keep the resources allocated in the last try (Default: true).").Default("true").Enum("true", "false")
39
+
createDepTemplate=createDep.Arg("template", "the tosca template file").Required().File()
40
+
createDepParameter=createDep.Arg("parameter", "the parameter to set (json object)").Required().String()
41
+
42
+
updateDep=app.Command("depupdate", "update the given deployment")
43
+
updateDepCallback=updateDep.Flag("callback", "the callback url").Default("").String()
44
+
updateDepMaxProvidersRetry=updateDep.Flag("maxProvidersRetry", "Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).").Uint8()
45
+
updateDepKeepLastAttempt=updateDep.Flag("keepLastAttempt", "In case of failure, keep the resources allocated in the last try (Default: true).").Default("true").Enum("true", "false")
46
+
updateDepUuid=updateDep.Arg("uuid", "the uuid of the deployment to update").Required().String()
47
+
updateDepTemplate=updateDep.Arg("template", "the tosca template file").Required().File()
48
+
updateDepParameter=updateDep.Arg("parameter", "the parameter to set (json object)").Required().String()
45
49
46
50
depTemplate=app.Command("deptemplate", "show the template of the given deployment")
47
51
templateDepUuid=depTemplate.Arg("uuid", "the uuid of the deployment to get the template").Required().String()
@@ -177,9 +181,11 @@ type OrchentResourceList struct {
0 commit comments