Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/minimist-and-mkdir…
Browse files Browse the repository at this point in the history
…p-1.2.8
  • Loading branch information
jeffwmartinez authored Dec 12, 2024
2 parents 2ef26dd + bf97fa9 commit 87a8135
Show file tree
Hide file tree
Showing 117 changed files with 3,295 additions and 220 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/delete-slot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,23 @@ env:
RESOURCE_GROUP: appserviceblogsite
SLOT_NAME: pr-${{ github.event.number }}

#OIDC
permissions:
id-token: write
contents: read

jobs:
delete-slot:
runs-on: ubuntu-latest

steps:
- name: Log into Azure CLI with service principal
uses: azure/[email protected]
#OIDC
- name: Run Azure Login with OIDC
uses: azure/login@v2
with:
creds: ${{ secrets.ANTARES_BLOG_SITE_SP }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Delete slot on staging site
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ on:
push:
branches:
- master
# Run build every day at 00:00 UTC every day for future-dated articles
schedule:
- cron: '0 0 * * *' # Run build every day at 00:00 UTC every day for future-dated articles
- cron: '0 0 * * *'

permissions:
contents: write
pages: write

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out repo
uses: actions/checkout@v1

- name: Set up Ruby 2.6
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.0
ruby-version: '3.0'

- name: Install Ruby dependencies
run: |
Expand Down
55 changes: 41 additions & 14 deletions .github/workflows/deploy-to-staging-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ env:
RESOURCE_GROUP: appserviceblogsite
SLOT_NAME: pr-${{ github.event.number }}

permissions:
id-token: write
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,10 +24,10 @@ jobs:
- name: Check out repo
uses: actions/checkout@v1

- name: Set up Ruby 2.6
- name: Set up Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.0'
bundler-cache: true

- name: Install Ruby dependencies
Expand All @@ -40,21 +44,33 @@ jobs:
run: cd _site && zip -r ../blog.zip .

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jekyll-app
path: blog.zip

set-up-test-env:
name: Create test env
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

steps:
- name: Log into Azure CLI with service principal
uses: azure/login@v1.1
- name: Run Azure Login with OIDC
uses: azure/login@v2
with:
creds: ${{ secrets.ANTARES_BLOG_SITE_SP }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Azure CLI script
uses: azure/CLI@v2
with:
azcliversion: latest
inlineScript: |
az account show
- name: Create slot on staging site
run: |
az webapp deployment slot create \
Expand All @@ -67,25 +83,36 @@ jobs:
runs-on: ubuntu-latest
needs: [build, set-up-test-env]
environment:
name: "PR #${{ github.event.number }}"
name: "production"
url: "${{ steps.deploy-to-webapp.outputs.webapp-url }}"
permissions:
id-token: write
contents: read
pull-requests: write

steps:
- name: Log into Azure CLI with service principal
uses: azure/[email protected]
- name: Run Azure Login with OIDC
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Azure CLI script
uses: azure/CLI@v2
with:
creds: ${{ secrets.ANTARES_BLOG_SITE_SP }}
azcliversion: latest
inlineScript: |
az account show
- name: Download artifact from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: jekyll-app

- name: Deploy to slot on staging site
uses: azure/webapps-deploy@v1
with:
uses: Azure/webapps-deploy@v3.0.0
with:
app-name: ${{ env.WEBAPP_NAME }}
slot-name: ${{ env.SLOT_NAME }}
package: blog.zip
Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ The App Service Team Blog is a great place to share content with our users. Befo

1. Get contributor access to the repository. Email Jeff Martinez with your GitHub username. This will allow you to submit pull requests without creating and maintaining your own fork of the repository.

> **NOTE**
You cannot contribute from a forked repository

### Set up your environment

1. Download and install the [Ruby development kit](https://jekyllrb.com/docs/installation/)
Expand Down
2 changes: 1 addition & 1 deletion _pages/team_pages/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pagination:
after: 2
---

App Service supports Java SE and Tomcat applications on Windows and Linux. Use the REST APIs to deploy your .jar or .war files. You can also use the [Zulu OpenJDK for Azure Docker images](https://hub.docker.com/_/microsoft-java-jdk) to deploy a custom container, fully supported by Azure.
App Service supports Java SE and Tomcat applications on Windows and Linux. Use the REST APIs to deploy your .jar or .war files. You can also use the [Container images for the Microsoft Build of OpenJDK](https://learn.microsoft.com/en-us/java/openjdk/containers) to deploy a custom container, fully supported by Azure.

## Helpful resources

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ author_name: "Stefan Schackow"
category: networking
---

> NOTE! As of March 2023, the content in this post may be outdated. For the latest information on Availability Zone support for App Service Environment, see [Azure App Service and reliability](https://learn.microsoft.com/azure/architecture/framework/services/compute/azure-app-service/reliability) and [Migrate App Service Environment to availability zone support](https://learn.microsoft.com/azure/reliability/migrate-app-service-environment).
App Service has GA'd App Service Environment (ASE) support for deploying into Availability Zones (AZ). Customers can choose to optionally deploy internal load balancer (ILB) ASEs into a specific AZ (Zone 1, 2 or 3) within an Azure region, and the resources used by that ILB ASE will either be pinned to the specified AZ, or deployed in a zone redundant manner.

An ILB ASE that is explicitly deployed into an AZ is considered a zonal resource because the ILB ASE is pinned to a specific zone. The following ILB ASE dependencies will be located (pinned) in the specified zone:
Expand All @@ -21,7 +23,7 @@ Zonal ILB ASEs can be created in any of the following regions:
- East US
- East US 2
- East US 2 (EUAP)
- France Central
- France Central
- Japan East
- North Europe
- West Europe
Expand Down

This file was deleted.

Loading

0 comments on commit 87a8135

Please sign in to comment.