Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 582 Bytes

File metadata and controls

26 lines (18 loc) · 582 Bytes

Deployment and Testing

Build

Install Golang and build the server and agent plugin binaries with the makefile provided.

wget https://go.dev/dl/go1.21.1.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile
source $HOME/.profile
go version 

make build-agent BUILD_PATH=<PATH_TO_BUILD>
make build-server BUILD_PATH=<PATH_TO_BUILD

Tests

In the amd-sev-snp directory run this command.

Obs.: You must run it as sudo.

make test-coverage