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
A build, or image build, is a mechanism that you can use to create a container image from your source code. {{site.data.keyword.codeengineshort}} supports building from a Dockerfile and Cloud Native Buildpacks.
24
+
{: shortdesc}
26
25
27
-
**Before you begin**
26
+
Before you begin
28
27
29
28
-[Set up your {{site.data.keyword.codeengineshort}} CLI environment](/docs/codeengine?topic=codeengine-install-cli).
30
29
-[Create and work with a project](/docs/codeengine?topic=codeengine-manage-project).
|`Defined by`|Specifies whether the environment variable is of type `literal`, or whether the environment variable is a fully referenced configmap or secret, or whether specific keys of a secret or configmap are referenced. |
69
+
|`Defined by`| Specifies whether the environment variable is of type `literal`, or whether the environment variable is a fully referenced configmap or secret, or whether specific keys of a secret or configmap are referenced. |
70
70
|`Value or reference`| Displays the literal value, the fully referenced configmap or secret, or the referenced keys of a configmap or secret. |
71
71
{: caption="Table of environment variables"}
72
72
@@ -88,6 +88,7 @@ For example, let's create an app and set environment variables for the app.
88
88
When you set environment variables in your app or job, this action adds a new environment variable or overrides an existing environment variable. If you have an environment variable with the same *Name*, and specify a different *value* than the previously defined environment variable, then the updated environment variable overrides the existing value. For example, if you have a defined environment variable that is named `envvar1` and its value is `myenvar1`, and you define another environment variable that is also named `envvar1` and specify its value as `mynewenvvar1`, then after you save and deploy your updated app or you save your updated job, your running app, or job uses the `envvar1` environment variable with value `mynewenvvar1`.
89
89
{: note}
90
90
91
+
91
92
### Updating environment variables from the console
92
93
{: #envvar-update-ui}
93
94
@@ -113,6 +114,7 @@ Before you begin
113
114
* Set up your [{{site.data.keyword.codeengineshort}} CLI](/docs/codeengine?topic=codeengine-install-cli) environment.
114
115
*[Create and work with a project](/docs/codeengine?topic=codeengine-manage-project).
115
116
117
+
116
118
#### Create and update environment variables for your app
117
119
{: #envvar-create-cli-app}
118
120
@@ -234,8 +236,7 @@ When you no longer need an environment variable, you can delete it.
234
236
### Deleting environment variables from the console
235
237
{: #envvar-delete-ui}
236
238
237
-
1. From the console, go to the app or job that has the environment variable that you want to delete. Click
238
-
the **Environment variables** tab.
239
+
1. From the console, go to the app or job that has the environment variable that you want to delete. Click the **Environment variables** tab.
239
240
2. From the table of environment variables, delete the environment variable that you want to remove from the app or job.
240
241
3. Click **Save and deploy** to update the app or click **Save** to update your job with the new environment variables. When your app or job is in`Ready` state, your app or job is updated with your current environment variables.
0 commit comments