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
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,8 @@ If {ProductName} can’t access your Git repository, see <<Granting App Studio a
69
69
|N/A
70
70
|===
71
71
72
-
////
72
+
////
73
+
73
74
From JSese: May 15, 2023, Commenting out per Matt Reid and Christian V. Support for private repos is post-Summit.
74
75
[discrete]
75
76
== Granting App Studio access to your Git repository
@@ -89,6 +90,7 @@ If {ProductName} can’t access your Git repository, the following message displ
89
90
. Enter your **Username**.
90
91
. Enter an **API token**.
91
92
. Click **Connect**.
93
+
92
94
////
93
95
94
96
.What's next
@@ -133,12 +135,11 @@ After you create your application, you can adjust your configuration settings an
133
135
[role="_abstract"]
134
136
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}:
135
137
136
-
* **Your repository contains a Dockerfile in an unexpected directory.**
137
-
+
138
+
=== Your repository contains a Dockerfile in an unexpected directory.**
139
+
138
140
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:
@@ -193,11 +194,12 @@ Some repositories require custom build or deployment instructions; for example,
193
194
**Solutions**
194
195
+
195
196
[#custom build and deployment instructions]
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.
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.
197
198
** **Configure a custom deployment.** Include the following files in your repository to provide {ProductName} with custom deployment instructions:
198
199
*** A standard Kubernetes YAML file
199
200
*** A custom-build Dockerfile
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>>.
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>>.
0 commit comments