mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
We permanently have issues like this: ./test/jenkins/criu-iter.sh: 3: source: not found It looks like a good idea to use one shell to run our jenkins scripts. Signed-off-by: Andrei Vagin <avagin@gmail.com>
15 lines
428 B
Bash
15 lines
428 B
Bash
#!/bin/bash
|
|
|
|
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system/cpu.rt_runtime_us
|
|
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system/jenkins.service/cpu.rt_runtime_us
|
|
git checkout -f ${TEST_COMMIT}
|
|
git clean -dfx &&
|
|
make -j 4 && make -j 4 -C test/zdtm &&
|
|
mkdir -p test/dump &&
|
|
mount -t tmpfs zdtm test/dump &&
|
|
make -C test -j 4 zdtm_ns &&
|
|
true || {
|
|
tar -czf /home/criu-by-id-${TEST_COMMIT}-$(date +%m%d%H%M).tar.gz .
|
|
exit 1
|
|
}
|