Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sedrubal
Masterarbeit
Spielwiese
Quic Interop Runner Results
Commits
7307c7aa
Verified
Commit
7307c7aa
authored
Nov 17, 2021
by
Sebastian Endres
Browse files
Add local changes
parent
8e0fad5f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
7307c7aa
...
...
@@ -19,9 +19,9 @@ RUN apk update \
&&
git config
--global
user.email
"dev@sedrubal.de"
\
&&
git config
--global
user.name
"QUIC Interop Runner Results Bot"
ADD
.ssh/ /root/.ssh/
#
ADD .ssh/ /root/.ssh/
ENV
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_ed25519"
#
ENV GIT_SSH_COMMAND="ssh -i /root/.ssh/id_ed25519"
WORKDIR
/srv/
...
...
build_image.sh
View file @
7307c7aa
#!/usr/bin/bash
#!/usr/bin/
env
bash
cd
"
$(
dirname
"
$0
"
)
"
...
...
run.sh
View file @
7307c7aa
...
...
@@ -16,8 +16,8 @@ function run() {
# time git pull -r
echo
"
$(
date
--rfc-3339
=
seconds
)
: Gather results..."
time
./gather_results.py
echo
"
$(
date
--rfc-3339
=
seconds
)
: Inject secrets..."
time
./evaluation_tools/
inject_secret
s.py
--clean
./logs/
*
#
echo "$(date --rfc-3339=seconds): Inject secrets..."
#
time ./evaluation_tools/
post_process_log
s.py --clean ./logs/*
# echo "$(date --rfc-3339=seconds): Pull..."
# time git pull -r
# echo "$(date --rfc-3339=seconds): Git add..."
...
...
run_container.sh
View file @
7307c7aa
...
...
@@ -2,4 +2,4 @@
echo
"[i] Starting takes a while, because the volume is large and must be tagged for SELinux first"
exec
docker run
-d
-v
/srv/docker/quic-interop-runner-results/quic-interop-runner-results
:/srv/:Z
--name
=
quic-interop-runner-results.frickeln.sedrubal.de quic-interop-runner-results.frickeln.sedrubal.de
exec
docker run
-d
-v
${
PWD
}
:/srv/:Z
--name
=
quic-interop-runner-results.frickeln.sedrubal.de quic-interop-runner-results.frickeln.sedrubal.de
sync.sh
View file @
7307c7aa
...
...
@@ -2,15 +2,19 @@
set
-eux
HOST
=
"[2001:1438:901:c200::1]"
USER_ON_HOST
=
"sysadmin"
PATH_ON_HOST
=
"/srv/docker/quic-interop-runner-results/quic-interop-runner-results/"
# HOST="[2001:1438:901:c200::1]"
# USER_ON_HOST="sysadmin"
# PATH_ON_HOST="/srv/docker/quic-interop-runner-results/quic-interop-runner-results/"
# ---
HOST
=
"faui7s4.informatik.uni-erlangen.de"
USER_ON_HOST
=
"basti"
PATH_ON_HOST
=
"/srv/quic-interop-runner-results/"
# exec rsync -avzlxhi --info=progress2 --zc=zstd "${USER_ON_HOST}@${HOST}:${PATH_ON_HOST}" .
exec
rsync
\
-avzlxhi
\
--info
=
progress2
\
--
zc
=
zstd
\
--
ex
clude
=
'
logs/*/*/
'
\
--include
=
'logs/*/result.json'
\
"
${
USER_ON_HOST
}
@
${
HOST
}
:
${
PATH_ON_HOST
}
"
.
--
exclude
=
'*/*/'
\
--
in
clude
=
'
*/result.json
'
\
"
${
USER_ON_HOST
}
@
${
HOST
}
:
${
PATH_ON_HOST
}
/logs/"
./logs/
# --zc=zstd \
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment