Skip to content

Commit 365bf1b

Browse files
author
cfsdocs
committed
Merge pull request #1733 from coligo/fmo-upd-20Jan22-b
1 parent 4f8e1a1 commit 365bf1b

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

build.md

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

33
copyright:
44
years: 2022
5-
lastupdated: "2022-01-19"
5+
lastupdated: "2022-01-20"
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

@@ -25,7 +25,7 @@ Note that if you build multiple versions of the same container image, the most c
2525
## Create a build configuration that pulls source from public repository
2626
{: #build-create-config}
2727

28-
You can create a build configuration that pulls source from a public repository. You must specify the details of your source repository, the build [strategy](/docs/codeengine?topic=codeengine-plan-build#build-strategy), and the [build size](/docs/codeengine?topic=codeengine-plan-build#build-size) that you decided to use, and the container image details to store the container image.
28+
You can create a build configuration that pulls source from a public repository. You must specify the details of your source, the build [strategy](/docs/codeengine?topic=codeengine-plan-build#build-strategy), and the [build size](/docs/codeengine?topic=codeengine-plan-build#build-size) that you decided to use, and the container image details to store the container image.
2929

3030
Creating a build configuration does not create an image, but creates the configuration to build an image. You must then run a build that references the build configuration to create an image. The build configuration is not validated or used to create an image until the build is run. The build configuration enables multiple subsequent builds of an image, such as when changes are applied to the source repository.
3131
{: tip}
@@ -189,7 +189,7 @@ ibmcloud ce build create --name helloworld-build-private --image us.icr.io/mynam
189189
## Create a build configuration that pulls source from a local directory
190190
{: #build-config-local}
191191

192-
You can create a build configuration that pulls source from a local directory by using the {{site.data.keyword.codeengineshort}} CLI. You must specify the details of your source repository, the build [strategy](/docs/codeengine?topic=codeengine-plan-build#build-strategy), and the [build size](/docs/codeengine?topic=codeengine-plan-build#build-size) that you decided to use, and the container image details to store the container image.
192+
You can create a build configuration that pulls source from a local directory by using only the {{site.data.keyword.codeengineshort}} CLI. You must specify the details of your source repository, the build [strategy](/docs/codeengine?topic=codeengine-plan-build#build-strategy), and the [build size](/docs/codeengine?topic=codeengine-plan-build#build-size) that you decided to use, and the container image details to store the container image.
193193

194194
When you submit a build that pulls code from a local directory, your source code is packed into an archive file and uploaded to your {{site.data.keyword.registrylong_notm}} instance. You can choose to ignore certain file patterns from within your source code by using the `.ceignore` file, which behaves similarly to a `.gitignore` file. The source image is created in the same namespace as your build image.
195195

@@ -199,7 +199,7 @@ Creating a build configuration does not create an image, but creates the configu
199199
### Creating a build configuration with the CLI (local)
200200
{: #build-config-local-cli}
201201

202-
To create a build configuration that pulls code from a local directory with the CLI, use the **`build create`** command and specify the `build-type` as `local`. This command requires a name, an image, a source code location, and a registry secret and also allows other optional arguments. For a complete listing of options, see the [**`ibmcloud ce build create`**](/docs/codeengine?topic=codeengine-cli#cli-build-create) command.
202+
To create a build configuration that pulls code from a local directory with the CLI, use the **`build create`** command and specify the `build-type` as `local`. This command requires a name, an image, and a registry secret and also allows other optional arguments. For a complete listing of options, see the [**`ibmcloud ce build create`**](/docs/codeengine?topic=codeengine-cli#cli-build-create) command.
203203
{: shortdesc}
204204

205205
Before you begin
@@ -329,7 +329,7 @@ The following scenario clones the [Samples for {{site.data.keyword.codeengineful
329329

330330
```sh
331331
Getting build 'build-local-dockerfile'
332-
Packaging files to upload from source './helloworld' ...
332+
Packaging files to upload from source path './helloworld' ...
333333
Submitting build run 'buildrun-local-dockerfile'...
334334
Run 'ibmcloud ce buildrun get -n buildrun-local-dockerfile' to check the build run status.
335335
OK
@@ -372,7 +372,7 @@ The following scenario clones the [Samples for {{site.data.keyword.codeengineful
372372
```
373373
{: screen}
374374

375-
When you submit a build that pulls code from a local directory, your source code is packed into an archive file and uploaded to your {{site.data.keyword.registrylong_notm}} instance. After the build is completed, you can see your built image, such as `codeengine-build`, in the {{site.data.keyword.registrylong_notm}} instance. You also see a source image with `-source` appended to the name of your build, such as `codeengine-build-source`. You can delete this source image without impact.
375+
When you submit a build that pulls code from a local directory, your source code is packed into an archive file and uploaded to your {{site.data.keyword.registrylong_notm}} instance. After the build run is completed, you can see your built image, such as `codeengine-build`, in the {{site.data.keyword.registrylong_notm}} instance. You also see a source image with `-source` appended to the name of your build, such as `codeengine-build-source`. You can delete this source image without impact.
376376
{: note}
377377

378378
For more information about builds, check the [troubleshooting tips](/docs/codeengine?topic=codeengine-troubleshoot-build).

job-plan.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-01-18"
5+
lastupdated: "2022-01-20"
66

77
keywords: jobs in code engine, batch jobs in code engine, running jobs with code engine, creating jobs with code engine, images for jobs in code engine, jobs, job run, environment variables
88

@@ -38,7 +38,10 @@ You can build your job from source code by using the [build container images](/d
3838

3939
Note that each time your job runs, the most current version of your referenced container image is downloaded and run.
4040

41+
## Considerations for HTTP handling
42+
{: #considerationshttphandlingjob}
4143

44+
When you are working with jobs (or apps), it is helpful to be aware of basic HTTP handling in {{site.data.keyword.codeengineshort}}. See [Considerations for HTTP handling](/docs/codeengine?topic=codeengine-application-workloads#considerationshttphandlingapp)
4245

4346
## Options for creating and running a job
4447
{: #job-options}

sitemap.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
keywords: sitemap, code engine, about, tutorial, project, app, job, configmaps, secret, event, log, monitor, cli, api, troubleshoot, support, source code, faq, memory, cpu, commands, arguments, release notes
88

@@ -354,6 +354,8 @@ Find what you are looking for in the compilation of {{site.data.keyword.codeengi
354354

355355
* [Plan a container image for {{site.data.keyword.codeengineshort}} jobs](/docs/codeengine?topic=codeengine-job-plan#job-containerimage)
356356

357+
* [Considerations for HTTP handling](/docs/codeengine?topic=codeengine-job-plan#considerationshttphandlingjob)
358+
357359
* [Options for creating and running a job](/docs/codeengine?topic=codeengine-job-plan#job-options)
358360

359361
* [Memory and CPU for jobs](/docs/codeengine?topic=codeengine-job-plan#job-options-combo)

0 commit comments

Comments
 (0)