Skip to content

Commit

Permalink
Merge branch 'test_repo_breaking_change_mlc' into remove-nvm-installa…
Browse files Browse the repository at this point in the history
…tion-for-automation
  • Loading branch information
wanlwanl authored Aug 13, 2024
2 parents 5a0df1c + 89635fe commit 2e7e1f1
Show file tree
Hide file tree
Showing 1,271 changed files with 25,574 additions and 28,553 deletions.
10 changes: 8 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

# ServiceLabel: %Batch
# PRLabel: %Batch
/sdk/batch/ @jingjlii @wanghoppe @dpwatrous @NickKouds
/sdk/batch/ @wiboris @wanghoppe @dpwatrous @cRui861 @skapur12

# PRLabel: %Communication
# ServiceLabel: %Communication
Expand Down Expand Up @@ -243,7 +243,7 @@
/sdk/openai/ @glharper @deyaaeldeen @minhanh-phan

# PRLabel: %AI Model Inference
sdk/ai/ai-inference-rest @glharper @dargilco
sdk/ai/ai-inference-rest @glharper @dargilco @jhakulin

# ServiceLabel: %AI Model Inference
# ServiceOwners: @glharper @dargilco
Expand Down Expand Up @@ -387,6 +387,9 @@ sdk/ai/ai-inference-rest @glharper @dargilco
# PRLabel: %Mgmt
/sdk/cognitiveservices/arm-cognitiveservices/ @qiaozha @MaryGao

# PRLabel: %Mgmt
/sdk/confidentialledger/arm-confidentialledger/ @qiaozha @MaryGao

# PRLabel: %Mgmt
/sdk/commerce/arm-commerce/ @qiaozha @MaryGao

Expand Down Expand Up @@ -549,6 +552,9 @@ sdk/ai/ai-inference-rest @glharper @dargilco
# PRLabel: %Mgmt
/sdk/healthbot/arm-healthbot/ @qiaozha @MaryGao

# PRLabel: %Mgmt
/sdk/healthdataaiservices/arm-healthdataaiservices/ @qiaozha @MaryGao

# PRLabel: %Mgmt
/sdk/healthcareapis/arm-healthcareapis/ @qiaozha @MaryGao

Expand Down
35 changes: 34 additions & 1 deletion .scripts/automation_generate.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,35 @@
#!/usr/bin/env bash
code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.12 --typespecEmitter=@azure-tools/typespec-ts

cd ..

file_path="azure-rest-api-specs/.js/branch.txt"
# Check if the file exists
if [ -f "$file_path" ]; then
# Load the content of the file into a variable
branch=$(cat "$file_path")
echo "get branch $branch"
else
echo "Branch file does not exist."
fi

git clone https://github.com/Azure/azure-sdk-tools/

cd azure-sdk-tools
if [ -z "$branch" ]; then
echo 'branch is empty'
else
git checkout -b test $branch
echo git checkout -b test $branch
fi

echo '-------------- git status start'
git status
echo '-------------- git status end'

cd tools/js-sdk-release-tools
pnpm install
pnpm run build
cd ../../..

cd azure-sdk-for-js
node ../azure-sdk-tools/tools/js-sdk-release-tools/dist/autoGenerateInPipeline.js --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.12 --typespecEmitter=@azure-tools/typespec-ts
2 changes: 1 addition & 1 deletion .scripts/automation_init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
npm install -g @azure-tools/typespec-client-generator-cli
npm install -g @microsoft/rush@5.92.0
npm install -g @azure-tools/js-sdk-release-tools
npm install -g pnpm
4 changes: 4 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@
"filename": "sdk/storage/storage-blob/review/storage-blob.api.md",
"words": ["Uncommited"]
},
{
"filename": "sdk/storage/storage-file-share/review/storage-file-share.api.md",
"words": ["Sddl"]
},
{
"filename": "sdk/videoanalyzer/video-analyzer-edge/review/**/*.md",
"words": ["Abgr", "Argb", "Bgra", "Grpc", "Onvif", "abgr", "argb", "bgra", "onvif"]
Expand Down
Loading

0 comments on commit 2e7e1f1

Please sign in to comment.