Skip to content

Commit

Permalink
Users/vivasa/test (#20556)
Browse files Browse the repository at this point in the history
* Update readme

* Update readme

* Update task readme

* Update readme changes

* Updated readme

* Update readme for generated files too

* Adding build steps for publishsymbols

* Update readme and build instructions
  • Loading branch information
viralpandya authored and merlynomsft committed Oct 17, 2024
1 parent 2595b4e commit 62a3425
Show file tree
Hide file tree
Showing 10 changed files with 55 additions and 16 deletions.
13 changes: 13 additions & 0 deletions Tasks/PublishSymbolsV2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ The task requires either Node v16 or Node v20 to run. The task does not support

* **SymbolsArtifactName**: Specify the artifact name to use for the Symbols artifact. The default is Symbols_$(BuildConfiguration)

## How to build task locally:

1) Create new branch from master
2) Use Node v10.24.1 and npm v6.14.12 when building the task (you can use 'nvm' to quickly and easily switch between different Node versions)
3) Update your changes
4) Update "package.json" and "_buildConfigs/Node20/package.json" in ".\Tasks\PublishSymbolsV2\"
5) Run command "npm i" at folder ".\Tasks\PublishSymbolsV2\
6) Run command at root "npm i"
7) Run command at root "node make.js build --task PublishSymbolsV2"
8) Refer files generated at "_build" to test locally
9) Check-in files changed from ".\Tasks\PublishSymbolsV2\" and files generated from "_generated". Do not checkin files from "_build"


```yaml

Using PAT
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PublishSymbolsV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 2,
"Minor": 247,
"Patch": 10
"Patch": 12
},
"minimumAgentVersion": "2.144.0",
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PublishSymbolsV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 2,
"Minor": 247,
"Patch": 10
"Patch": 12
},
"minimumAgentVersion": "2.144.0",
"groups": [
Expand Down
4 changes: 2 additions & 2 deletions _generated/PublishSymbolsV2.versionmap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|2.247.10
Node20_229_14|2.247.11
Default|2.247.12
Node20_229_14|2.247.13
13 changes: 13 additions & 0 deletions _generated/PublishSymbolsV2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ The task requires either Node v16 or Node v20 to run. The task does not support

* **SymbolsArtifactName**: Specify the artifact name to use for the Symbols artifact. The default is Symbols_$(BuildConfiguration)

## How to build task locally:

1) Create new branch from master
2) Use Node v10.24.1 and npm v6.14.12 when building the task (you can use 'nvm' to quickly and easily switch between different Node versions)
3) Update your changes
4) Update "package.json" and "_buildConfigs/Node20/package.json" in ".\Tasks\PublishSymbolsV2\"
5) Run command "npm i" at folder ".\Tasks\PublishSymbolsV2\
6) Run command at root "npm i"
7) Run command at root "node make.js build --task PublishSymbolsV2"
8) Refer files generated at "_build" to test locally
9) Check-in files changed from ".\Tasks\PublishSymbolsV2\" and files generated from "_generated". Do not checkin files from "_build"


```yaml

Using PAT
Expand Down
6 changes: 3 additions & 3 deletions _generated/PublishSymbolsV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 2,
"Minor": 247,
"Patch": 10
"Patch": 12
},
"minimumAgentVersion": "2.144.0",
"groups": [
Expand Down Expand Up @@ -249,7 +249,7 @@
"NodeVersionSupport": "Node v{0} is no longer supported starting 08/31/2024. Please upgrade pipeline agent to latest version for Node 16 or later."
},
"_buildConfigMapping": {
"Default": "2.247.10",
"Node20_229_14": "2.247.11"
"Default": "2.247.12",
"Node20_229_14": "2.247.13"
}
}
6 changes: 3 additions & 3 deletions _generated/PublishSymbolsV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 2,
"Minor": 247,
"Patch": 10
"Patch": 12
},
"minimumAgentVersion": "2.144.0",
"groups": [
Expand Down Expand Up @@ -249,7 +249,7 @@
"NodeVersionSupport": "ms-resource:loc.messages.NodeVersionSupport"
},
"_buildConfigMapping": {
"Default": "2.247.10",
"Node20_229_14": "2.247.11"
"Default": "2.247.12",
"Node20_229_14": "2.247.13"
}
}
13 changes: 13 additions & 0 deletions _generated/PublishSymbolsV2_Node20/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ The task requires either Node v16 or Node v20 to run. The task does not support

* **SymbolsArtifactName**: Specify the artifact name to use for the Symbols artifact. The default is Symbols_$(BuildConfiguration)

## How to build task locally:

1) Create new branch from master
2) Use Node v10.24.1 and npm v6.14.12 when building the task (you can use 'nvm' to quickly and easily switch between different Node versions)
3) Update your changes
4) Update "package.json" and "_buildConfigs/Node20/package.json" in ".\Tasks\PublishSymbolsV2\"
5) Run command "npm i" at folder ".\Tasks\PublishSymbolsV2\
6) Run command at root "npm i"
7) Run command at root "node make.js build --task PublishSymbolsV2"
8) Refer files generated at "_build" to test locally
9) Check-in files changed from ".\Tasks\PublishSymbolsV2\" and files generated from "_generated". Do not checkin files from "_build"


```yaml

Using PAT
Expand Down
6 changes: 3 additions & 3 deletions _generated/PublishSymbolsV2_Node20/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 2,
"Minor": 247,
"Patch": 11
"Patch": 13
},
"minimumAgentVersion": "2.144.0",
"groups": [
Expand Down Expand Up @@ -257,7 +257,7 @@
"NodeVersionSupport": "Node v{0} is no longer supported starting 08/31/2024. Please upgrade pipeline agent to latest version for Node 16 or later."
},
"_buildConfigMapping": {
"Default": "2.247.10",
"Node20_229_14": "2.247.11"
"Default": "2.247.12",
"Node20_229_14": "2.247.13"
}
}
6 changes: 3 additions & 3 deletions _generated/PublishSymbolsV2_Node20/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 2,
"Minor": 247,
"Patch": 11
"Patch": 13
},
"minimumAgentVersion": "2.144.0",
"groups": [
Expand Down Expand Up @@ -257,7 +257,7 @@
"NodeVersionSupport": "ms-resource:loc.messages.NodeVersionSupport"
},
"_buildConfigMapping": {
"Default": "2.247.10",
"Node20_229_14": "2.247.11"
"Default": "2.247.12",
"Node20_229_14": "2.247.13"
}
}

0 comments on commit 62a3425

Please sign in to comment.