Skip to content

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

Merged
merged 2 commits into from
Nov 22, 2018

Conversation

Elexy
Copy link
Contributor

@Elexy Elexy commented Nov 22, 2018

No description provided.

@ghost ghost assigned Elexy Nov 22, 2018
@ghost ghost added the status/in-progress In progress label Nov 22, 2018
runner/config.js Outdated
},
{
name: 'unixFS-extract',
shell: `source ~/.nvm/nvm.sh && OUT_FOLDER=/tmp/out REMOTE=true node ${remoteTestsPath}/local-extract.js`,
Copy link
Contributor

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 },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Contributor Author

@Elexy Elexy Nov 22, 2018

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'))
Copy link
Contributor

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)?

Copy link
Contributor Author

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

@Elexy Elexy merged commit 2ece55a into master Nov 22, 2018
@Elexy Elexy deleted the integrate-local-extract branch November 22, 2018 16:07
@ghost ghost removed the status/in-progress In progress label Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants