Do not install any CI packages from CPAN

Run::IPC is already installed via APT and Text::Trim does not seem
like it is even used. While at it we update the comment.
This commit is contained in:
Andreas Karlsson 2025-02-04 15:13:13 +01:00
parent 2c54d8213c
commit 88eb65a4fa

View File

@ -6,12 +6,9 @@ sudo apt install -y libreadline6-dev systemtap-sdt-dev zlib1g-dev libssl-dev lib
bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
# Perl test dependencies
# Test dependencies
sudo apt install -y libipc-run-perl python3-pykmip libhttp-server-simple-perl
sudo /usr/bin/perl -MCPAN -e 'install IPC::Run'
sudo /usr/bin/perl -MCPAN -e 'install Text::Trim'
# Vault
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list