Skip to content

Commit 6e52fc0

Browse files
author
cfsdocs
committed
Merge pull request #1711 from coligo/cli-update
1 parent 2d839df commit 6e52fc0

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

cmd_defs.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2022
5-
lastupdated: "2022-01-13"
5+
lastupdated: "2022-01-20"
66

77
keywords: cli for code engine, command-line interface for code engine, cli commands for code engine, reference for code engine cli, ibmcloud ce, ibmcloud codeengine, commands, code engine cli, apps, jobs, source code, configmap, build repository, build, secret, image repository, registry, example, example output
88

@@ -64,9 +64,6 @@ ibmcloud ce application bind --name APP_NAME --service-instance SI_NAME [--no-wa
6464
`--name`, `-n`
6565
: The name of the application to bind. This value is *required*.
6666

67-
`--service-instance`, `--si`
68-
: The name of an existing {{site.data.keyword.cloud_notm}} service instance to bind to the application. This value is *required*.
69-
7067
`--no-wait`, `--nw`
7168
: Bind the service instance and do not wait for the service binding to be ready. If you specify the `no-wait` option, the service binding creation is started and the command exits without waiting for it to complete. Use the `app get` command to check the app bind status. This value is *optional*. The default value is `false`.
7269

@@ -82,6 +79,9 @@ ibmcloud ce application bind --name APP_NAME --service-instance SI_NAME [--no-wa
8279
`--service-credential`, `--sc`
8380
: The name of an existing service credential to use for this service binding. If you do not specify a service instance credential, new credentials are generated during the bind action. This value is *optional*.
8481

82+
`--service-instance`, `--si`
83+
: The name of an existing {{site.data.keyword.cloud_notm}} service instance to bind to the application. This value is *optional*.
84+
8585
`--wait`, `-w`
8686
: Bind the service instance and wait for the service binding to be ready. If you specify the `--wait` option, the app bind waits for a maximum time in seconds, as set by the `--wait-timeout` option, for the app bind to complete successfully. If the app bind is not completed successfully or fails within the specified `--wait-timeout` period, the command fails. This value is *optional*. The default value is `true`.
8787

@@ -901,7 +901,7 @@ You can use either `build` or `bd` in your `build` commands. To see CLI help for
901901
Create a build.
902902

903903
```
904-
ibmcloud ce build create --name BUILD_NAME --image IMAGE_REF --registry-secret REGISTRY_REF [--commit COMMIT] [--context-dir CONTEXT_DIR] [--dockerfile DOCKERFILE] [--force] [--git-repo-secret GIT_REPO_SECRET] [--output OUTPUT] [--quiet] [--size SIZE] [--source SOURCE] [--strategy STRATEGY] [--timeout TIMEOUT]
904+
ibmcloud ce build create --name BUILD_NAME --image IMAGE_REF --registry-secret REGISTRY_REF [--build-type BUILD_TYPE] [--commit COMMIT] [--context-dir CONTEXT_DIR] [--dockerfile DOCKERFILE] [--force] [--git-repo-secret GIT_REPO_SECRET] [--output OUTPUT] [--quiet] [--size SIZE] [--source SOURCE] [--strategy STRATEGY] [--timeout TIMEOUT]
905905
```
906906
{: pre}
907907

@@ -922,6 +922,9 @@ ibmcloud ce build create --name BUILD_NAME --image IMAGE_REF --registry-secret R
922922
`--registry-secret`, `--rs`
923923
: The image registry access secret that is used to access the registry. You can add the image registry access secret by running the `registry create` command. This value is *required*.
924924

925+
`--build-type`, `--bt`
926+
: The type of build. Valid values are `git` and `local`. If the type of build is `local`, then the `--source`, `--commit`, and `--git-repo-secret` options are not valid. This value is *optional*. The default value is `git`.
927+
925928
`--commit`, `--cm`, `--revision`
926929
: The commit, tag, or branch in the source repository to pull. The commit option is allowed if the `--build-type` option is `git` and not allowed if the `--build-type` option is `local`. This value is *optional*.
927930

@@ -1592,7 +1595,7 @@ mybuildrun-v2mb8-pod-tlzdx/step-image-digest-exporter-hcvmf:
15921595
Submit a build run.
15931596

15941597
```
1595-
ibmcloud ce buildrun submit --build BUILD_NAME [--image IMAGE] [--name NAME] [--no-wait] [--output OUTPUT] [--quiet] [--service-account SERVICE_ACCOUNT] [--timeout TIMEOUT] [--wait] [--wait-timeout WAIT_TIMEOUT]
1598+
ibmcloud ce buildrun submit --build BUILD_NAME [--image IMAGE] [--name NAME] [--no-wait] [--output OUTPUT] [--quiet] [--service-account SERVICE_ACCOUNT] [--source SOURCE] [--timeout TIMEOUT] [--wait] [--wait-timeout WAIT_TIMEOUT]
15961599
```
15971600
{: pre}
15981601

@@ -1625,6 +1628,9 @@ ibmcloud ce buildrun submit --build BUILD_NAME [--image IMAGE] [--name NAME] [--
16251628
`--service-account`, `--sa`
16261629
: The name of the service account. A service account provides an identity for processes that run in an instance. For built-in service accounts, you can use the shortened names `manager`, `none`, `reader`, and `writer`. You can also use the full names that are prefixed with the `Kubernetes Config Context`, which can be determined with the `project current` command. This value is *optional*.
16271630

1631+
`--source`, `--src`
1632+
: The path to local source. The source option is required if the `--build-type` option on the related build is `local` and not allowed if the `--build-type` option on the related build is `git`. This value is *optional*. The default value is `.`.
1633+
16281634
`--timeout`, `--to`
16291635
: The amount of time, in seconds, that can pass before the build run must succeed or fail. This value is *optional*. The default value is `600`.
16301636

@@ -1993,9 +1999,6 @@ ibmcloud ce job bind --name JOB_NAME --service-instance SI_NAME [--no-wait] [--p
19931999
`--name`, `-n`
19942000
: The name of the job to bind. This value is *required*.
19952001

1996-
`--service-instance`, `--si`
1997-
: The name of an existing {{site.data.keyword.cloud_notm}} service instance to bind to the job. This value is *required*.
1998-
19992002
`--no-wait`, `--nw`
20002003
: Bind the service instance and do not wait for the service binding to be ready. If you specify the `--no-wait` option, the service binding creation is started and the command exits without waiting for it to complete. Use the `job get` command to check the job bind status. This value is *optional*. The default value is `false`.
20012004

@@ -2011,6 +2014,9 @@ ibmcloud ce job bind --name JOB_NAME --service-instance SI_NAME [--no-wait] [--p
20112014
`--service-credential`, `--sc`
20122015
: The name of an existing service credential to use for this service binding. If you do not specify a service instance credential, new credentials are generated during the bind action. This value is *optional*.
20132016

2017+
`--service-instance`, `--si`
2018+
: The name of an existing {{site.data.keyword.cloud_notm}} service instance to bind to the job. This value is *optional*.
2019+
20142020
`--wait`, `-w`
20152021
: Bind the service instance and wait for the service binding to be ready. If you specify the `--wait` option, the job bind waits for a maximum time in seconds, as set by the `--wait-timeout` option, for the job bind to complete successfully. If the job bind is not completed successfully or fails within the specified `--wait-timeout` period, the command fails. This value is *optional*. The default value is `true`.
20162022

@@ -5729,4 +5735,3 @@ commit: 3ab130b746f4784c9ff8d3da7bb05b6e7acda6d5
57295735
57305736
57315737
5732-

0 commit comments

Comments
 (0)