-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3949 from chengcyber/feat-cobuild
[rush] Implementation of Cobuild feature
- Loading branch information
Showing
125 changed files
with
9,618 additions
and
3,642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"name": "rush-redis-cobuild-plugin-integration-test", | ||
"path": "../build-tests/rush-redis-cobuild-plugin-integration-test" | ||
}, | ||
{ | ||
"name": "rush-redis-cobuild-plugin", | ||
"path": "../rush-plugins/rush-redis-cobuild-plugin" | ||
}, | ||
{ | ||
"name": "rush-lib", | ||
"path": "../libraries/rush-lib" | ||
}, | ||
{ | ||
"name": ".vscode", | ||
"path": "../.vscode" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 37 additions & 31 deletions
68
build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
build-tests/rush-redis-cobuild-plugin-integration-test/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// This is a workaround for https://github.com/eslint/eslint/issues/3458 | ||
require('@rushstack/eslint-config/patch/modern-module-resolution'); | ||
|
||
module.exports = { | ||
extends: ['@rushstack/eslint-config/profile/node'], | ||
parserOptions: { tsconfigRootDir: __dirname } | ||
}; |
1 change: 1 addition & 0 deletions
1
build-tests/rush-redis-cobuild-plugin-integration-test/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
redis-data/dump.rdb |
83 changes: 83 additions & 0 deletions
83
build-tests/rush-redis-cobuild-plugin-integration-test/.vscode/tasks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "shell", | ||
"label": "cobuild", | ||
"dependsOrder": "sequence", | ||
"dependsOn": ["update", "_cobuild"], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "_cobuild", | ||
"dependsOn": ["build 1", "build 2"], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "update", | ||
"command": "node ../../lib/runRush.js update", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": false | ||
}, | ||
"options": { | ||
"cwd": "${workspaceFolder}/sandbox/repo" | ||
} | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "build 1", | ||
"command": "node ../../lib/runRush.js --debug cobuild --timeline --parallelism 1 --verbose", | ||
"problemMatcher": [], | ||
"options": { | ||
"cwd": "${workspaceFolder}/sandbox/repo", | ||
"env": { | ||
"RUSH_COBUILD_CONTEXT_ID": "integration-test", | ||
"RUSH_COBUILD_RUNNER_ID": "runner1", | ||
"RUSH_COBUILD_LEAF_PROJECT_LOG_ONLY_ALLOWED": "1", | ||
"REDIS_PASS": "redis123" | ||
} | ||
}, | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": true | ||
}, | ||
"group": "build" | ||
}, | ||
{ | ||
"type": "shell", | ||
"label": "build 2", | ||
"command": "node ../../lib/runRush.js --debug cobuild --timeline --parallelism 1 --verbose", | ||
"problemMatcher": [], | ||
"options": { | ||
"cwd": "${workspaceFolder}/sandbox/repo", | ||
"env": { | ||
"RUSH_COBUILD_CONTEXT_ID": "integration-test", | ||
"RUSH_COBUILD_RUNNER_ID": "runner2", | ||
"RUSH_COBUILD_LEAF_PROJECT_LOG_ONLY_ALLOWED": "1", | ||
"REDIS_PASS": "redis123" | ||
} | ||
}, | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": true | ||
}, | ||
"group": "build" | ||
} | ||
] | ||
} |
Oops, something went wrong.