-
Notifications
You must be signed in to change notification settings - Fork 17
benchmark worker updates #125
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
Open
vtjnash
wants to merge
8
commits into
master
Choose a base branch
from
jn/benchmark-updates
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
75e0563
ensure !has_nondefault_cmd_flags
vtjnash acb6c02
update all deps
vtjnash 290dd72
corrected path for bare repository
vtjnash f1c4bbb
fix typo in sudo
vtjnash 8741b22
fix variable from #121
vtjnash e641f52
switch xz to zstd
vtjnash c926fb4
fixes and clarifications for provision scripts
vtjnash f880c86
move run_base_ci to run in tmux as nanosoldier
vtjnash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -4,19 +4,21 @@ set -euv -o pipefail | |
HERE=`realpath $(dirname $0)` | ||
cd "$HERE/.." | ||
|
||
VERSION=1.6.6 | ||
VERSION=1.8.2 | ||
|
||
MAJOR=`echo $VERSION | cut -d . -f 1` | ||
MINOR=`echo $VERSION | cut -d . -f 2` | ||
PATCH=`echo $VERSION | cut -d . -f 3` | ||
|
||
sudo apt update | ||
|
||
# create a (non-privileged) user to run the server: | ||
sudo useradd nanosoldier || true | ||
sudo useradd -m nanosoldier || true | ||
sudo usermod -aG nanosoldier `whoami` | ||
echo "`whoami` ALL= (nanosoldier) NOPASSWD: ALL | ||
Defaults> nanosoldier umask=0777" | sudo tee -a /etc/sudoers.d/99-nanosoldier | ||
|
||
sudo -u nanosoldier [ -f ~nanosoldier/.ssh/id_rsa.pub ] || sudo -u nanosoldier ssh-keygen -N '' -f ~nanosoldier/.ssh/id_rsa | ||
sudo -u nanosoldier [ -f ~nanosoldier/.ssh/id_ed25519.pub ] || sudo -u nanosoldier ssh-keygen -N '' -f ~nanosoldier/.ssh/id_ed25519 -t ed25519 | ||
sudo -u nanosoldier git config --global user.name "nanosoldier" | ||
sudo -u nanosoldier git config --global user.email "[email protected]" | ||
sudo -u nanosoldier ssh -T [email protected] || true | ||
|
@@ -34,8 +36,8 @@ echo "-------------" | |
echo | ||
echo "install this ssh key in github for user @nanosoldier at" | ||
echo " https://github.com/settings/ssh/new" | ||
echo " and on all worker machines at ~nanosoldier/.ssh/authorized_keys" | ||
sudo -u nanosoldier cat ~nanosoldier/.ssh/id_rsa.pub | ||
echo "and on all worker machines at ~nanosoldier/.ssh/authorized_keys" | ||
sudo -u nanosoldier cat ~nanosoldier/.ssh/id_ed25519.pub | ||
echo | ||
echo "and generate an auth-token for later at" | ||
echo " https://github.com/settings/tokens/new" | ||
|
@@ -64,8 +66,8 @@ echo " . ../cset/bin/activate" | |
echo " setarch -R ../julia-$VERSION/bin/julia -L bin/setup_test_ci.jl -e 'using Sockets; run(server, IPv4(0), ENV[\"GITHUB_PORT\"])'" | ||
echo | ||
echo "or with a helper script:" | ||
echo " cp bin/run_base_ci.jl .." | ||
echo " chgrp nanosoldier ../run_base_ci.jl" | ||
echo " chmod 660 ../run_base_ci.jl" | ||
echo " (umask 007 && cp bin/run_base_ci.jl ..)" | ||
echo " (umask 007 && touch ../run_base_ci.stdout ../run_base_ci.stderr)" | ||
echo " sudo chgrp nanosoldier ../run_base_ci.jl ../run_base_ci.stdout ../run_base_ci.stderr" | ||
echo " \${EDITOR:-vim} ../run_base_ci.jl" | ||
echo " sudo -u nanosoldier nohup ./run_base_ci" | ||
echo " ./run_base_ci" |
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.