Skip to content
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

[Cosmos DB] Fixing Cosmos emulator CI #21564

Merged
merged 2 commits into from
Sep 15, 2023
Merged

[Cosmos DB] Fixing Cosmos emulator CI #21564

merged 2 commits into from
Sep 15, 2023

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Sep 15, 2023

Emulator CI started to fail on 8/31 with:

"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_work\_temp\71e34255-01cf-49e5-b060-8a3f2ac8beaf.ps1'"
UseAzcoreFromMain : The term 'UseAzcoreFromMain' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At D:\a\_work\_temp\71e34255-01cf-49e5-b060-8a3f2ac8beaf.ps1:4 char:64
+ … k\1\s\eng\scripts\Build_Perf.ps1' data/azcosmos $$(UseAzcoreFromMain)
+                                                      ~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (UseAzcoreFromMain:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
##[error]PowerShell exited with code '1'.
Finishing: Build Performance Tests

Apparently this is due to a missing global variable.

@ealsur ealsur merged commit cc5a8a0 into Azure:main Sep 15, 2023
11 checks passed
@ealsur ealsur deleted the users/ealsur/cosmosemucifix branch September 15, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants