From 15cd559b91aba9a9d65d183c226abc7beb83f5d1 Mon Sep 17 00:00:00 2001 From: Jorgedavyd Date: Tue, 29 Oct 2024 17:33:18 -0300 Subject: [PATCH] ci cd solved --- scripts/cd_requirements.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/cd_requirements.sh diff --git a/scripts/cd_requirements.sh b/scripts/cd_requirements.sh new file mode 100755 index 0000000..5ccb1c6 --- /dev/null +++ b/scripts/cd_requirements.sh @@ -0,0 +1,11 @@ +#!/bin/bash +python3 -m pip install --upgrade pip +pip3 install pytest pipreqs pip-tools setuptools wheel +pipreqs starstream --savepath=./requirements.in +sed -i 's/==.*$//' requirements.in +sort requirements.in | uniq > requirements_unique.in +pip-compile ./requirements_unique.in +rm -f *.in +pip install -r requirements_unique.txt +rm -f requirements_unique.txt +