From fafb8b487481dcc0c1041618878d243745e0e5c1 Mon Sep 17 00:00:00 2001 From: Automated workflow Date: Thu, 11 Apr 2024 00:20:39 +0000 Subject: [PATCH] Committing workflows --- .github/workflows/functionapp_cosmosdb-output_README_md.yml | 6 +++--- .github/workflows/functionapp_helloworld_README_md.yml | 4 ++-- .github/workflows/mysql_create_README_md.yml | 5 ++--- .github/workflows/mysql_get-country_README_md.yml | 5 ++--- .../mysql_load-your-mysql-database-with-data_README_md.yml | 5 ++--- .../workflows/mysql_open-firewall-to-your-ip_README_md.yml | 5 ++--- .github/workflows/postgres_create_README_md.yml | 3 +-- .github/workflows/postgres_get-country_README_md.yml | 3 +-- ...es_load-your-postgresql-database-with-data_README_md.yml | 3 +-- .../postgres_open-firewall-to-your-ip_README_md.yml | 3 +-- 10 files changed, 17 insertions(+), 25 deletions(-) diff --git a/.github/workflows/functionapp_cosmosdb-output_README_md.yml b/.github/workflows/functionapp_cosmosdb-output_README_md.yml index b35bb474..9fdf8b3a 100644 --- a/.github/workflows/functionapp_cosmosdb-output_README_md.yml +++ b/.github/workflows/functionapp_cosmosdb-output_README_md.yml @@ -17,7 +17,7 @@ jobs: - run: | if [[ -z $REGION ]]; then - export REGION=westus3 + export REGION=eastus fi @@ -56,7 +56,7 @@ jobs: cd functionapp/cosmosdb-output export FUNCTIONS_COSMOSDB=functions-cosmosdb-$RANDOM - export FUNCTIONS_COSMOSDB_CONNECTION_STRING="$(az cosmosdb keys list --resource-group $RESOURCE_GROUP --name $COSMOSDB_ACCOUNT_NAME --type connection-strings --query connectionStrings[0].connectionString --output tsv)" + export FUNCTIONS_COSMOSDB_CONNECTION_STRING="$(az cosmosdb keys list --resource-group $RESOURCE_GROUP --name $COSMOSDB_ACCOUNT_NAME --type connection-strings --query 'connectionStrings[0].connectionString' --output tsv)" mvn -P local validate mvn -DresourceGroup=$RESOURCE_GROUP \ -DappName=$FUNCTIONS_COSMOSDB \ @@ -67,7 +67,7 @@ jobs: -Dregion=$REGION \ -DresourceGroup=$RESOURCE_GROUP \ -DcosmosDBConnectionString="$FUNCTIONS_COSMOSDB_CONNECTION_STRING" \ - -DpricingTier=P1V3 + -DpricingTier=P1V3 \ clean package azure-functions:deploy diff --git a/.github/workflows/functionapp_helloworld_README_md.yml b/.github/workflows/functionapp_helloworld_README_md.yml index 2ad06c7a..409b90d4 100644 --- a/.github/workflows/functionapp_helloworld_README_md.yml +++ b/.github/workflows/functionapp_helloworld_README_md.yml @@ -17,7 +17,7 @@ jobs: - run: | if [[ -z $REGION ]]; then - export REGION=westus3 + export REGION=eastus fi if [[ -z $REGION ]]; then @@ -57,7 +57,7 @@ jobs: -DresourceGroup=$RESOURCE_GROUP \ -Dregion=$REGION \ clean package azure-functions:deploy - echo `az functionapp show \ + echo https://`az functionapp show \ --resource-group $RESOURCE_GROUP \ --name $FUNCTIONAPP_HELLOWORLD \ --query hostNames \ diff --git a/.github/workflows/mysql_create_README_md.yml b/.github/workflows/mysql_create_README_md.yml index c46c2d8e..d2a4caeb 100644 --- a/.github/workflows/mysql_create_README_md.yml +++ b/.github/workflows/mysql_create_README_md.yml @@ -43,10 +43,9 @@ jobs: --admin-password $MYSQL_PASSWORD \ --name $MYSQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled || true + --sku GP_Gen5_2 || true - sleep 120 + sleep 240 export RESULT=$(az mysql server show --name $MYSQL_NAME --resource-group $RESOURCE_GROUP --output tsv --query userVisibleState) diff --git a/.github/workflows/mysql_get-country_README_md.yml b/.github/workflows/mysql_get-country_README_md.yml index 245bf15e..786c13c3 100644 --- a/.github/workflows/mysql_get-country_README_md.yml +++ b/.github/workflows/mysql_get-country_README_md.yml @@ -48,10 +48,9 @@ jobs: --admin-password $MYSQL_PASSWORD \ --name $MYSQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled || true + --sku GP_Gen5_2 || true - sleep 120 + sleep 240 export LOCAL_IP=`curl -s whatismyip.akamai.com` diff --git a/.github/workflows/mysql_load-your-mysql-database-with-data_README_md.yml b/.github/workflows/mysql_load-your-mysql-database-with-data_README_md.yml index a4836e4a..bc7b1bbc 100644 --- a/.github/workflows/mysql_load-your-mysql-database-with-data_README_md.yml +++ b/.github/workflows/mysql_load-your-mysql-database-with-data_README_md.yml @@ -43,10 +43,9 @@ jobs: --admin-password $MYSQL_PASSWORD \ --name $MYSQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled || true + --sku GP_Gen5_2 || true - sleep 120 + sleep 240 export LOCAL_IP=`curl -s whatismyip.akamai.com` diff --git a/.github/workflows/mysql_open-firewall-to-your-ip_README_md.yml b/.github/workflows/mysql_open-firewall-to-your-ip_README_md.yml index abb3297e..cec23a27 100644 --- a/.github/workflows/mysql_open-firewall-to-your-ip_README_md.yml +++ b/.github/workflows/mysql_open-firewall-to-your-ip_README_md.yml @@ -43,10 +43,9 @@ jobs: --admin-password $MYSQL_PASSWORD \ --name $MYSQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled || true + --sku GP_Gen5_2 || true - sleep 120 + sleep 240 export LOCAL_IP=`curl -s whatismyip.akamai.com` diff --git a/.github/workflows/postgres_create_README_md.yml b/.github/workflows/postgres_create_README_md.yml index 2442902a..1897cce8 100644 --- a/.github/workflows/postgres_create_README_md.yml +++ b/.github/workflows/postgres_create_README_md.yml @@ -37,8 +37,7 @@ jobs: --admin-password $POSTGRESQL_PASSWORD \ --name $POSTGRESQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled + --sku GP_Gen5_2 export RESULT=$(az postgres server show --resource-group $RESOURCE_GROUP --name $POSTGRESQL_NAME --output tsv --query userVisibleState) az group delete --name $RESOURCE_GROUP --yes || true diff --git a/.github/workflows/postgres_get-country_README_md.yml b/.github/workflows/postgres_get-country_README_md.yml index f52d77aa..f50666b0 100644 --- a/.github/workflows/postgres_get-country_README_md.yml +++ b/.github/workflows/postgres_get-country_README_md.yml @@ -37,8 +37,7 @@ jobs: --admin-password $POSTGRESQL_PASSWORD \ --name $POSTGRESQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled + --sku GP_Gen5_2 export LOCAL_IP=`curl -s whatismyip.akamai.com` az postgres server firewall-rule create \ diff --git a/.github/workflows/postgres_load-your-postgresql-database-with-data_README_md.yml b/.github/workflows/postgres_load-your-postgresql-database-with-data_README_md.yml index 5c0fd099..b799fbb1 100644 --- a/.github/workflows/postgres_load-your-postgresql-database-with-data_README_md.yml +++ b/.github/workflows/postgres_load-your-postgresql-database-with-data_README_md.yml @@ -37,8 +37,7 @@ jobs: --admin-password $POSTGRESQL_PASSWORD \ --name $POSTGRESQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled + --sku GP_Gen5_2 export LOCAL_IP=`curl -s whatismyip.akamai.com` az postgres server firewall-rule create \ diff --git a/.github/workflows/postgres_open-firewall-to-your-ip_README_md.yml b/.github/workflows/postgres_open-firewall-to-your-ip_README_md.yml index ed88242f..ec112918 100644 --- a/.github/workflows/postgres_open-firewall-to-your-ip_README_md.yml +++ b/.github/workflows/postgres_open-firewall-to-your-ip_README_md.yml @@ -37,8 +37,7 @@ jobs: --admin-password $POSTGRESQL_PASSWORD \ --name $POSTGRESQL_NAME \ --resource-group $RESOURCE_GROUP \ - --sku B_Gen5_1 \ - --ssl-enforcement Disabled + --sku GP_Gen5_2 export LOCAL_IP=`curl -s whatismyip.akamai.com` az postgres server firewall-rule create \