Граф коммитов

82 Коммитов

Автор SHA1 Сообщение Дата
Shiran Pasternak a290a3b661 Disables end-to-end tests in CI pipeline 2024-08-28 19:14:43 -04:00
David Watrous 74b12fae6f
Updated MacOS pipeline to macOS-13 image (#2913) 2024-06-14 10:31:18 -04:00
David Watrous a10bb063c0
Switch from Windows Powershell to pwsh (#2906) 2024-05-22 11:52:14 -04:00
Haopeng Wang 1fafbc66ab
Add Batch RLC to service package & Add node service (#2853) 2024-01-24 14:15:45 +08:00
Shiran Pasternak ac92a74237 Increases timeout to 2h for all OSes 2023-12-20 13:54:49 -05:00
Shiran Pasternak a8e4a5591c
Fixes AB#1150: Updates @babel/traverse 7.22 -> 7.23 (#2850) 2023-12-01 15:32:01 -05:00
David Watrous b2e186f7a6
Update many dependencies and require Node 18 (#2789) 2023-08-25 12:03:41 -04:00
David Watrous 4952f85aff
Build pipeline perf improvements (#2788) 2023-08-25 10:07:47 -04:00
David Watrous b48ca25782
Shared library refactoring (#2781)
* Add .DS_Store to .gitignore

* Factor out bonito-core and bonito-ui

These packages are intended to act as a Batch-agnostic layer
for building Azure Portal-compatible UIs.

This also moves much of the functionality of the ui-service
package into bonito-core (specifically the parts that aren't
Batch-specific)

* Make `bux link` handle missing packages in node_modules

---------

Co-authored-by: Sanjana Kapur <sanjanakapur@microsoft.com>
2023-08-18 17:15:16 -07:00
David Watrous 1415fe4621
Removed RegisterDependencies pipeline (CG is already auto-injected) (#2769) 2023-08-03 15:20:37 +00:00
David Watrous 9f128c5577
Bump MacOS dist pipeline timeout to 2 hour (#2770)
Notarization and code signing are making the MacOS distribution
come extremely close (or over) the 60 minute default timeout.
2023-08-02 14:48:28 +00:00
Sanjana Kapur 1aecc3bfe4
Integrate localized strings into web and desktop app (#2730)
* Added fake localizer

* Switch desktop app to use new translations

* Add script to combine translated files by language

* Add global build-translations command

* Update comments and docs accordingly with changes

* Run merge-translations script on Azure DevOps path

* Add localization for Batch Explorer web version

* Generate translations for Create Account buttons

* Add basic i18n support for web package

* Rename StandardLocalizer to BrowserLocalizer

* Add merge translations script for web and desktop

* Remove powershell merge translations script

* Add localization support for desktop app

* Copy translations to web too and not just desktop

* Add translations for playground buttons

* Gitignore generated localization files

* Update localization docs with setup instructions

* Add package translations to mergeTranslations

* Optimize package file creation and fix unit test

* Update Electron app localization unit tests

* Address all feedback on PR

* Fix desktop localizer, translation function, tests

* Fix Prettier issue with account yml file

* Update client translations unit test accordingly

* Add http-localizer unit test and minor fixes

* Remove CustomGlobal and simplify navigator object

* Add getLocale function to each localizer

---------

Co-authored-by: David Watrous <509299+dpwatrous@users.noreply.github.com>
2023-08-01 09:48:59 -07:00
David Watrous 5621efd1f1
Updated to CredScan 3 (#2768) 2023-07-31 20:09:11 +00:00
David Watrous 3e857d61cc MacOS Notarization
Notarizes the MacOS build of the desktop app for distribution on MacOS 10.15 and later.

Fixes #2182
2023-06-12 21:44:32 -04:00
David Watrous df0b2720b3
Fix package publishing script (#2741)
This was broken because the Git repo on the DevOps pipelines runs on a detached HEAD. Use the DevOps environment variable to read the target branch instead of using git symbolic-ref.
2023-06-02 20:48:51 +00:00
David Watrous f2bcc8ae06 Publish official packages from main branch only
This lets us get around problems with publishing to multiple pre-release
tags without needing to bump package versions after each release.
2023-06-02 10:25:32 -04:00
Shiran Pasternak 95d91b4039
Cuts over to main in build configuration & docs (#2726)
Should allow new release builds to be created from `main`. Also updates docs and scripts to refer to the main branch.
2023-05-09 18:08:36 +00:00
Sanjana Kapur 635d441c96
Add scripts to build localization on local machine (#2701)
* Add scripts to build localization on local machine

* Remove unneeded parameters from LocProject

* Ignore files generated by local localization build

* Add copy translations script to Dist pipeline

* Remove destination JSON path parameter

* Change scripts to use new translation function

* Add json files when script is run locally

* Change name for download artifacts pipeline

* Add npm commands to run localization scripts

* Add README with localization setup instructions

* Rename destRESJSON, fix script, and other PR fixes

* Silence New-Item and add clean resources task

* Use powershell and modify clean script on desktop

* Replace cross-env-shell for npm loc:restore script
2023-04-11 16:28:13 -07:00
Sanjana Kapur 37a80c332a
Check that there are no resjson changes in Git (#2665)
* Add Localization and Build steps to Dist pipeline

* Add script to check no resjson changes are in Git

* Remove old update-en-loc pipeline

* Renamed i18n-updated to i18n
2023-02-27 10:39:58 -08:00
David Watrous 9084823102
Add publish step for @batch/arm-batch-rest (#2656) 2023-02-10 23:11:59 +00:00
Shiran Pasternak 878e499e98 Adjusts build scripts for main branch 2023-02-09 12:48:01 -05:00
Sanjana Kapur da672b2a41 Add the localization pipeline 2023-02-08 13:48:16 -08:00
Shiran Pasternak 543f9378fa Fixes dist pipeline 2023-02-08 12:06:48 -05:00
Shiran Pasternak cd602ccb1b Merge branch 'master' into vnext 2023-02-07 14:19:09 -05:00
David Watrous 4c8d689329
Only set build variables when running dist pipelines (#2615)
This will make it so PR validation runs don't need permissions
to change build tags, etc.
2023-01-11 14:42:13 -05:00
David Watrous 4c5f3a5ff9
Fixed Windows code signing (#2606)
.NET 2.x doesn't seem to be on our CI image anymore
2022-12-16 13:29:43 -05:00
Shiran Pasternak c6c0a241a0 Publishes packages to private artifact feed 2022-12-12 19:25:14 -05:00
David Watrous ae3e1c1738
Fix pipeline errors on vnext branch (#2601)
Co-authored-by: Shiran Pasternak <shiran.pasternak@microsoft.com>
2022-12-09 14:44:43 +00:00
David Watrous 4af743c425
Install `bux` from tarball instead of symlink (#2594)
Also fixed an issue where tests/mocks weren't being properly excluded from non-test builds
2022-12-09 09:09:12 -05:00
David Watrous 32a0079de4
Rename butil to bux (#2593) 2022-11-17 21:58:45 +00:00
Shiran Pasternak 3b72192592 Build results saved in full path.
Build pipeline configures the path, which is then used during testing to gather build results for codecov.

Fixes AB#15017083
2022-11-02 14:55:02 -04:00
David Watrous 1861743abd
Fix UsePythonVersion warning (#2559)
Using 3.9.x generated a spurious warning about not specifying an exact Python version
2022-08-17 11:42:06 -04:00
Shiran Pasternak 5346cfa346 Merge branch 'master' into vnext
Closes PR #2556
2022-08-15 16:28:47 -04:00
Shiran Pasternak ff8309bd57 Updates MacOS build image
* Uses MacOS Big Sur (version 11) since previous image (10.15 Catalina) became unsupported
* Bumps Python 3.8 -> 3.9
* Bumps pyenv 1.2.20 -> 2.3.2
2022-07-26 18:45:36 -04:00
Shiran Pasternak 2371964be5 TS CLI with configure and link commands 2022-05-11 11:36:01 -04:00
David Watrous d8ca6a703b Replace Yarn with NPM 2022-05-05 18:11:36 -04:00
Shiran Pasternak c42e482b75 Explicitly uses .NET 2.1 for code-signing
Mitigation step until Mac code-signing task can support later versions of .NET Core.
2022-03-29 17:21:30 -04:00
David Watrous 80765b8744 Added initial commit of shared libraries 2022-02-24 10:49:44 -05:00
David Watrous 62aa271808 Switch from Spectron to Playwright for e2e tests 2022-02-16 11:59:12 -05:00
Shiran Pasternak 49de3606b8 Pipelines use private feed for NPM and PyPi 2022-02-15 20:45:04 -05:00
Shiran Pasternak 8029f006a2 Pipelines: Refactors Python and Node setup 2022-02-15 20:45:04 -05:00
Shiran Pasternak 64a5e2f747 Security analysis on both CI and Dist pipelines 2022-02-09 11:53:47 -05:00
Shiran Pasternak 2459878f8f Moves SBOM generation to Dist pipeline 2022-02-09 11:53:47 -05:00
Shiran Pasternak 41c40fac52 SBOM generation 2022-02-08 11:33:46 -05:00
Shiran Pasternak 13e75a30b9 Migrates pipeline to CyberEO-compliant 1ES Hosted Pool 2022-02-08 11:33:46 -05:00
Shiran Pasternak 4340ad8a68 Tweak: Pipeline YAML formatting 2022-02-08 11:33:46 -05:00
Shiran Pasternak 12f91ba2c2
Updating localization build image to Ubuntu 20.04 (#2425) 2022-02-01 15:31:13 -08:00
David Watrous d71990a24d
Switch to CredScan V2 (#2391)
* Switch to CredScan V2

* Added credscan suppressions
2021-10-21 11:30:31 -07:00
David Watrous b3c87c26fc
Update builds to Node.js 16 and NPM 7 (#2388) 2021-10-18 13:20:31 -04:00
David Watrous 89c7c1d132 Updated email addresses 2021-04-13 15:25:53 -04:00