mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-25 01:54:28 +08:00
72fe7b98ea
Like for LAVA, make the tradeoff of moving the test scripts and data (55k) into the artifacts in order to make the per-build jobs not have to pull down the git tree (hundreds of MB when you don't hit a cached container for your specific user, which I see happen multiple times a day in my CI runs). To do this, we have to be a bit more careful in some places about our working directory potentially being dirty. Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5393>
13 lines
241 B
Bash
Executable File
13 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
|
|
relay=$1
|
|
|
|
if [ -z "$relay" ]; then
|
|
echo "Must supply a relay arg"
|
|
exit 1
|
|
fi
|
|
|
|
$CI_PROJECT_DIR/install/bare-metal/google-power-relay.py off $relay
|
|
sleep 5
|
|
$CI_PROJECT_DIR/install/bare-metal/google-power-relay.py on $relay
|