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: build.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2022
5
-
lastupdated: "2022-01-19"
5
+
lastupdated: "2022-01-20"
6
6
7
7
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
8
8
@@ -25,7 +25,7 @@ Note that if you build multiple versions of the same container image, the most c
25
25
## Create a build configuration that pulls source from public repository
26
26
{: #build-create-config}
27
27
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.
29
29
30
30
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.
## Create a build configuration that pulls source from a local directory
190
190
{: #build-config-local}
191
191
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.
193
193
194
194
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.
195
195
@@ -199,7 +199,7 @@ Creating a build configuration does not create an image, but creates the configu
199
199
### Creating a build configuration with the CLI (local)
200
200
{: #build-config-local-cli}
201
201
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.
203
203
{: shortdesc}
204
204
205
205
Before you begin
@@ -329,7 +329,7 @@ The following scenario clones the [Samples for {{site.data.keyword.codeengineful
329
329
330
330
```sh
331
331
Getting build 'build-local-dockerfile'
332
-
Packaging files to upload from source'./helloworld' ...
332
+
Packaging files to upload from sourcepath './helloworld' ...
333
333
Submitting build run 'buildrun-local-dockerfile'...
334
334
Run 'ibmcloud ce buildrun get -n buildrun-local-dockerfile' to check the build run status.
335
335
OK
@@ -372,7 +372,7 @@ The following scenario clones the [Samples for {{site.data.keyword.codeengineful
372
372
```
373
373
{: screen}
374
374
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.
376
376
{: note}
377
377
378
378
For more information about builds, check the [troubleshooting tips](/docs/codeengine?topic=codeengine-troubleshoot-build).
Copy file name to clipboardExpand all lines: job-plan.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2022
5
-
lastupdated: "2022-01-18"
5
+
lastupdated: "2022-01-20"
6
6
7
7
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
8
8
@@ -38,7 +38,10 @@ You can build your job from source code by using the [build container images](/d
38
38
39
39
Note that each time your job runs, the most current version of your referenced container image is downloaded and run.
40
40
41
+
## Considerations for HTTP handling
42
+
{: #considerationshttphandlingjob}
41
43
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)
0 commit comments