Skip to content

Commit d31a7b8

Browse files
authored
Add config file for sdk generation pipeline (Azure#20544)
1 parent 694395b commit d31a7b8

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.scripts/automation_generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
hlc-code-gen-for-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@6.0.0-alpha.16.20220105.1
2+
code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@6.0.0-alpha.16.20220105.1

.scripts/automation_init.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
#!/usr/bin/env bash
2-
# rush install
32
npm install -g @microsoft/rush
4-
rush install
5-
# install release tools
63
npm install -g @azure-tools/js-sdk-release-tools

eng/codegen_to_sdk_config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"init": {
3+
"initScript": {
4+
"path": ".scripts/automation_init.sh"
5+
}
6+
},
7+
"generateAndBuild": {
8+
"generateAndBuildScript": {
9+
"path": ".scripts/automation_generate.sh",
10+
"stdout": {
11+
"storeLogByFilter": "Error: |error |throw|exception"
12+
},
13+
"stderr": {
14+
"storeLogByFilter": "Error: |error |throw|exception"
15+
}
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)