scopejob READMEMicrosoft employee tooling: This extension should be used only by Microsoft employees to run SCOPE scripts on cosmos virtual clusters directly from VSCode. FeaturesAvailable commands:
After the Powershell modules and Cosmos SDK are installed using the commands above, you can press F1 and try to run the available commands under ScopeJob and ScopeJob-Extra. In case you are not automatically authenticated to Cosmos resources, you'll have to run the 'Connect to AAD Account' or 'Encode Cosmos User' command in a powershell window. To get a full set of commands in from the Cosmos Powershell Module, you can run the ScopeJob-Extra: Get list of Powershell Cosmos module commands. If a scope script file is open, press right click and you can access the shortcuts for compiling and running the script. RequirementsIn order to utilize this extension and execute the commands successfully, you'll need to be a Microsoft employee who has access to at least one cosmos vc and resource access to the cosmos SDK. For a fully functional extension, install both Powershell Cosmos Module and Cosmos SDK using the following commands:
Known Issues
Release NotesThis is the initial alpha release of the extension and the main purpose of this release is to test and gather feedback 0.0.2This release contains the main commands available in Cosmos for compiling, running scripts and checking the job status. More commands will be implemented soon. Until then, you can use the installed SDK to manually run the commands in a terminal window. 0.0.3Added capability to manually uninstall the Cosmos Powershell Module. The module is not yet automatically uninstalled when the extension is uninstalled so, it gives the option to remove the Cosmos module and SDK files if not intended to be used without the extension itself. 0.0.4Added a command for encoding the user for cosmos access. This will ease the experience for the first time usage of the extension after install. Enabled global parameter value persisting capability. The parameters will be auto-populated with the latest value used for that command. They will globally persist for the logged in user. Added the cosmos SDK path to the user's 'PATH' variable to enable the run of scope.exe commands in the terminal. This will cover more scope/cosmos capabilities than this extension currently offers in alpha version. The zip file used to install Cosmos SDK, is removed to clear disk space. 0.0.5Added new changes due to the NTLM deprecation on Cosmos. A new PowerShell module installation was introduced. The "Install Cosmos Module" will remove the previous Cosmos module and install Az.Cosmos and Az.Accounts modules to enable AAD authentication for getting access to cosmos resources. Improved the job running experience by adding progress information and the ability of running multiple jobs in parallel without having to wait for the previous job to finalize. Optionally, you could install the Scope SDK. The SDK is useful only for more advanced scenarios in which users would like to either use custom versions of the SDK or use the scope libraries on other application. 0.0.6Fixes for commands that deal with paths and file names with spaces. Fixes for getting the list of jobs for the user. |