Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/broken-links-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: lycheeverse/lychee-action@v2.8.0
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
--verbose --no-progress --exclude ^https?://
${{ steps.changed-markdown-files.outputs.all_changed_files }}
failIfEmpty: false
env:
Expand All @@ -50,7 +50,7 @@ jobs:
uses: lycheeverse/lychee-action@v2.8.0
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
--verbose --no-progress --exclude ^https?://
'**/*.md'
failIfEmpty: false
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
AZURE_REGIONS: ${{ vars.AZURE_REGIONS }}
GPT_MIN_CAPACITY: ${{ env.GPT_MIN_CAPACITY }}
run: |
chmod +x scripts/checkquota.sh
if ! scripts/checkquota.sh; then
chmod +x infra/scripts/pre-provision/checkquota.sh
if ! infra/scripts/pre-provision/checkquota.sh; then
# If quota check fails due to insufficient quota, set the flag
if grep -q "No region with sufficient quota found" scripts/checkquota.sh; then
if grep -q "No region with sufficient quota found" infra/scripts/pre-provision/checkquota.sh; then
echo "QUOTA_FAILED=true" >> $GITHUB_ENV
fi
exit 1 # Fail the pipeline if any other failure occurs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/job-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,10 @@ jobs:
AZURE_REGIONS: ${{ vars.AZURE_REGIONS }}
GPT_MIN_CAPACITY: ${{ env.GPT_MIN_CAPACITY }}
run: |
chmod +x scripts/checkquota.sh
if ! scripts/checkquota.sh; then
chmod +x infra/scripts/pre-provision/checkquota.sh
if ! infra/scripts/pre-provision/checkquota.sh; then
# If quota check fails due to insufficient quota, set the flag
if grep -q "No region with sufficient quota found" scripts/checkquota.sh; then
if grep -q "No region with sufficient quota found" infra/scripts/pre-provision/checkquota.sh; then
echo "QUOTA_FAILED=true" >> $GITHUB_ENV
fi
exit 1 # Fail the pipeline if any other failure occurs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-bicep-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
paths:
- 'infra/**/*.bicep'
- 'infra/**/*.parameters.json'
- 'scripts/validate_bicep_params.py'
- 'infra/scripts/utilities/validate_bicep_params.py'
workflow_dispatch:

env:
Expand All @@ -39,7 +39,7 @@ jobs:
run: |
set +e
RUN_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
python scripts/validate_bicep_params.py --dir infra --strict --no-color \
python infra/scripts/utilities/validate_bicep_params.py --dir infra --strict --no-color \
--json-output infra_results.json \
--html-output email_body.html \
--accelerator-name "${ACCELERATOR_NAME}" \
Expand Down
2 changes: 1 addition & 1 deletion docs/QuotaCheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The final table lists regions with available quota. You can select any of these
**To check quota for the deployment**

```sh
curl -L -o quota_check_params.sh "https://raw.githubusercontent.com/microsoft/Container-Migration-Solution-Accelerator/main/scripts/quota_check_params.sh"
curl -L -o quota_check_params.sh "https://raw.githubusercontent.com/microsoft/Container-Migration-Solution-Accelerator/main/infra/scripts/pre-provision/quota_check_params.sh"
chmod +x quota_check_params.sh
./quota_check_params.sh
```
Expand Down
Loading
Loading