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: articles/app-service/tutorial-java-quarkus-postgresql-app.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,11 @@ Having issues? Check the [Troubleshooting section](#troubleshooting).
157
157
158
158
In this step, you'll configure GitHub deployment using GitHub Actions. It's just one of many ways to deploy to App Service, but also a great way to have continuous integration in your deployment process. By default, every `git push` to your GitHub repository will kick off the build and deploy action.
159
159
160
+
Note the following:
161
+
162
+
- Your deployed Java package must be an [Uber-Jar](https://quarkus.io/guides/maven-tooling#uber-jar-maven).
163
+
- For simplicity of the tutorial, you'll disable tests during the deployment process. The GitHub Actions runners don't have access to the PostgreSQL database in Azure, so any integration tests that require database access will fail, such as is the case with the Quarkus sample application.
164
+
160
165
:::row:::
161
166
:::column span="2":::
162
167
**Step 1:** Back in the App Service page, in the left menu, select **Deployment Center**.
@@ -175,7 +180,6 @@ In this step, you'll configure GitHub deployment using GitHub Actions. It's just
175
180
1. In **Branch**, select **main**.
176
181
1. In **Authentication type**, select **User-assigned identity (Preview)**.
177
182
1. In the top menu, select **Save**. App Service commits a workflow file into the chosen GitHub repository, in the `.github/workflows` directory.
178
-
179
183
:::column-end:::
180
184
:::column:::
181
185
:::image type="content" source="./media/tutorial-java-quarkus-postgresql-app/azure-portal-deploy-sample-code-2.png" alt-text="A screenshot showing how to configure CI/CD using GitHub Actions." lightbox="./media/tutorial-java-quarkus-postgresql-app/azure-portal-deploy-sample-code-2.png":::
@@ -197,7 +201,7 @@ In this step, you'll configure GitHub deployment using GitHub Actions. It's just
197
201
**Step 4:**
198
202
1. Open *.github/workflows/main_msdocs-quarkus-postgres-XYZ.yml* in the explorer. This file was created by the App Service create wizard.
199
203
1. Under the `Build with Maven` step, change the Maven command to `mvn clean install -DskipTests -Dquarkus.package.type=uber-jar`.
200
-
`-DskipTests` skips the tests in your Quarkus project, and `-Dquarkus.package.type=uber-jar`[creates an Uber-jar](https://quarkus.io/guides/maven-tooling#uber-jar-maven) that App Service needs.
204
+
`-DskipTests` skips the tests in your Quarkus project, and `-Dquarkus.package.type=uber-jar` creates an Uber-Jar that App Service needs.
201
205
:::column-end:::
202
206
:::column:::
203
207
:::image type="content" source="./media/tutorial-java-quarkus-postgresql-app/azure-portal-deploy-sample-code-4.png" alt-text="A screenshot showing a GitHub codespace and a GitHub workflow YAML opened." lightbox="./media/tutorial-java-quarkus-postgresql-app/azure-portal-deploy-sample-code-4.png":::
0 commit comments