Skip to content

Commit e5910b0

Browse files
author
cfsdocs
committed
Build 2044
1 parent d1face7 commit e5910b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

batch-tutorial.md

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

33
copyright:
44
years: 2020, 2024
5-
lastupdated: "2024-01-17"
5+
lastupdated: "2024-01-25"
66

77
keywords: job tutorial, jobs, images for code engine jobs, tutorial for code engine, job log
88

@@ -103,7 +103,7 @@ When the job is in a ready state, you can update the job. Let's update the job t
103103
4. From the Submit job pane, review and optionally change default configuration values such as instances, CPU, memory, number of job retries, and job timeout. You can specify either **Array size** or **Array indices** for the parallel job instances to run. For **Array size**, provide the number of instances to run in parallel for this job. For **Array indices**, provide a comma-separated list for your custom set of indices. For example, to run this job with a custom set of `5` indices, specify `3,12-14,25`. Click **Submit job** again to run your job. The system displays the status of the instances of your job on the Job details page.
104104
5. By [viewing job logs from the console](/docs/codeengine?topic=codeengine-view-logs#view-joblogs-ui) for this job, the output of the job is `Hello World!`.
105105
6. To update the job again and add an environment variable, navigate to your job page.
106-
7. From the **Configuration > Enviroment variables** tab, click **Add environment variable**. Add a literal environment variable with the name of `TARGET` with a value of `Sunshine`. The `icr.io/codeengine/testjob` outputs the message, `Hello <value_of_TARGET>!>`.
106+
7. From the **Configuration > Environment variables** tab, click **Add environment variable**. Add a literal environment variable with the name of `TARGET` with a value of `Sunshine`. The `icr.io/codeengine/testjob` outputs the message, `Hello <value_of_TARGET>!>`.
107107
8. Click **Add** to add your environment variable and then click **Save** to save the changes to your job.
108108
9. Click **Submit job** to submit the updated job.
109109
10. From the Submit job pane, review and optionally change default configuration values such as instances, CPU, memory, number of job retries, and job timeout. This time, specify **Array size** as `3`. Click **Submit job** again to run your job. The system displays the status of the instances of your job on the Job details page. From the `Configuration` section of the Job details page, the information about the number of instances is displayed as **Array indices**, which is `0 - 2` for this example.

landing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "Code Engine",
3-
"lastupdated": "2024-01-24",
3+
"lastupdated": "2024-01-25",
44
"introduction": "Find out how you can use Code Engine to run your containerized workloads",
55
"section_devtools": {
66
"api": "/apidocs/codeengine/v2",

0 commit comments

Comments
 (0)