Skip to content

Commit fb8aa6a

Browse files
author
cfsdocs
committed
Merge pull request #1757 from coligo/fmo-upd-27Jan22-d
1 parent 6214477 commit fb8aa6a

5 files changed

+15
-15
lines changed

Diff for: build.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2022
5-
lastupdated: "2022-01-26"
5+
lastupdated: "2022-01-27"
66

77
keywords: builds for code engine, builds, building, source code, build run, application image builds for code engine, job image builds for code engine, container image builds with code engine
88

@@ -62,7 +62,7 @@ For example, the following **`build create`** command creates a build configurat
6262
If you are using the `--strategy` option with the value of `dockerfile`, then ensure the `--dockerfile` option is correctly set to the name of the `dockerfile`. The default value for the `--strategy` option is `Dockerfile`.
6363
{: important}
6464

65-
```sh
65+
```txt
6666
ibmcloud ce build create --name helloworld-build --image us.icr.io/mynamespace/codeengine-helloworld --registry-secret myregistry --source https://github.com/IBM/CodeEngine --commit main --context-dir /hello --strategy dockerfile --size medium
6767
```
6868
{: pre}
@@ -320,8 +320,8 @@ The following scenario clones the [Samples for {{site.data.keyword.codeengineful
320320

321321
3. From the directory where your source code resides, submit the build run. The following example runs a build that is called `buildrun-local-dockerfile`and uses the `build-local-dockerfile` build configuration. The `--source` option specifies the path to the source on the local machine to the `helloworld` sample.
322322

323-
```sh
324-
ibmcloud ce buildrun submit buildrun submit -n buildrun-local-dockerfile -b build-local-dockerfile -source ./helloworld
323+
```txt
324+
ibmcloud ce buildrun submit --name buildrun-local-dockerfile --build build-local-dockerfile --source ./helloworld
325325
```
326326
{: pre}
327327

Diff for: cmd_defs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ ibmcloud ce build create --name BUILD_NAME --image IMAGE_REF --registry-secret R
965965

966966
The following example creates a build configuration file called `helloworld-build` from a source Dockerfile, that is located in `https://github.com/IBM/CodeEngine` within the `hello` directory in the `main` branch, with `dockerfile` strategy and `medium` size. When this build is submitted, the container image that is built is stored in a {{site.data.keyword.registryshort}} instance at `us.icr.io/mynamespace/codeengine-helloworld` that is accessed by using an image registry secret called `myregistry`.
967967

968-
```sh
968+
```txt
969969
ibmcloud ce build create --name helloworld-build --source https://github.com/IBM/CodeEngine --context-dir /hello --commit main --strategy dockerfile --size medium --image us.icr.io/mynamespace/codeengine-helloworld --registry-secret myregistry
970970
```
971971
{: pre}
@@ -1199,7 +1199,7 @@ ibmcloud ce build update --name BUILD_NAME [--commit COMMIT] [--context-dir CONT
11991199
#### Example
12001200
{: #build-update-example}
12011201

1202-
```sh
1202+
```txt
12031203
ibmcloud ce build update --name helloworld-build --source https://github.com/IBM/CodeEngine --context-dir /hello --commit main --timeout 900
12041204
```
12051205
{: pre}
@@ -2030,7 +2030,7 @@ ibmcloud ce job bind --name JOB_NAME --service-instance SI_NAME [--no-wait] [--p
20302030

20312031
In this example, bind your service instance called `my-object-storage` to your job that is called `hello`.
20322032

2033-
```sh
2033+
```txt
20342034
ibmcloud ce job bind --name hello --service-instance my-object-storage
20352035
```
20362036
{: pre}

Diff for: service-bind.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ If you already created a credential for your service instance and want to use it
417417
418418
3. Bind the service instance to the application or job with existing credentials. For example, the following **`job bind`** command binds the `my-object-storage` service instance with existing service credentials called `my-cos-credential` to an existing job that is called `my-job`.
419419
420-
```sh
420+
```txt
421421
ibmcloud ce job bind --name my-job --service-instance my-object-storage --service-credential my-cos-credential
422422
```
423423
{: pre}

Diff for: subscription-cos-tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-01-12"
5+
lastupdated: "2022-01-27"
66

77
keywords: tutorial code engine, tutorial cloud object storage for code engine, tutorial cloud object storage, subscribing cloud object storage, subscribing cloud object storage for code engine, object storage, events, app, subscription, code engine
88

@@ -163,7 +163,7 @@ Only account administrators can assign the Notifications Manager role.
163163
164164
For example, to assign the Notifications Manager role to a project named `myproject` for an {{site.data.keyword.cos_short}} instance named `mycosinstance`,
165165
166-
```sh
166+
```txt
167167
ibmcloud iam authorization-policy-create codeengine cloud-object-storage "Notifications Manager" --source-service-instance-name PROJECT --target-service-instance-name COS-INSTANCE
168168
```
169169
{: pre}

Diff for: ts-build-fail-getsourcestepfails.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22

33
copyright:
4-
years: 2020, 2021
5-
lastupdated: "2021-12-16"
4+
years: 2020, 2022
5+
lastupdated: "2022-01-27"
66

77
keywords: troubleshooting for code engine, troubleshooting builds in code engine, tips for builds in code engine, resolution of builds in code engine, builds, public repositories, private repositories
88

@@ -80,7 +80,7 @@ Use the following commands to update the existing build to reference your Git re
8080

8181
1. Use the [**`ibmcloud ce build update`**](/docs/codeengine?topic=codeengine-cli#cli-build-update) command to update the build configuration; for example,
8282

83-
```sh
83+
```txt
8484
ibmcloud ce build update --name <BUILD_NAME> --source <GIT_REPO>
8585
```
8686
{: pre}
@@ -105,7 +105,7 @@ If the failure happened for a public repository, then update the existing build
105105
106106
1. Use the [**`ibmcloud ce build update`**](/docs/codeengine?topic=codeengine-cli#cli-build-update) command to update the build configuration to use the HTTPS URL of the Git repository; for example,
107107
108-
```sh
108+
```txt
109109
ibmcloud ce build update --name <BUILD_NAME> --source <GIT_REPO>
110110
```
111111
{: pre}
@@ -168,7 +168,7 @@ To create a Git repository access secret and use the SSH protocol,
168168
169169
2. Use the [**`ibmcloud ce build update`**](/docs/codeengine?topic=codeengine-cli#cli-build-update) command to update the build configuration to use the SSH URL of the Git repository and reference the Git repository access secret. For example,
170170
171-
```sh
171+
```txt
172172
ibmcloud ce build update --name <BUILD_NAME> --source <GIT_REPO> --git-repo-secret <GIT_REPO_SECRET>
173173
```
174174
{: pre}

0 commit comments

Comments
 (0)