Skip to content

Commit 3405f0b

Browse files
foverbyGitHub Enterprise
authored andcommitted
Merge pull request #179 from cloud-docs/next-prod-push
Next publish push
2 parents 7cefab0 + 9b6cbd6 commit 3405f0b

11 files changed

+202
-36
lines changed

app-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, 2022
5-
lastupdated: "2022-01-12"
5+
lastupdated: "2022-01-13"
66

77
keywords: app tutorial for code engine, application, apps, images, tutorial for code engine, deploying
88

@@ -37,7 +37,7 @@ Tutorials might incur costs. Use the Cost Estimator to generate a cost estimate
3737
{: #deploy-app-image-file}
3838
{: step}
3939

40-
This tutorial uses a sample image, `icr.io/codeengine/hello`, which is a simple `Hello World` program. The program includes an environment variable `TARGET`, and prints `Hello ${TARGET}`. If the environment variable is empty, `Hello World` is returned. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/blob/main/hello){: external}.
40+
This tutorial uses a sample image, `icr.io/codeengine/hello`, which is a simple `Hello World` program. The program includes an environment variable `TARGET`, and prints `Hello ${TARGET}`. If the environment variable is empty, `Hello World` is returned. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/tree/main/hello){: external}.
4141

4242
If you have a container image that you want to use, you can replace the image reference in the next step with your own Docker repository, image name, and version.
4343

appdeploy-update.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, 2022
5-
lastupdated: "2022-01-12"
5+
lastupdated: "2022-01-13"
66

77
keywords: applications in code engine, apps in code engine, http requests in code engine, deploy apps in code engine, app workloads in code engine, deploying workloads in code engine, application, app, memory, cpu, environment variables
88

@@ -86,7 +86,7 @@ To update your app with the CLI, use the **`app update`** command. This command
8686

8787
Update the application that you created in [Deploying an application with the CLI](/docs/codeengine?topic=codeengine-deploy-app#deploy-app-cli) to add an environment variable.
8888

89-
The sample `icr.io/codeengine/hello` image reads the environment variable `TARGET`, and prints `Hello ${TARGET}`. If this environment variable is empty, `Hello World` is returned. The following example updates the app to modify the value of the `TARGET` environment variable to `Stranger`. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/blob/main/hello){: external}.
89+
The sample `icr.io/codeengine/hello` image reads the environment variable `TARGET`, and prints `Hello ${TARGET}`. If this environment variable is empty, `Hello World` is returned. The following example updates the app to modify the value of the `TARGET` environment variable to `Stranger`. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/tree/main/hello){: external}.
9090

9191
1. Run the **`application update`** command. For example,
9292

cli-changelog.md

Lines changed: 2 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-06"
5+
lastupdated: "2022-01-13"
66

77
keywords: cli change log for code engine, cli version for code engine, change log for cli in code engine, cli history for code engine, change log, cli version history
88

