/hwtestgrid

Frontend to upload and view fedora-laptop-testing results

Primary LanguagePython

Local development

pip install --editable .
export FLASK_APP=hwtestgrid
export FLASK_DEBUG=true
flask setupdb
flask run

Docker

#First time only, create a volume to make data persistent
sudo docker volume create --name hwtestgrid-storage

#Build and run
sudo docker build -t hwtestgrid .
sudo docker run -p 5000:5000 -v hwtestgrid-storage:/data --name hwtestgrid -d hwtestgrid

#Stopping
sudo docker stop hwtestgrid && sudo docker rm hwtestgrid

Uploading data

curl -H "Content-Type: application/zip" -X POST http://localhost:5000/upload -d @<FILE>