-
Notifications
You must be signed in to change notification settings - Fork 8
integrated local-extract and aded to the dashboard #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
runner/config.js
Outdated
}, | ||
{ | ||
name: 'unixFS-extract', | ||
shell: `source ~/.nvm/nvm.sh && OUT_FOLDER=/tmp/out REMOTE=true node ${remoteTestsPath}/local-extract.js`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you extract the source ~/.nvm/nvm.sh && OUT_FOLDER=/tmp/out REMOTE=true
part into a variable? So we don't repeat this everywhere with the risk of forgetting one.
@@ -23,7 +23,7 @@ const writePoints = (data) => { | |||
for (let point of data) { | |||
payload.push({ | |||
measurement: point.name, | |||
tags: { subTest: point.subTest, commit: point.meta.commit, project: point.meta.project, testClass: point.testClass }, | |||
tags: { subTest: point.subtest, commit: point.meta.commit, project: point.meta.project, testClass: point.testClass }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ron used lowercase i used snakeCase. We should probably unify that everywhere ;-)
|
||
arrResults.push(await localAdd(node, testName, 'add-populated-repo', 'largefile')) | ||
arrResults.push(await localAdd(node, testName, 'populated-repo', 'largefile')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you refactor this block by iterating over the list of tests (maybe from config)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, I will make a new PR though
No description provided.