#!/bin/bash

tdnf install -y build-essential wget tar openssl-devel cmake python3 python3-pip which unzip
git config --global --add safe.directory $PWD

pip install --upgrade setuptools
pip install -r tests/flow/requirements.txt

pip install -r .install/build_package_requirements.txt  # required for packing the module (todo: move to pack.sh after refactor)

# Install aws-cli for uploading artifacts to s3
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install
