Skip to content

Commit

Permalink
tests : move packages used by TDX test to tdx-testing (canonical#269)
Browse files Browse the repository at this point in the history
until now, the packages (vsock-iperf) are uploaded in the testing PPA
this testing PPA is a temporary PPA used for various debugging purposes
and can be removed at any time, we created a new PPA dedicated to host
test packages for TDX (tdx-testing)

this patch make the TDX tests use this new PPA
  • Loading branch information
hector-cao authored Nov 14, 2024
1 parent 1d2351e commit 5c3ac23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/lib/setup_guest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ DEBIAN_FRONTEND=noninteractive apt install -y python3 python3-pip
cd ${SCRIPT_DIR}/tdx-tools/
python3 -m pip install --break-system-packages ./
sudo apt remove iperf3 -y
sudo add-apt-repository ppa:kobuk-team/testing -y
sudo add-apt-repository ppa:kobuk-team/tdx-testing -y
sudo apt update
sudo apt install iperf-vsock -y
2 changes: 1 addition & 1 deletion tests/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ passthrough:

package-repositories:
- type: apt
ppa: kobuk-team/testing
ppa: kobuk-team/tdx-testing

parts:
checkbox-provider-tdx:
Expand Down
2 changes: 1 addition & 1 deletion tests/tox/setup-env-tox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cleanup() {
install_deps() {
sudo apt install -y sshpass cpuid
sudo apt remove iperf3 -y
sudo add-apt-repository ppa:kobuk-team/testing -y
sudo add-apt-repository ppa:kobuk-team/tdx-testing -y
sudo apt update || true
sudo apt install iperf-vsock -y
}
Expand Down

0 comments on commit 5c3ac23

Please sign in to comment.