From ceb3912fa03ad21e916d2a7a36f7e772c31b2600 Mon Sep 17 00:00:00 2001 From: ZorEl212 Date: Sat, 14 Sep 2024 06:26:37 -0400 Subject: [PATCH] daemon: Add Mock builds for testing purposes Signed-off-by: ZorEl212 --- client_stub/mock_builds.json | 16 ++++++++++++++++ requirements.txt | 1 + 2 files changed, 17 insertions(+) create mode 100644 client_stub/mock_builds.json create mode 100644 requirements.txt diff --git a/client_stub/mock_builds.json b/client_stub/mock_builds.json new file mode 100644 index 0000000..59f227a --- /dev/null +++ b/client_stub/mock_builds.json @@ -0,0 +1,16 @@ +[ + { + "id": 1, + "name": "Build 1", + "status": "Success", + "timestamp": "2024-07-01T12:00:00Z", + "logs": "Build 1 completed successfully." + }, + { + "id": 2, + "name": "Build 2", + "status": "Failed", + "timestamp": "2024-07-02T15:30:00Z", + "logs": "Build 2 failed due to compilation errors." + } +] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c4f3068 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +flask pymongo redis tgcrypto pyrogram eventlet gunicorn "uvicorn[standard]" python-socketio "python-socketio[client]" "python-socketio[asyncio_client]" jwcrypto configparser