-
Notifications
You must be signed in to change notification settings - Fork 231
Update build scripts to use common metadata file #534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
11811f5
to
43e55ed
Compare
107bb97
to
0e55b21
Compare
0e55b21
to
38feff4
Compare
I'll add a followup PR |
af781a5
to
d186241
Compare
3af3798
to
89e3351
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some feedback but the main blocker is the use of the deleted matrix file that needs to be fixed.
89d0038
to
ca2572c
Compare
ca2572c
to
4fa5e8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good but I don't want the release to fail the first time Fabric attempts to use it so please work with them to get naming figured out or opt them out of those stages if we don't have a value yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall definitely looks solid to me. I have some concerns around usage of member variables for which I left comments. After those resolve, will swap to approve
.
If this turns out solid livetests etc we should get this in ASAP.
echo "vsce publish --azure-credential --packagePath ""$($baseName).vsix"" --manifestPath ""$($baseName).manifest"" --signaturePath ""$($baseName).signature.p7s""" | ||
vsce publish --azure-credential --packagePath "$($baseName).vsix" --manifestPath "$($baseName).manifest" --signaturePath "$($baseName).signature.p7s" | ||
echo "vsce publish --azure-credential --packagePath ""$baseName.vsix"" --manifestPath ""$baseName.manifest"" --signaturePath ""$baseName.signature.p7s""" | ||
vsce publish --azure-credential --packagePath "$baseName.vsix" --manifestPath "$baseName.manifest" --signaturePath "$baseName.signature.p7s" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vsce publish --azure-credential --packagePath "$baseName.vsix" --manifestPath "$baseName.manifest" --signaturePath "$baseName.signature.p7s" | |
vsce publish --azure-credential --packagePath "$($baseName.vsix)" --manifestPath "$($baseName.manifest)" --signaturePath "$($baseName.signature.p7s)" |
These won't resolve in a pshell script as is right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm install -g @vscode/vsce | ||
echo "vsce publish --azure-credential --packagePath ""$($baseName).vsix"" --manifestPath ""$($baseName).manifest"" --signaturePath ""$($baseName).signature.p7s""" | ||
vsce publish --azure-credential --packagePath "$($baseName).vsix" --manifestPath "$($baseName).manifest" --signaturePath "$($baseName).signature.p7s" | ||
echo "vsce publish --azure-credential --packagePath ""$baseName.vsix"" --manifestPath ""$baseName.manifest"" --signaturePath ""$baseName.signature.p7s""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "vsce publish --azure-credential --packagePath ""$baseName.vsix"" --manifestPath ""$baseName.manifest"" --signaturePath ""$baseName.signature.p7s""" | |
echo "vsce publish --azure-credential --packagePath `"$($baseName.vsix)`" --manifestPath `"$($baseName.manifest)`" --signaturePath `"$($baseName.signature.p7s)`"" |
parameters: | ||
DependsOn: Sign | ||
|
||
- ${{ each os in split('linux|windows|macOS', '|') }}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting a pin in this. I believe that Dozie is handling the different name of the OS in the build matrix in verify-packages.yml
.
Will verify and come back to this.
|
||
if (!(Test-Path $BuildInfoPath)) { | ||
LogError "Build info file $BuildInfoPath does not exist. Run eng/scripts/New-BuildInfo.ps1 to create it." | ||
$exitCode = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably immediately bail here right?
|
||
Invoke-LoggedMsBuildCommand $command -GroupOutput | ||
|
||
$package = [ordered]@{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am missing it in the large context of this PR. Where do we generate the package.json? I think you added it to the build of the csproj right?
param( | ||
[string] $ServerName, | ||
[switch] $Trimmed, | ||
[switch] $NoTrimmed, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change from Trimmed
to NoTrimmed
?
} | ||
|
||
if ($exitCode -ne 0) { | ||
exit $exitCode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not worth it in this PR, but later on we should parse these common arguments (for BuildInfoJson at least) in a common verification function. LATER. We should merge this PR now 👍
What does this PR do?
Sample build_info.json
GitHub issue number?
closes #53
Pre-merge Checklist
servers/Azure.Mcp.Server/CHANGELOG.md
and/orservers/Fabric.Mcp.Server/CHANGELOG.md
for product changes (features, bug fixes, UI/UX, updated dependencies
)servers/Azure.Mcp.Server/README.md
and/orservers/Fabric.Mcp.Server/README.md
documentation/docs/azmcp-commands.md
and/or/docs/fabric-commands.md
ToolDescriptionEvaluator
and obtained a score of0.4
or more and a top 3 ranking for all related test prompts/docs/e2eTestPrompts.md
crypto mining, spam, data exfiltration, etc.
)/azp run mcp - pullrequest - live
to run Live Test Pipeline