-
Notifications
You must be signed in to change notification settings - Fork 17
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
benchmark worker updates #125
base: master
Are you sure you want to change the base?
Conversation
@@ -340,7 +340,7 @@ function execute_benchmarks!(job::BenchmarkJob, juliapath, whichbuild::Symbol) | |||
run(`$(git()) -C $BaseBenchmarks reset --hard --quiet origin/$(branchname)`) | |||
end | |||
|
|||
run(sudo(cfg.user, setenv(`$(setenv(juliacmd, nothing)) -e 'using Pkg; Pkg.instantiate(); Pkg.status()'`; dir=builddir))) | |||
run(sudo(cfg.user, `$(setenv(juliacmd, nothing, dir=builddir)) -e 'using Pkg; Pkg.instantiate(); Pkg.status()'`)) |
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 does this need to happen in the builddir if its just using the global environment anyway?
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.
it gets moved to sudo
either way
now failing with
|
Yeah sorry for the typo's. It's too bad that it's near-impossible to test the benchmark bot, since the code and configuration here is so specific to your set-up (e.g., |
There is a script to activate a machine as a worker (only do this inside docker, or a machine you actually want to convert though). But not to worry either, as these were pretty simple, and I just run a few trial of nanosoldier whenever I go to update it to check |
dfab61e
to
e641f52
Compare
b0142a1
to
c926fb4
Compare
This makes it easier for anyone with access to log in and view or change the live status.
I knew about the sudo-interpolation-ENV thing, I just have not been good about making PRs for my branches