@lage-run/cli 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,43 @@
|
|
|
2
2
|
"name": "@lage-run/cli",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 27 Jan 2023 20:01:58 GMT",
|
|
6
|
+
"tag": "@lage-run/cli_v0.6.4",
|
|
7
|
+
"version": "0.6.4",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "kchau@microsoft.com",
|
|
12
|
+
"package": "@lage-run/cli",
|
|
13
|
+
"commit": "597b0e8ad233f460a0d16e0996079fa97bd9de14",
|
|
14
|
+
"comment": "make sure to take the task args into account for caching"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 27 Jan 2023 00:28:15 GMT",
|
|
21
|
+
"tag": "@lage-run/cli_v0.6.3",
|
|
22
|
+
"version": "0.6.3",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "beachball",
|
|
27
|
+
"package": "@lage-run/cli",
|
|
28
|
+
"comment": "Bump @lage-run/scheduler to v0.8.1",
|
|
29
|
+
"commit": "b0f0b5a7773a71c111799f3a3b0a48a7824b838b"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@lage-run/cli",
|
|
34
|
+
"comment": "Bump @lage-run/reporters to v0.3.1",
|
|
35
|
+
"commit": "b0f0b5a7773a71c111799f3a3b0a48a7824b838b"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Wed, 18 Jan 2023 23:27:05 GMT",
|
|
6
42
|
"tag": "@lage-run/cli_v0.6.2",
|
|
7
43
|
"version": "0.6.2",
|
|
8
44
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
# Change Log - @lage-run/cli
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 27 Jan 2023 20:01:58 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.6.4
|
|
8
|
+
|
|
9
|
+
Fri, 27 Jan 2023 20:01:58 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- make sure to take the task args into account for caching (kchau@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.6.3
|
|
16
|
+
|
|
17
|
+
Fri, 27 Jan 2023 00:28:15 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @lage-run/scheduler to v0.8.1
|
|
22
|
+
- Bump @lage-run/reporters to v0.3.1
|
|
23
|
+
|
|
7
24
|
## 0.6.2
|
|
8
25
|
|
|
9
|
-
Wed, 18 Jan 2023 23:
|
|
26
|
+
Wed, 18 Jan 2023 23:27:05 GMT
|
|
10
27
|
|
|
11
28
|
### Patches
|
|
12
29
|
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "createCache", {
|
|
|
9
9
|
const _cache = require("@lage-run/cache");
|
|
10
10
|
const _isRunningFromCIJs = require("../isRunningFromCI.js");
|
|
11
11
|
function createCache(options) {
|
|
12
|
-
const { cacheOptions , logger , root , skipLocalCache } = options;
|
|
12
|
+
const { cacheOptions , logger , root , skipLocalCache , cliArgs } = options;
|
|
13
13
|
const hasRemoteCacheConfig = !!cacheOptions?.cacheStorageConfig || !!process.env.BACKFILL_CACHE_PROVIDER || !!process.env.BACKFILL_CACHE_PROVIDER_OPTIONS;
|
|
14
14
|
// Create Cache Provider
|
|
15
15
|
const cacheProvider = new _cache.RemoteFallbackCacheProvider({
|
|
@@ -38,7 +38,8 @@ function createCache(options) {
|
|
|
38
38
|
const hasher = new _cache.TargetHasher({
|
|
39
39
|
root,
|
|
40
40
|
environmentGlob: cacheOptions?.environmentGlob ?? [],
|
|
41
|
-
cacheKey: cacheOptions?.cacheKey
|
|
41
|
+
cacheKey: cacheOptions?.cacheKey,
|
|
42
|
+
cliArgs
|
|
42
43
|
});
|
|
43
44
|
return {
|
|
44
45
|
cacheProvider,
|
|
@@ -67,7 +67,8 @@ async function runAction(options, command) {
|
|
|
67
67
|
root,
|
|
68
68
|
logger,
|
|
69
69
|
cacheOptions: config.cacheOptions,
|
|
70
|
-
skipLocalCache: options.skipLocalCache
|
|
70
|
+
skipLocalCache: options.skipLocalCache,
|
|
71
|
+
cliArgs: taskArgs
|
|
71
72
|
});
|
|
72
73
|
logger.verbose(`Running with ${concurrency} workers`);
|
|
73
74
|
const filteredPipeline = (0, _filterPipelineDefinitionsJs.filterPipelineDefinitions)(targetGraph.targets.values(), config.pipeline);
|
|
@@ -92,7 +92,8 @@ async function watchAction(options, command) {
|
|
|
92
92
|
root,
|
|
93
93
|
logger,
|
|
94
94
|
cacheOptions: config.cacheOptions,
|
|
95
|
-
skipLocalCache: false
|
|
95
|
+
skipLocalCache: false,
|
|
96
|
+
cliArgs: taskArgs
|
|
96
97
|
});
|
|
97
98
|
const filteredPipeline = (0, _filterPipelineDefinitionsJs.filterPipelineDefinitions)(targetGraph.targets.values(), config.pipeline);
|
|
98
99
|
const maxWorkersPerTaskMap = (0, _getMaxWorkersPerTaskJs.getMaxWorkersPerTaskFromOptions)(options.maxWorkersPerTask);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lage-run/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Command Line Interface for Lage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/microsoft/lage"
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@lage-run/find-npm-client": "^0.1.4",
|
|
22
22
|
"@lage-run/logger": "^1.2.2",
|
|
23
|
-
"@lage-run/scheduler": "^0.8.
|
|
23
|
+
"@lage-run/scheduler": "^0.8.1",
|
|
24
24
|
"@lage-run/scheduler-types": "^0.3.0",
|
|
25
25
|
"@lage-run/target-graph": "^0.6.1",
|
|
26
26
|
"@lage-run/cache": "^0.2.3",
|
|
27
|
-
"@lage-run/reporters": "^0.3.
|
|
27
|
+
"@lage-run/reporters": "^0.3.1",
|
|
28
28
|
"commander": "^9.4.0",
|
|
29
29
|
"workspace-tools": "^0.29.0",
|
|
30
30
|
"chokidar": "3.5.3",
|