Skip to content

Commit f132021

Browse files
committed
Frances Overby: Merge pull request #1506 from coligo/fmo-upd-28Sept21-c
1 parent 48132e3 commit f132021

8 files changed

+87
-64
lines changed

Diff for: appdeploy-access.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-17"
5+
lastupdated: "2021-09-28"
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

@@ -34,7 +34,7 @@ Find details about your app from the console or with the CLI.
3434
### Accessing app details from the console
3535
{: #access-appdetails-ui}
3636

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.
3838

3939
### Accessing app details with the CLI
4040
{: #access-appdetails-cli}

Diff for: appdeploy-cr.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-21"
5+
lastupdated: "2021-09-28"
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

@@ -43,7 +43,9 @@ Deploy an application that uses an image in a container registry by using the {{
4343
11. Click **Done**.
4444
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).
4545
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]}
4749

4850
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).
4951

Diff for: appdeploy-private.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-21"
5+
lastupdated: "2021-09-28"
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

@@ -48,7 +48,9 @@ Before you can work with a {{site.data.keyword.codeengineshort}} application tha
4848
15. Click **Done**.
4949
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).
5050
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]}
5254

5355
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).
5456

Diff for: appdeploy-public.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-21"
5+
lastupdated: "2021-09-28"
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

@@ -37,7 +37,9 @@ This example references an image in public Docker Hub. You can also reference an
3737
6. Specify a container image, for example, `docker.io/ibmcom/helloworld`.
3838
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).
3939
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**.
41+
42+
{[note-appconfig-ui.md]}
4143

4244
## Deploying an app with the CLI
4345
{: #deploy-app-cli}

Diff for: appdeploy-source.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-21"
5+
lastupdated: "2021-09-28"
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

@@ -38,7 +38,9 @@ Before you begin, [plan for your build](/docs/codeengine?topic=codeengine-plan-b
3838
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).
3939
15. Click **Create**.
4040

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]}
4244

4345
Need help? Check out [Troubleshooting tips for builds](/docs/codeengine?topic=codeengine-troubleshoot-build).
4446

Diff for: appdeploy-update.md

+40-12
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-21"
5+
lastupdated: "2021-09-28"
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

@@ -26,16 +26,19 @@ To create a revision, modify the application. Note that if you are modifying you
2626
## Updating your app from the console
2727
{: #update-app-console}
2828

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.
3030

3131
1. Navigate to your application page. One way to navigate to your application page is to
3232
* Locate the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
3333
* Click the name of your project to open the **Overview** page.
3434
* 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.
3942

4043

4144
## Updating your app with the CLI
@@ -184,15 +187,17 @@ For more information about adding an image to {{site.data.keyword.registryshort_
184187
* Locate the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
185188
* Click the name of your project to open the **Overview** page.
186189
* 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).
190195
191196
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`.
192197
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.
196201
197202
## Updating an app to reference a different image in {{site.data.keyword.registryshort}} with the CLI
198203
{: #update-app-crimage-cli}
@@ -218,4 +223,27 @@ For this example, update the `helloapp` that you created in [Deploying an applic
218223
219224
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.
220225
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.
221249

0 commit comments

Comments
 (0)