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
{{ message }}
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/how-to-guides/Import-code/proc_importing_code.adoc
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,7 @@ If {ProductName} can’t access your Git repository, see <<Granting App Studio a
69
69
|N/A
70
70
|===
71
71
72
-
////
73
-
72
+
////
74
73
From JSese: May 15, 2023, Commenting out per Matt Reid and Christian V. Support for private repos is post-Summit.
75
74
[discrete]
76
75
== Granting App Studio access to your Git repository
@@ -90,7 +89,6 @@ If {ProductName} can’t access your Git repository, the following message displ
90
89
. Enter your **Username**.
91
90
. Enter an **API token**.
92
91
. Click **Connect**.
93
-
94
92
////
95
93
96
94
.What's next
@@ -135,11 +133,12 @@ After you create your application, you can adjust your configuration settings an
135
133
[role="_abstract"]
136
134
When you import code, {ProductName} analyzes your repository to determine the right runtime to use to build and deploy your application. In some cases, however, {ProductName} is unable to find the right runtime, and this can cause your code import to fail. These are the most common causes of issues with importing code to {ProductName}:
137
135
138
-
=== Your repository contains a Dockerfile in an unexpected directory.**
139
-
136
+
* **Your repository contains a Dockerfile in an unexpected directory.**
137
+
+
140
138
If {ProductName} finds a Dockerfile in your repository, it determines that a Dockerfile runtime is the most suitable for building and deploying you application. However, if the Dockerfile is not saved in one of the following expected locations, an error in determining the right runtime for your components can occur:
@@ -194,12 +193,11 @@ Some repositories require custom build or deployment instructions; for example,
194
193
**Solutions**
195
194
+
196
195
[#custom build and deployment instructions]
197
-
** **Configure a custom build.** Include a Dockerfile that can build your application, then save it to one of the <<expected_Dockerfile_locations>>. **Note:** If your build is custom but your deployment is not, you do not have to include a `devfile.yaml` file in your repository.
196
+
** **Configure a custom build.** Include a Dockerfile that can build your application, then save it to one of the <<expected Dockerfile locations>>. **Note:** If your build is custom but your deployment is not, you do not have to include a `devfile.yaml` file in your repository.
198
197
** **Configure a custom deployment.** Include the following files in your repository to provide {ProductName} with custom deployment instructions:
199
198
*** A standard Kubernetes YAML file
200
199
*** A custom-build Dockerfile
201
-
*** A devfile that points to your Kubernetes YAML file and Dockerfile. **Note:** Make sure that your devfile is in one of the <<expected_devfile_locations>>.
202
-
200
+
*** A devfile that points to your Kubernetes YAML file and Dockerfile. **Note:** Make sure that your devfile is in one of the <<expected devfile locations>>.
0 commit comments