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: appdeploy-access.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2021
5
-
lastupdated: "2021-09-17"
5
+
lastupdated: "2021-09-28"
6
6
7
7
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
8
8
@@ -34,7 +34,7 @@ Find details about your app from the console or with the CLI.
34
34
### Accessing app details from the console
35
35
{: #access-appdetails-ui}
36
36
37
-
Details about your app are available in the console from the app page by clicking the name of your app from the list of applications within your project.
37
+
Details about your app are available in the console from the app page by clicking the name of your app from the list of applications within your project. You can view information about the running instances of your application and its revisions, configuration details, and controls for the visibility of the endpoints of your application for receiving requests.
Copy file name to clipboardExpand all lines: appdeploy-cr.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2021
5
-
lastupdated: "2021-09-21"
5
+
lastupdated: "2021-09-28"
6
6
7
7
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
8
8
@@ -43,7 +43,9 @@ Deploy an application that uses an image in a container registry by using the {{
43
43
11. Click **Done**.
44
44
12. Modify any runtime settings or environment variables for your app. For more information about these options, see [Options for deploying an app](/docs/codeengine?topic=codeengine-application-workloads#optionsdeploy).
45
45
13. Click **Create** to create the application.
46
-
14. After the application status changes to **Ready**, you can test the application by clicking **Send request**. To open the application in a web page, click **Open application URL**.
46
+
14. 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**.
47
+
48
+
{[note-appconfig-ui.md]}
47
49
48
50
If you want to add registry access to a {{site.data.keyword.registryshort}} instance that is not in your account, see [Adding access to a {{site.data.keyword.registryshort}}](/docs/codeengine?topic=codeengine-add-registry).
Copy file name to clipboardExpand all lines: appdeploy-private.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2021
5
-
lastupdated: "2021-09-21"
5
+
lastupdated: "2021-09-28"
6
6
7
7
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
8
8
@@ -48,7 +48,9 @@ Before you can work with a {{site.data.keyword.codeengineshort}} application tha
48
48
15. Click **Done**.
49
49
16. Modify any runtime settings or environment variables for your app. For more information about these options, see [Options for deploying an app](/docs/codeengine?topic=codeengine-application-workloads#optionsdeploy).
50
50
17. From the Create application page, click **Create**.
51
-
18. After the application status changes to **Ready**, you can test the application by clicking **Send request**. To open the application in a web page, click **Open application URL**.
51
+
18. 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**.
52
+
53
+
{[note-appconfig-ui.md]}
52
54
53
55
If you want to add registry access before you create an app, see [Adding access to a private container registry](/docs/codeengine?topic=codeengine-add-registry).
Copy file name to clipboardExpand all lines: appdeploy-public.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2021
5
-
lastupdated: "2021-09-21"
5
+
lastupdated: "2021-09-28"
6
6
7
7
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
8
8
@@ -37,7 +37,9 @@ This example references an image in public Docker Hub. You can also reference an
37
37
6. Specify a container image, for example, `docker.io/ibmcom/helloworld`.
38
38
6. Modify any default values for environment variables or runtime settings. For more information about these options, see [Options for deploying an app](/docs/codeengine?topic=codeengine-application-workloads#optionsdeploy).
39
39
7. Click **Create**.
40
-
8. After the application status changes to **Ready**, you can test the application by clicking **Send request**. To open the application in a web page, click **Open application URL**.
40
+
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**.
Copy file name to clipboardExpand all lines: appdeploy-source.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2021
5
-
lastupdated: "2021-09-21"
5
+
lastupdated: "2021-09-28"
6
6
7
7
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
8
8
@@ -38,7 +38,9 @@ Before you begin, [plan for your build](/docs/codeengine?topic=codeengine-plan-b
38
38
14. Modify any runtime settings or environment variables for your app. For more information about these options, see [Options for deploying an app](/docs/codeengine?topic=codeengine-application-workloads#optionsdeploy).
39
39
15. Click **Create**.
40
40
41
-
After your build run is submitted, the built container image is sent to {{site.data.keyword.registryshort}} and then your application pulls the image and deploys for you. After the application status changes to **Ready**, you can try it out by clicking **Send request**. To open the application in a web page, click **Open application URL**.
41
+
After your build run is submitted, the built container image is sent to {{site.data.keyword.registryshort}} and then your application pulls the image and deploys for you. 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**.
42
+
43
+
{[note-appconfig-ui.md]}
42
44
43
45
Need help? Check out [Troubleshooting tips for builds](/docs/codeengine?topic=codeengine-troubleshoot-build).
Copy file name to clipboardExpand all lines: appdeploy-update.md
+40-12
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2020, 2021
5
-
lastupdated: "2021-09-21"
5
+
lastupdated: "2021-09-28"
6
6
7
7
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
8
8
@@ -26,16 +26,19 @@ To create a revision, modify the application. Note that if you are modifying you
26
26
## Updating your app from the console
27
27
{: #update-app-console}
28
28
29
-
Update the application that you created in [Deploying an application from the console](/docs/codeengine?topic=codeengine-deploy-app#deploy-app-console) to add an environment variable.
29
+
Update the application that you created in [Deploying an application from a public registry from the console](/docs/codeengine?topic=codeengine-deploy-app#deploy-app-console) to add an environment variable.
30
30
31
31
1. Navigate to your application page. One way to navigate to your application page is to
32
32
* Locate the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
33
33
* Click the name of your project to open the **Overview** page.
34
34
* Click **Applications** to open a list of your applications. Click the name of your application to open its application page.
35
-
2. Click **Environment variables**.
36
-
3. Click **Add environment variable** and enter `TARGET` for name and `Stranger` for value. Click **Save**.
37
-
4. Click **Save and deploy** to save your change and deploy the application revision.
38
-
5. After the application status changes to **Ready**, you can test the application revision by clicking **Send request**. To see the running application, click **Open application URL**. `Hello Stranger` is displayed.
35
+
2. From the application page, you can view information about the running instances of your application and its revisions, configuration details, and
36
+
controls for the visibility of the endpoints of your application for receiving requests. Click the name of the application revision that you want to work with to open the configuration summary for the revision.
37
+
3. Click **Edit and create new revision** to make changes to the app configuration.
38
+
4. Click **Environment variables**.
39
+
5. Click **Add environment variable** and enter `TARGET` for name and `Stranger` for value. Click **Done**.
40
+
6. Click **Save and create** to save your change and deploy the application revision.
41
+
7. After the application status changes to **Ready**, you can test the application revision by clicking **Send request**. To see the running application, click **Open application URL**. `Hello Stranger` is displayed.
39
42
40
43
41
44
## Updating your app with the CLI
@@ -184,15 +187,17 @@ For more information about adding an image to {{site.data.keyword.registryshort_
184
187
* Locate the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
185
188
* Click the name of your project to open the **Overview** page.
186
189
* Click **Applications** to open a list of your applications. Click the name of your application to open the application page.
187
-
2. Select the registry where your image resides.
188
-
* If the image you want to use resides in the same {{site.data.keyword.registryshort_notm}} account, select the registry.
189
-
* If the image that you want to use resides in a different container registry account, click **Add registry**. You must first [create your IAM API key](/docs/codeengine?topic=codeengine-add-registry#images-your-account-api-key) and then [Add registry access to {{site.data.keyword.codeengineshort}}](/docs/codeengine?topic=codeengine-add-registry#add-registry-access-ce).
190
+
2. Click **Configuration** to open the configuration details for the selected application revision.
191
+
3. Click **Edit and create new revision** to update the application.
192
+
4. From the **Code** tab, select the registry where your image resides.
193
+
* If the image you want to use resides in the same {{site.data.keyword.registryshort_notm}} account, select the access for the registry.
194
+
* If the image that you want to use resides in a different container registry account, click **Configure image**. From the configure image panel, click **Create registry acccess** to update the registry access for your image. You must first [create your IAM API key](/docs/codeengine?topic=codeengine-add-registry#images-your-account-api-key) and then [Add registry access to {{site.data.keyword.codeengineshort}}](/docs/codeengine?topic=codeengine-add-registry#add-registry-access-ce).
190
195
191
196
For this example, select the existing `ibmcregistry` registry, select the `mynamespace2` namespace, select the `helloworld-repo` image, and select `1` as the value for `tag`.
192
197
193
-
3. Click **Done**. You selected your image in the registry to reference from your app.
194
-
4. Click **Save and deploy** to save your change and deploy the app revision.
195
-
5. After the application status changes to **Ready**, you can test the app revision by clicking **Send request**. To see the running app, click **Open application URL**. `Hello World from {{site.data.keyword.codeengineshort}}` is displayed.
198
+
5. Click **Done**. You selected your image in the registry to reference from your app.
199
+
6. Click **Save and create** to save your change and deploy the app revision.
200
+
7. After the application status changes to **Ready**, you can test the app revision by clicking **Send request**. To see the running app, click **Open application URL**. `Hello World from {{site.data.keyword.codeengineshort}}` is displayed.
196
201
197
202
## Updating an app to reference a different image in {{site.data.keyword.registryshort}} with the CLI
198
203
{: #update-app-crimage-cli}
@@ -218,4 +223,27 @@ For this example, update the `helloapp` that you created in [Deploying an applic
218
223
219
224
4. After your app is updated, you can access the app. To obtain the URL of your app, run `ibmcloud ce app get --name myhelloapp --output url`. When you curl the `myhelloapp` app, the app returns `Hello World from {{site.data.keyword.codeengineshort}}`, which demonstrates the app is now using the `helloworld_repo` image.
220
225
226
+
## Updating an app to reference an image that is built from source code from the console
227
+
{: #update-app-source-console}
228
+
229
+
Update an application to reference an image that is built from source code by using the {{site.data.keyword.codeengineshort}} console.
230
+
{: shortdesc}
231
+
232
+
**NEED TO UPDATE HELP**
233
+
For this example, let's update the `helloapp` that you created in [Deploying an application that references an image in a container registry from the console](/docs/codeengine?topic=codeengine-deploy-app-crimage#deploy-app-crimage-console) to reference an reference an image that is built from your source code. **NEED TO UPDATE HELP**
234
+
235
+
For more information about creating a build configuration from the console, see [create a build](/docs/codeengine?topic=codeengine-build-image#build-create-console).
236
+
237
+
1. Navigate to your application page. One way to navigate to your application page is to
238
+
* Locate the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
239
+
* Click the name of your project to open the **Overview** page.
240
+
* Click **Applications** to open a list of your applications. Click the name of your application to open the application page.
241
+
2. Click **Configuration** to open the configuration details for the selected application revision.
242
+
3. Click **Edit and create new revision** to update the application.
243
+
4. From the **Code** tab, you can create an image build, or you can rerun your existing image build that is referenced by your application.
244
+
* Click **Create image from source** to run an image build. The Specify build details page opens where you can enter the details of your build to [deploy your app from source code](/docs/codeengine?topic=codeengine-deploy-app-source-code).
245
+
* To rerun an existing build, click **Rerun build**.
246
+
5. Click **Done**.
247
+
6. Click **Save and create** to save your change and deploy the app revision.
248
+
7. After the application status changes to **Ready**, you can test the app revision by clicking **Send request**. To see the running app, click **Open application URL**. `Hello World from {{site.data.keyword.codeengineshort}}` is displayed.
0 commit comments