* Run our build scripts directly as typescript #277567
Follow up on #276864
For #277526
* Remove a few more ts-node references
* Fix linux and script reference
* Remove `_build-script` ref
* Fix script missing closing quote
* use type only import
* Fix export
* Make sure to run copy-policy-dto
* Make sure we run the copy-policy-dto script
* Enable `verbatimModuleSyntax`
* Pipelines fixes
* Try adding explicit ext to path
* Fix bad edit
* Revert extra `--`
---------
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
* Engineering - move Windows CLI jobs into the template
* Rename files
* Declare output in the template context
* Refactor job template
* Move files around
* Move files around
* Fix path
* Another try
* Revert "Another try"
This reverts commit ac1f1ad2df.
* Some more paths to fix
* Engineering - declare compilation stage output
* Fix typo
* Declare artifacts
* Mark compilation output as non-production
* Remove condition for testing purposes
* Move declaration
* Comment out test related logs
* Upload test logs
* Add the comment back
* Remove code that is commented out
* Trying to switch to one artifact
* Add back all outputs
* Consistent outputs
* Add output parent directory
* Add more artifacts
* Move things around
* Add outputs to the CI jobs
* Switch over the CLI job
* Adjust sbomPackageName for CLI
* Restore the for loop
* More improvements to the CLI job
* Fix SBOM path
* Remove commented out tasks
* Fix atrifact names for the CI build
* Update target path
* Refactor artifact publishing steps to use a common template across all build configurations
* Refactor conditions in publish artifact template
* typo
* whops
* fix msg
* hm
* WIP - fold sign steps into the jobs
* Speed up compilation
* Add back tasks
* Remove tasks that are not needed
* Update folder
* Fix universal job
* More work
* Improve script
* Improve logging
* More logging tweaks
* Another fix for the script
* Add back CLI job and run tests
* Fix pipeline condition
* Move testing to the ARM64 stage
* Update Codesign task names
* Run tests after publishing unsigned packages
* Background codesign
* Use bash when running background signing
* Another attempt
* Add error handling to script
* Add more logging
* .
* Pull request feedback
* More feedback
* Remove signature verification condition
* Delete tasks that are not needed
* Fix task display name
* Use VSCODE_ARCH parameter
* Update task display name
* Exclude Windows setup files from BinSkim
* Debug: Scan everything but with TSA off
* Narrow analyzeTargetGlob
* Scan node and DLL files as well
* Try excluding BinSkim from CustomSDL
* Re-enable TSA
* Clean up
* Rename CustomSDL stage and job
* fix: revert glibc requirements for tunnel cli
* chore: address feedback on wording
* fix: only store state when user allows the prompt
* chore: update checksums for sysroot
* fix: store connection choice per distro
* update rpm deps-list
---------
Co-authored-by: Connor Peet <connor@peet.io>
* cli: use terrapin for cli builds
* update rust to 1.70 to allow ado artifacts feed on windows
* apparently manaul cargo login is required
* use msrustup
* rustup is no longer user
* update to 1.73
* add rust oss install
- Remove the `prepare` script entirely
- Variables are now populated from the product.json during build. Most
variables are mapped automatically, with some special handling in a
few cases. `build.rs` is now much more self-contained.
- Look for the `product.overrides.json` for vscode developers instead of
looking for a peer `vscode-distro` folder
Fixes#178691
* build: don't apply cli 'patches' for merge check
This also needed modules installed. But with the new toml patches, the 'merge' will never fail outright, so there's no need to do a separate merge check for it imo
* reduce duplication in pipelines, cache node_modules
* cli: store cli in user data dir, separate per quality
Fixes#181017
On first run, the `~/.vscode-cli` will be migrated inside the user data dir of the currently running quality.
* use create_dir_all instead
* clippy fixes