Skip to content

Commit

Permalink
fix: specify location when creating ACR (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
tallaxes authored and Bryce-Soghigian committed Sep 12, 2024
1 parent 36b05f2 commit e702779
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-matrix-trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
location:
type: string
description: "the azure location to run the e2e test in"
default: "eastus"
default: "southcentralus"
push:
branches: [main]
workflow_run:
Expand All @@ -23,7 +23,7 @@ jobs:
permissions:
contents: read
id-token: write # This is required for requesting the JWT
statuses: write # ./.github/actions/commit-status/*
statuses: write # ./.github/actions/commit-status/*
needs: [resolve]
uses: ./.github/workflows/e2e-matrix.yaml
with:
Expand All @@ -32,4 +32,4 @@ jobs:
secrets:
E2E_CLIENT_ID: ${{ secrets.E2E_CLIENT_ID }}
E2E_TENANT_ID: ${{ secrets.E2E_TENANT_ID }}
E2E_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}
E2E_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
location:
type: string
description: "the azure location to run the e2e test in"
default: "eastus"
default: "southcentralus"
# k8s_version:
# type: string
# default: "1.27"
Expand All @@ -40,7 +40,7 @@ jobs:
permissions:
contents: read
id-token: write # This is required for requesting the JWT
statuses: write # ./.github/actions/commit-status/*
statuses: write # ./.github/actions/commit-status/*
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion Makefile-az.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ az-mkrg: ## Create resource group
fi

az-mkacr: az-mkrg ## Create test ACR
az acr create --name $(AZURE_ACR_NAME) --resource-group $(AZURE_RESOURCE_GROUP) --sku Basic --admin-enabled -o none
az acr create --name $(AZURE_ACR_NAME) --resource-group $(AZURE_RESOURCE_GROUP) --location $(AZURE_LOCATION) \
--sku Basic --admin-enabled -o none
az acr login --name $(AZURE_ACR_NAME)

az-mkaks: az-mkacr ## Create test AKS cluster (with --vm-set-type AvailabilitySet for compatibility with standalone VMs)
Expand Down

0 comments on commit e702779

Please sign in to comment.