feat: enhance deployment and installation process in build-and-push workflow
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 6s
Build and Push to Private Registry101 / deploy (push) Has been skipped

This commit is contained in:
stephen schuresko
2025-03-07 14:12:25 -05:00
parent 1a64c9335b
commit e59924b1fe
6 changed files with 28 additions and 6 deletions

View File

@@ -17,8 +17,8 @@ clean:
rm -rf test.db
rm -rf htmlcov
install:
pip3 install -r requirements.txt
install.log: requirements.txt
pip3 install -r requirements.txt > install.log
report.xml: *.py
pytest --cov=papi --cov=posts --cov=users test_papi.py test_posts.py test_users.py --junitxml=report.xml --cov-report=html --cov-report=xml --cov-report=term --cov-fail-under 90
@@ -53,7 +53,7 @@ k8s-tok:
kubectl --context microk8s create token serviceaccounts-cluster-admin
echo login at https://kube.fairfaxmedia.net
run: install
run: install.log
uvicorn papi:app --reload --port 8912 --host 0.0.0.0