-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AAE-4608] Use smartrunner version 2 and add SuperCache (workspaces +…
… S3 combo)! (#6704) * [AAE-4608] Use smartrunner version 2 * Fix npm installing and do not depend on develop cache * Add Travis workspaces the simplest way * Add missing dependencies * Remove unnecessary npm install on lint * Fix travis indentation * Fix e2e missing adf packages * Trying to fix Travis * Remove debug information * Use Travis workspaces for smartrunner and built artefacts caching instead of S3 * Implement nuclear caching for node_modules * Quiet snyk running, since the log length kills Travis * Maybe with -q * Quieting snyk * Why displaying the added packages?????? * Fix S3 persister/retriever scripts * Restore back parallel build and lint, to gain 10 minutes
- Loading branch information
1 parent
f6308a7
commit f84ea5d
Showing
13 changed files
with
436 additions
and
266 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,14 @@ | ||
const SmartRunnerFactory = require('protractor-smartrunner').SmartRunnerFactory; | ||
const resolve = require('path').resolve; | ||
|
||
const outputDirectory = process.env.SMART_RUNNER_DIRECTORY; | ||
const repoHash = process.env.GIT_HASH; | ||
|
||
console.log(`SmartRunner's repoHash: "${repoHash}"`); | ||
console.log(`SmartRunner's outputDirectory: "${outputDirectory}"`); | ||
|
||
module.exports = new SmartRunnerFactory({ | ||
repoHash, | ||
...(outputDirectory ? { outputDirectory: resolve(__dirname, '..', outputDirectory) } : {}), | ||
exclusionPath: resolve(__dirname, 'protractor.excludes.json') | ||
}); |
Oops, something went wrong.