Skip to content

Commit 0e8dc5d

Browse files
authored
Fixes #510 - Update 'Create an Azure Database for MySQL' example (#511)
1 parent ab12a14 commit 0e8dc5d

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

WORKFLOWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
| Deploy Piranha Web Profile to Azure Container Apps | [![containerapp/piranha/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_piranha_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_piranha_README_md.yml) | 0 10 * * 1 | Week 15 |
1818
| Build and push a Micronaut application to Azure Container Registry | [![acr/micronaut/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_micronaut_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_micronaut_README_md.yml) | 0 10 * * 2 | Week 16 |
1919
| Deploy a Micronaut application to Azure Container Apps| [![containerapp/micronaut/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_micronaut_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_micronaut_README_md.yml) | 0 10 * * 3 | Week 17 |
20-
| Build and push a Jetty image to Azure Container Registry | [![acr/jetty/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_jetty_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_jetty_README_md.yml) | 0 10 * * 4 | Week 18 |
2120
| Build and push a Payara image to Azure Container Registry | [![acr/payara/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_payara_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_payara_README_md.yml) | 0 10 * * 5 | Week 19 |
2221
| Create an Azure File Share | [![storage/create-file-share/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/storage_create-file-share_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/storage_create-file-share_README_md.yml) | 0 10 * * 0 | Week 21 |
2322
| Deploy Glassfish to Azure Container Apps| [![containerapp/glassfish/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_glassfish_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/containerapp_glassfish_README_md.yml) | 0 15 * * 1 | Week 22 |
@@ -119,6 +118,7 @@
119118
| [Create and push a GraalVM application to Azure Container Registry](acr/graalvm/README.md) | [![acr/graalvm/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_graalvm_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_graalvm_README_md.yml) | 0 5 * * 0 | Week 6 |
120119
| [Create and push a Helidon application to Azure Container Registry](acr/helidon/README.md) | [![acr/helidon/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helidon_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helidon_README_md.yml) | 0 6 * * 0 | Week 7 |
121120
| [Create and push a Hello World job to Azure Container Registry](acr/helloworldjob/README.md) | [![acr/helloworldjob/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helloworldjob_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_helloworldjob_README_md.yml) | 0 7 * * 0 | Week 8 |
121+
| [Build and push a Jetty image to Azure Container Registry](acr/jetty/README.md) | [![acr/jetty/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_jetty_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/acr_jetty_README_md.yml) | 0 8 * * 0 | Week 9 |
122122
| Azure Kubernetes Service examples
123123
| [Create a Kubernetes cluster](aks/create/README.md)| [![aks/create/README.md](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/aks_create_README_md.yml/badge.svg)](https://github.com/Azure-Samples/java-on-azure-examples/actions/workflows/aks_create_README_md.yml) | 0 0 * * 2 |
124124
| Azure Container Apps examples

acr/jetty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This example assumes you have previously completed the following examples:
1717
fi
1818
1919
-->
20-
<!-- workflow.cron(0 10 * * 4) -->
20+
<!-- workflow.cron(0 8 * * 0) -->
2121
<!-- workflow.include(../create/README.md) -->
2222

2323
## Build the WAR file

mysql/create/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,27 @@ And then create the MySQL database using the command line below:
4747
<!-- workflow.skip() -->
4848
```shell
4949

50-
az mysql server create \
50+
az mysql flexible-server create \
5151
--admin-user $MYSQL_USERNAME \
5252
--admin-password $MYSQL_PASSWORD \
5353
--name $MYSQL_NAME \
5454
--resource-group $RESOURCE_GROUP \
55-
--sku Standard_D2ads_v5
55+
--sku-name Standard_B1ms \
56+
--tier Burstable \
57+
--public-access 0.0.0.0
5658

5759
```
5860

5961
<!-- workflow.run()
6062
61-
az mysql server create \
63+
az mysql flexible-server create \
6264
--admin-user $MYSQL_USERNAME \
6365
--admin-password $MYSQL_PASSWORD \
6466
--name $MYSQL_NAME \
6567
--resource-group $RESOURCE_GROUP \
66-
--sku GP_Gen5_2 || true
68+
--sku-name Standard_B1ms \
69+
--tier Burstable \
70+
--public-access 0.0.0.0 || true
6771
6872
sleep 240
6973

0 commit comments

Comments
 (0)