Scripts for Jenkins server and local tests for Linux p4tc.
Docker scripts for local tests are found in the docker/local-tests folder. Just clone this repository and copy this folder wherever you want.
Docker
The script to execute the tests are similar to the vm.sh file.
There are two mandatory arguments: -l, that represents a path to your p4tc linux repository and -p that represents a path to your iproute2 repository. The others arguments are the same as the vm.sh file.
./vm-docker.sh -l <LINUX PATH> -p <IPROUTE2_PATH> [...] -a <ARCH>
Example (x86_64):
./vm-docker.sh -l /home/user/linux-p4tc-pub -p /home/user/iproute2-p4tc-pub -i /home/user/linux-p4tc-pub/arch/x86/boot/bzImage
Example (s390x):
./vm-docker.sh -l /home/user/linux-p4tc-pub -p /home/user/iproute2-p4tc-pub -a s390x