@@ -20,6 +20,7 @@ Find a summary of changes for each version of {{site.data.keyword.codeenginefull
2020

2121
| Version | Release date | Changes |
2222
| ----- | ------- | -------------- |
23+
| 1.24.0 | 13 January 2022| - Added the **`application restart`** and **`jobrun restart`** commands to restart running app and job run instances. \n - Added the **`buildrun cancel`** command to stop a running build run. \n - Added support for working with configuration maps and secrets with jobs and job runs as mounted files. For this support, added the `--mount-configmap` and `--mount-secret` options to the **`job create`**, **`job update`**, **`jobrun submit`** and **`jobrun resubmit`** commands. Added the `--mount-rm` option to the **`job update`** and **`jobrun resubmit`** commands to remove the contents of the configmap or secret from the file system for the job or job run. Updated the output for the **`job get`** and **`jobrun get`** commands to add a `Mounts` section to display information about mounted files. \n - Updated description of `kubecfg` option for the **`project select`** command to clarify that the `KUBECONFIG` environment variable can be used to override the Kubernetes configuration file. \n - Fixed various bugs. \n - Updated translations for the CLI. \n - Upgraded to Go 1.17.6.|
2324
| 1.23.3 | 15 December 2021 | - Fixed various bugs. \n - Updated translations for the CLI. \n - Upgraded to Go 1.17.5. |
2425
| 1.23.2 | 01 December 2021 | - Fixed various bugs. \n - Updated translations for the CLI. |
2526
| 1.23.1 | 19 November 2021 | - Fixed various bugs. |

cmd_defs.md

Lines changed: 166 additions & 13 deletions
Large diffs are not rendered by default.

configmap-secret-referencing-vol.md

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

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

77
keywords: configmaps with code engine, secrets with code engine, key references with code engine, key-value pair with code engine, referencing secrets with code engine, referencing configmaps with code engine, configmaps, secrets, environment variables
88

@@ -15,7 +15,7 @@ subcollection: codeengine
1515
# Referencing secrets and configmaps as mounted files (CLI)
1616
{: #secretcm-reference-mountedfiles}
1717

18-
In {{site.data.keyword.codeengineshort}}, after you create secrets and configmaps, the information that is stored as key-value pairs can be consumed by your application as a mounted file.
18+
In {{site.data.keyword.codeengineshort}}, after you create secrets and configmaps, the information that is stored as key-value pairs can be consumed by your job or application as a mounted file.
1919
{: shortdesc}
2020

2121
Working with secrets and configmaps as mounted files is similar to working with secrets and configmaps as environment variables.

configmap-secret.md

Lines changed: 3 additions & 3 deletions
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-13"
66

77
keywords: configmaps with code engine, secrets with code engine, key references with code engine, key-value pair with code engine, setting up secrets with code engine, setting up configmaps with code engine, configmaps, secrets, environment variables
88

@@ -256,7 +256,7 @@ The following example describes how to reference an existing configmap with an a
256256
```
257257
{: pre}
258258
259-
2. [Deploy an app](/docs/codeengine?topic=codeengine-deploy-app#deploy-app-cli) and reference the `myliteralconfigmap` configmap. For this example, create an app that uses the `hello` image. When a request is sent to this sample app, the app reads the environment variable `TARGET` and prints `Hello ${TARGET}`. If this environment variable is empty, `Hello World` is returned. Reference the `myliteralconfigmap` configmap. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/blob/main/hello){: external}.
259+
2. [Deploy an app](/docs/codeengine?topic=codeengine-deploy-app#deploy-app-cli) and reference the `myliteralconfigmap` configmap. For this example, create an app that uses the `hello` image. When a request is sent to this sample app, the app reads the environment variable `TARGET` and prints `Hello ${TARGET}`. If this environment variable is empty, `Hello World` is returned. Reference the `myliteralconfigmap` configmap. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/tree/main/hello){: external}.
260260
261261
```sh
262262
ibmcloud ce app create --name myhelloapp --image icr.io/codeengine/hello --env-from-configmap myliteralconfigmap
@@ -365,7 +365,7 @@ When you use the `--force` option with these commands, the action to create, upd
365365
366366
The following example describes how to reference a configmap that is not yet defined with an app by using the CLI.
367367
368-
1. [Create an app](/docs/codeengine?topic=codeengine-application-workloads) and reference the undefined `myliteralconfigmap3` configmap. For this example, create a {{site.data.keyword.codeengineshort}} app that uses the `icr.io/codeengine/hello` image. When a request is sent to this sample app, the app reads the environment variable `TARGET` and prints `Hello ${TARGET}`. If this environment variable is empty, `Hello World` is returned. Reference the `myliteralconfigmap3` configmap. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/blob/main/hello){: external}.
368+
1. [Create an app](/docs/codeengine?topic=codeengine-application-workloads) and reference the undefined `myliteralconfigmap3` configmap. For this example, create a {{site.data.keyword.codeengineshort}} app that uses the `icr.io/codeengine/hello` image. When a request is sent to this sample app, the app reads the environment variable `TARGET` and prints `Hello ${TARGET}`. If this environment variable is empty, `Hello World` is returned. Reference the `myliteralconfigmap3` configmap. For more information about the code that is used for this example, see [`hello`](https://github.com/IBM/CodeEngine/tree/main/hello){: external}.
369369
370370
By using the `--no-wait` option with the **`app create`** command, the app is created and does not wait for the app to be ready.
371371

getting-started.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, 2022
5-
lastupdated: "2022-01-12"
5+
lastupdated: "2022-01-13"
66

77
keywords: getting started with ibm cloud code engine, code engine, ibm cloud code engine, jobs in code engine, apps in code engine, builds with code engine, {{site.data.keyword.codeenginefull_notm}}, building container image, source code
88

@@ -56,7 +56,7 @@ Create your first {{site.data.keyword.codeengineshort}} app by using the `icr.io
5656
3. Select **Application**.
5757
4. Enter a name for the application. Use a name for your application that is unique within the project.
5858
5. Select a project from the list of available projects. You can also [create a new one](/docs/codeengine?topic=codeengine-manage-project#create-a-project). Note that you must have a selected project to deploy an app.
59-
6. Select to run a **Container image** and specify `icr.io/codeengine/helloworld` for the image reference. For this example, you do not need to modify the default values for endpoint or runtime settings. For more information about the code that is used for this example, see [`helloworld`](https://github.com/IBM/CodeEngine/blob/main/helloworld){: external}.
59+
6. Select to run a **Container image** and specify `icr.io/codeengine/helloworld` for the image reference. For this example, you do not need to modify the default values for endpoint or runtime settings. For more information about the code that is used for this example, see [`helloworld`](https://github.com/IBM/CodeEngine/tree/main/helloworld){: external}.
6060
7. Click **Create**.
6161
8. After the application status changes to **Ready**, you can test the application. Click **Test application** and then click **Send request** in the Test application pane. To open the application in a web page, click **Application URL**.
6262

monitor-custom.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22

33
copyright:
4-
years: 2021
5-
lastupdated: "2021-12-15"
4+
years: 2022
5+
lastupdated: "2022-01-13"
66

77
keywords: monitoring for code engine, performance metrics, monitor, metrics, requests, pods, application, attributes, jobrun, panic mode, custom dashboards
88

@@ -35,7 +35,7 @@ Before you can create a custom dashboard in {{site.data.keyword.mon_short}}, you
3535

3636
2. Ensure that there is monitoring data available. Because designing a custom dashboard is easier when you have data to monitor, it is important to have a running [application](/docs/codeengine?topic=codeengine-application-workloads) or [job](/docs/codeengine?topic=codeengine-job-plan). Some of the {{site.data.keyword.codeengineshort}} metrics only exist if they are available in the environment.
3737

38-
3. Review the available [metrics](/docs/codeengine?topic=codeengine-monitor#metrics-available-by-service-plan) for {{site.data.keyword.codeengineshort}}.
38+
3. Review the available [metrics](/docs/codeengine?topic=codeengine-monitor#metrics-by-plan) for {{site.data.keyword.codeengineshort}}.
3939

4040
4. Access your {{site.data.keyword.mon_full_notm}} metrics.
4141
1. From the {{site.data.keyword.cloud_notm}} navigation menu, select **Observability**.

plan-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-07"
5+
lastupdated: "2022-01-13"
66

77
keywords: build for code engine, planning for code engine, source code building for code engine, source code repositories and code engine, image builds for code engine, container image builds for code engine, build strategy for code engine, build size for code engine, build, build run, source repository, image registry
88

@@ -25,7 +25,7 @@ A build, or image build, is a mechanism that you can use to create a container i
2525
## Prepare your source location
2626
{: #build-plan-repo}
2727

28-
To give {{site.data.keyword.codeengineshort}} access to your source code, you need to make it available in a Git repository
28+
To give {{site.data.keyword.codeengineshort}} access to your source code, you need to make it available in a Git repository.
2929
{: shortdesc}
3030

3131
Git repository
@@ -51,13 +51,13 @@ When you pull an image from Docker Hub to use with apps or jobs in Code Engine,
5151

5252
| Runtime | Version | Samples |
5353
| --------- | ------- | ------- |
54-
| Go | 1.16.9 | [Go samples](https://github.com/paketo-buildpacks/samples/tree/main/go){: external}. |
54+
| Go | 1.16.12 | [Go samples](https://github.com/paketo-buildpacks/samples/tree/main/go){: external}. |
5555
| Java | 11.0.13 | [Java samples](https://github.com/paketo-buildpacks/samples/tree/main/java){: external}. |
56-
| Node.js | 16.13.0 | [Node.js samples](https://github.com/paketo-buildpacks/samples/tree/main/nodejs){: external}. |
56+
| Node.js | 16.13.1 | [Node.js samples](https://github.com/paketo-buildpacks/samples/tree/main/nodejs){: external}. |
5757
| PHP | 8.0.13 | [PHP samples](https://github.com/paketo-buildpacks/samples/tree/main/php){: external}. |
5858
| Python | 3.8.12 | [Python samples](https://github.com/paketo-buildpacks/samples/tree/main/python){: external}. |
59-
| Ruby | 2.7.4 | [Ruby samples](https://github.com/paketo-buildpacks/samples/tree/main/ruby){: external}. |
60-
| .NET Core | 5.0.403 (.NET Core SDK), \n 5.0.12 (.NET Core Runtime) | [.NET Core samples](https://github.com/paketo-buildpacks/samples/tree/main/dotnet-core){: external}. |
59+
| Ruby | 2.7.5 | [Ruby samples](https://github.com/paketo-buildpacks/samples/tree/main/ruby){: external}. |
60+
| .NET Core | 6.0.101 (.NET Core SDK), \n 6.0.1 (.NET Core Runtime) | [.NET Core samples](https://github.com/paketo-buildpacks/samples/tree/main/dotnet-core){: external}. |
6161
{: caption="Runtime sample files" caption-side="top"}
6262

6363

release-notes.md

Lines changed: 11 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-12"
5+
lastupdated: "2022-01-13"
66

77
keywords: release notes for code engine, updates in code engine, what's new in code engine, document changes in code engine, updates, release notes
88

@@ -24,6 +24,16 @@ Use the release notes to learn about the latest changes to {{site.data.keyword.c
2424
Review the release notes for January 2022.
2525
{: shortdesc}
2626

27+
### 13 January 2022
28+
{: #13jan2022}
29+
{: release-note}
30+
31+
Review the release notes for 13 January 2022.
32+
{: shortdesc}
33+
34+
CLI version 1.24.0 released.
35+
: See [CLI version history](/docs/codeengine?topic=codeengine-cli_versions).
36+
2737
### 12 January 2022
2838
{: #12jan2022}
2939
{: release-note}

0 commit comments

Comments
 (0)