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

68 Коммитов

Автор SHA1 Сообщение Дата
Bruno Ruiz de Somocurcio c0c0193596
Adding support for Azure DefaultAzureCredentials when stoage account endpoint is provided (#752)
* Add support for DefaultAzureCredentials when storage endpoint is passed in.

* Change files

* Change

* Pin @azure/identity version

* Changing version back to 4.0.1

* Shifting build workflows to node 18 to overcome issue with @azure/Identity dep

* Caching DefaultAzureCredentials

* Readme Update

---------

Co-authored-by: brunoru <brunoru@microsoft.com>
2024-06-10 15:49:59 -07:00
Elizabeth Craig f324cccc43
Set shell: true when spawning npm commands (#732) 2024-04-23 22:18:54 +00:00
Elizabeth Craig fb4fcb8419
Run prettier on all files (#731) 2024-04-17 16:18:32 -07:00
Elizabeth Craig 429047eb17
Pin external deps to ensure explicit updates to lage bundle (#712) 2023-12-21 01:46:18 -08:00
Elizabeth Craig 0752bad677
Unpin devDependencies (#654) 2023-12-21 00:35:03 -08:00
Elizabeth Craig 56910ce2ef
Add back the init command (#645)
* Add back the init command

* fix eslint
2023-04-25 21:51:19 -07:00
Elizabeth Craig 252c49435a Release using environment, and try to fix v1 builds 2023-02-21 08:58:42 -08:00
Elizabeth Craig 5ed95c71a4
Update pr.yml 2023-02-07 17:12:43 -08:00
Kenneth Chau d7bf00acf2
Promoting v2 to be latest! (#572)
* migrating to V2

* Change files

* Change files

* use beachball to bump major

* specific to package bundle

* Update packages/lage/RELEASE.md

Co-authored-by: David Zearing <dzearing@microsoft.com>

* Update packages/lage/RELEASE.md

Co-authored-by: David Zearing <dzearing@microsoft.com>

* updated release notes

* adding notes about new @lage-run packages

---------

Co-authored-by: David Zearing <dzearing@microsoft.com>
2023-02-07 15:49:19 -08:00
Ken af6ef11580 adding v1 release! 2023-02-07 13:15:58 -08:00
Kenneth Chau 94d24ea002
Try release 2 (#571)
* Change files

* releasing again
2023-02-07 10:06:38 -08:00
Elizabeth Craig f5d77d3e3f Fix github token perms for docs update 2023-01-12 13:47:39 -08:00
Elizabeth Craig 257f365dba Fix github token perms for release 2023-01-12 13:46:37 -08:00
Kenneth Chau 9a11cfd194
Switch transpilation to swc for build performance (#477)
* start of swc

* docs are skipped in transpilation

* more replace

* moving the build to bundle for lage v2

* added fixes in pr & release

* fixing the types worker to only generate d.ts files

* swcrc instead of individual hacks

* change what "build" means

* transpile fixes the path from src to lib

* making swc the transpiler of choice

* Change files

* force color = 0 in the setup rather than individual test files

* fixed monorepo fixture and targetrunnerpicker to pick out runner transpiled by swc

* Change files
2022-11-04 18:02:31 -07:00
Kenneth Chau 97b306418a
Get rid of third party abort-controller package (#473)
* get rid of third party abort-controller impl

* Change files

* fix typeo
2022-11-01 15:42:18 -07:00
Kenneth Chau 632880c64a
reducing the need to run builds on windows (#469) 2022-11-01 13:22:21 -07:00
Kenneth Chau 2d8af6ca7f
Syncpack - making sure everything is consistent in package.json deps an devDeps (#468)
* Change files

* fixed to use consistent package dep versions
2022-11-01 13:07:06 -07:00
Kenneth Chau e8946dc08f
Depcheck and fixes! (#464)
* adding a depcheck worker

* adding an ignore for the monorepo-scripts

* fixing all the depcheck failures!

* fixing to have PRs check for deps

* Change files

* fixing up lage deps

* Change files
2022-10-31 14:20:42 -07:00
Kenneth Chau 43b36b8bd6
enable cache for lage repo itself (#413)
* enable cache for lage repo itself

* get rid of extra inherited process.env

* update e2e tests to accommodate new env

* show errors and caching

* do not extend process.env

* prettier

* also get rid of process.env extend with lage v1 e2e tests

* fixes the monorepo mock to not use process.env of the pipeline

* updated the process env setting in spawn a lage run test in e2e

* deletes process.env

* formatting

* update the lage version

* revert the hacks, and use a single setup

* fixing the config to use the right setupFilesAfterEnv

* silly log level to check the cache put sitch

* fixing the bundle for lage so it uses the right uuid impl

* Change files
2022-10-06 17:18:31 +00:00
Kenneth Chau 8e77866719
An attempt to fix the broken unit tests (#410)
* just a fix to which envrionment wins

* Change files

* get rid of environment variables settings in pr.yml

* Change files

* correcting the behavior
2022-10-05 23:53:00 +00:00
Ken 1d9b557ad9 enabling build caches 2022-10-05 13:07:09 -07:00
Kenneth Chau 13c84e2a17
Adding concurrency setting that isn't OS.CPUS() - 1 in CI (#392)
* try out exclusions

* powershell

* sigh

* adding github workspace to exclusion

* env

* adding an exclusion rule to make windows runs a bit faster

* add concurrency instead of trying to make exclusions

* runinband for jest for lage runs of tests
2022-10-01 11:19:09 -07:00
Ken Chau 15d0684e0f add codeowner 2022-09-18 20:20:04 -07:00
Elizabeth Craig 8e34a5fc07
Update PR workflow OS checks (#348) 2022-09-16 03:58:22 +00:00
Elizabeth Craig 1a9852e9c1 Enable release workflow batching 2022-09-15 19:10:54 -07:00
renovate[bot] d51817485e
Update actions/checkout action to v3 (#343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 01:40:36 +00:00
renovate[bot] dbd9860f9e
Update actions/setup-node action to v3 (#344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 18:25:49 -07:00
Ken 0b538534f5 get rid of chatops 2022-08-31 12:28:34 -07:00
Kenneth Chau 753fa9544a
Fixes the weirdness that is readable-stream (#332)
* Fixes the weirdness that is readable-stream

* reverted

* Change files

* removed reporters

* don't need to run half the stuff on windows!
2022-08-26 16:00:19 -07:00
Kenneth Chau 74c34a0e19
@lage-run/scheduler (#320)
* scheduler init checkin

* simple scheduler is functionality complete

* polish on types

* adding a simple test

* simple scheduler test

* WIP

* wip: working on abortsignals

* Figured out the abort controller pattern

* abort signal handled!

* added a way for targets to specify a node option

* learn how to launch npm

* only run npm script when there IS a script in the package.json

* adding formatduration test

* clearing up responsibility

* made sure the abort signal works in a unit test

* wip on testing npmscriptrunner

* abort signal test work!

* testing the environment variables

* wrapped target tests started

* test that wrapped target can cache

* tests written about aborting earlier vs not

* Change files

* comments

* less exposed functions, and added more comments

* adding a cmd file for the fakeNpm

* adding fixes for windows to be able to test this

* use a matrix to make sure builds and tests are okay with all os's

* fixing formatting according to prettier

* updating test to exhibit correct behavior

* fixed tests to be able to run very quickly and in parallel

* Don't publish monorepo-scripts!

* make sure to ignore the generated and node_modules with prettier

* forget about enforcing the endofline

* include an inline snapshot to show what is in the dependencies instead
2022-08-09 12:10:23 -07:00
Kenneth Chau 6bd2ca57ef
Implementing @lage-run/cache (#316)
* cache implementation, salt fn tested

* updated for remote cache provider

* polishing the branch a bit

* Polishing PR

* adding monorepo-fixture

* fixing up and polishing

* polishing with lint

* refactored to have remoteFallbackCacheProvider take in providers to assist in testing and better separation of concerns

* some documentation for when we implement the consumer of this library!

* Change files

* fixing up prettier formatting

* cleaning up linting issues

* adding some nice comments

* fixing the tests

* using lage itself to build itself!

* get all the jest config in one spot

* added some imports in examples

* added index.ts exports to make it easier to use this library
2022-08-01 14:13:30 -07:00
Kenneth Chau c0bc72904f
Adds monorepo-scripts and linting (#312)
* Do linting!

* fixed formatting

* Change files
2022-07-25 08:49:55 -07:00
Kenneth Chau fe9ed19e94
Prettier! (#305)
* updating per prettier

* Change files
2022-07-15 19:56:05 -07:00
Ken Chau 3c0b4986f2 node 16 upgrade! 2022-07-01 09:06:23 -07:00
Kenneth Chau ee4b292649
Renovate bot installation, move master branch to publish to "latest" npm tag (#281)
* new renovate file

* adding real renovate config

* Change files

* get rid of dependabot configs

* publish 1.x to latest npm tag

* fix email
2022-07-01 08:41:12 -07:00
Ken e25c2a0c3f change the updates to be from dependabot 2022-06-14 13:45:28 -07:00
Ken 871d550ed3 Merge branch 'master' of https://github.com/microsoft/lage 2022-06-13 17:18:52 -07:00
Ken abb407812b trying the pullrequest head ref 2022-06-13 17:18:50 -07:00
Kenneth Chau c4f4b303fd
Create dependabot.yml 2022-06-13 17:12:18 -07:00
Ken 11d20ed256 simplify yarn install to install beachball only 2022-06-13 17:08:47 -07:00
Ken 0791fe7908 try checking out from the pr itself not try to get too fancy 2022-06-13 16:55:02 -07:00
Ken 3927d42d7e making dependabot do its thing with git pushes 2022-06-13 16:45:30 -07:00
Kenneth Chau 37afa6dd2f
Update issue templates 2022-05-26 15:45:30 -07:00
Kenneth Chau ceea3a2147
Update issue templates 2022-05-26 15:43:37 -07:00
Kenneth Chau 86324b35a7
Update issue templates 2022-05-26 15:19:19 -07:00
Ken Chau ce90567fcb yes almost! 2022-05-21 00:24:07 -07:00
Ken Chau 550c37ea98 get rid of colon 2022-05-21 00:23:22 -07:00
Ken Chau 907bfeef22 get rid of invalid spaces 2022-05-21 00:22:17 -07:00
Ken Chau 2e2e8f0b7b dependabot 2022-05-21 00:17:12 -07:00
Ken Chau 8aba0a2b73 dependabot yaml 2022-05-21 00:16:13 -07:00