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

15 Коммитов

Автор SHA1 Сообщение Дата
Kenneth Chau fff2953a94
adding a flag to turn off local cache population (#211)
* adding a flag to turn off local cache population

* Change files

* added a test

* fixing some envglob bug as well
2022-01-28 16:06:34 -08:00
dannyvv 9f707dc611
Add dgml reporter (#198)
* Add dgml reporter

* Change files
2022-01-13 14:52:59 -08:00
Max c3c1c7378f
Spottiness in transitiveTaskDeps tests (#200)
- Sets unique names for each transitiveTaskDeps test to avoid fs
  collisions between tests. This was causing spottiness in test runs.
- Sets consistent priority for c#transpile in transitiveDeps-indirect
  to make the relative priority to b#transpile explicit in the test.

Co-authored-by: Maxwell Huang-Hobbs <mahuangh@microsoft.com>
2022-01-03 15:12:17 -08:00
Max ece4b3ce5c
Allow parallel scheduling of transitive dependencies with ^^ prefix (#192)
* add ^^ for queueing transitive dependencies

* revert some changes to monorepo test case

* fix typos and clarify comments in transitiveTaskDeps test

* update docs with notes on new task prefix

* Change files

* make usage of backtick vs quote consistent in updated docs

* avoid infinite walk over circular dependencies

* validate behaviour of non-prefixed dependency with test

* remove stray console.log

* Cache transitive deps on walked subgraphs in Pipeline.
2022-01-03 13:56:35 -08:00
Tommy Nguyen 8198557e7a
Disable GPG signing in tests to ensure it won't fail (#180) 2021-12-02 14:23:45 -08:00
Kenneth Chau bd4c49bb9e
added remote cache with fallback (#172)
* added remote cache with fallback

* Change files

* using the remote cache fallback custom provider

* clarification

* WIP: beginnings of a e2e test for this

* fallback

* configuring git user

* adding a fix for cache key

* get rid of os / node version specifics in hash for now

* get rid of os / process specifics - these can be added via customKey

* getting local cache fill right

* adding migration guide
2021-10-13 13:31:23 -07:00
Kenneth Chau ffe273c8bd
Fix exit code - when a npm script task fails, we found that --safe-exit would cause it to not give the correct exit code (#169)
* Change files

* fixes the stack of undefined issue and somehow causing exit code of 0 in that case
2021-09-16 12:42:34 -07:00
Kenneth Chau 3419ad0468
Fixing failure mode when targets fail, we need to fail the build! (#165)
* swap to jest to get watch mode for test, getting wrapped target to actually fail

* Change files
2021-09-14 13:23:01 -07:00
Kenneth Chau 54edb78c69
Fix looseness for task deps (#164)
* adding a "failing test" first

* make sure to allow loose mode for task deps

* Change files
2021-09-03 20:06:51 -07:00
Kenneth Chau 6d6c6be318
Configuration revamp! (#153)
* revamping the configuration

* const

* update lockfile

* splitting out task id things

* properly adding ^ deps

* caching with wrapped tasks

* cache + npm task refactor

* caching working for globaltasks

* adds the unknown command feature

* info is back!

* sort order

* fixing tests

* Change files

* Change files

* pretteri

* fix up logger

* refactor to be cleaner with the run command

* global dep from a package task also works (all global stuff would go first as a group)

* adding some info niceties

* delete bad console.log

* get rid of a file
2021-07-29 17:14:43 -07:00
Kenneth Chau c8eded2255
Add types so the lage.config.js can be typed! (#148)
* bump deps and add types as output

* bump beachball

* Change files

* add more ignored stuff

* adding more to ignore

* lage main should expose types, but bin to use the cli.js instead

* let yarn figure out where to find lage

* okay use cli instead of index
2021-06-11 15:58:47 -07:00
Oliver Wheeler 6e97202a53
feat: Add --include-dependencies option (#112)
* feat: Add --include-dependencies option

Add an option to run tasks for transitive dependencies
regardless of --scope or --since

* Change files

* docs: include-dependencies cli option

* fix: Fix test build error

* test: Add test for include-dependencies option

* docs: include-dependencies

Add example to remove ambiguity
2020-11-17 00:02:07 +01:00
Kenneth Chau 00ca6e99c4
Pipeline - adds an option to allow package-task to package-task deps to be specified in the config (#63)
* Adds a way to specify individual package task dependency

* add note about configuration format of the new pipeline syntax

* Change files

* adds a new feature, should be minor

* update task-scheduler

* fix tests
2020-08-14 11:51:39 -07:00
Kenneth Chau 2599523e22
Adding a new concept of reporters (#54)
* adding basics e2e

* Change files

* mock it

* executable

* a;ekfaj;elkfja;ldjfk

* fixing up install of lage

* fixing the symlink of lage

* WIP: major refactor to allow for reporters

* getting json reporter working!

* clean up index

* adding big app tests

* get rid of change file

* fix CliOptions

* Change files

* adding docs about the CliOptions changes

* get rid unused types
2020-08-05 17:02:45 -07:00
Kenneth Chau a178ed337f
End to end tests for running basics (#52)
* adding basics e2e

* Change files

* mock it

* executable

* a;ekfaj;elkfja;ldjfk

* fixing up install of lage

* fixing the symlink of lage
2020-08-05 12:14:45 -07:00