Skip to content

Commit

Permalink
Committing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
49081 committed Apr 11, 2024
1 parent a2c6cc2 commit fafb8b4
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/functionapp_cosmosdb-output_README_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: |
if [[ -z $REGION ]]; then
export REGION=westus3
export REGION=eastus
fi
Expand Down Expand Up @@ -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 \
Expand All @@ -67,7 +67,7 @@ jobs:
-Dregion=$REGION \
-DresourceGroup=$RESOURCE_GROUP \
-DcosmosDBConnectionString="$FUNCTIONS_COSMOSDB_CONNECTION_STRING" \
-DpricingTier=P1V3
-DpricingTier=P1V3 \
clean package azure-functions:deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/functionapp_helloworld_README_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: |
if [[ -z $REGION ]]; then
export REGION=westus3
export REGION=eastus
fi
if [[ -z $REGION ]]; then
Expand Down Expand Up @@ -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 \
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/mysql_create_README_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/mysql_get-country_README_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/postgres_create_README_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/postgres_get-country_README_md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit fafb8b4

Please sign in to comment.