commit 351d71c095ec27102d1d49bd733aa7dc57bf1e70
parent db61ffc43b7a3199411d78a36b9d41b6249dfd52
Author: arjoonn <arjoonn@noreply.localhost>
Date: Sat, 3 Dec 2022 03:34:33 +0000
docker build and use in consequent steps (!3)
- [x] Build docker image during CI run
<details>
<summary>JayporeCi: 🟢 81c32e21a2</summary>
```mermaid
graph TB
N0(+):::passed --> N1(+):::passed
N2(Black):::passed --> N0(+):::passed
N3(Docker build):::passed --> N0(+):::passed
N4(Pwd):::passed --> N0(+):::passed
N5(PyLint):::passed --> N0(+):::passed
N6(PyTest):::passed --> N0(+):::passed
N7(Tree):::passed --> N0(+):::passed
classDef pending fill:#aaa, color:black, stroke:black,stroke-width:2px,stroke-dasharray: 5 5;
classDef skipped fill:#aaa, color:black, stroke:black,stroke-width:2px;
classDef assigned fill:#ddd, color:black, stroke:black,stroke-width:2px;
classDef running fill:#bae1ff,color:black,stroke:black,stroke-width:2px,stroke-dasharray: 5 5;
classDef passed fill:#88d8b0, color:black, stroke:black;
classDef failed fill:#ff6f69, color:black, stroke:black;
classDef timeout fill:#ffda9e, color:black, stroke:black;
```
- <details>
<summary>Logs: JayporeCi</summary>
```
============== stdout =============
2022-12-03T03:30:45.650259Z [info ] Create network network_name=jaypore_139836318543568 pipe_id=139836318543568 subprocess=35c2acc37b51fc9a1e1acf4b87720047911b60c5e3e58c24b5703f77d1e026d2
2022-12-03T03:30:45.670341Z [info ] Found network network_name=jaypore_139836318543568 pipe_id=139836318543568 subprocess=CompletedProcess(args='docker network ls | grep jaypore_139836318543568', returncode=0, stdout=b'35c2acc37b51 jaypore_139836318543568 bridge local\n')
2022-12-03T03:30:45.670508Z [info ] Ok called branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:45.670582Z [info ] Trigger called branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:45.670632Z [info ] Ok called branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:45.670690Z [info ] Trigger called branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:46.099063Z [info ] Trigger done branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.099148Z [debug ] Checking job run branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.166936Z [debug ] Check status exit_code=0 is_running=True network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.167053Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=True job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.167135Z [debug ] >>> branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.167205Z [debug ] Update report branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.328247Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:46.575353Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:46.706937Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:46.854178Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:46.854336Z [debug ] Checking job run branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927108Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927202Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927273Z [debug ] >>> Step 1/22 : from python:3.11 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927317Z [debug ] >>> ---\> 00cd1fb8bdcc branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927357Z [debug ] >>> Step 2/22 : run python3 -m pip install --upgrade pip branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927396Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927451Z [debug ] >>> ---\> efc0f3c9638e branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927510Z [debug ] >>> Step 3/22 : run python3 -m pip install poetry branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927552Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927590Z [debug ] >>> ---\> fb071a955d13 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927627Z [debug ] >>> Step 4/22 : workdir /app branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927673Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927716Z [debug ] >>> ---\> b30d328664d3 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927765Z [debug ] >>> Step 5/22 : add pyproject.toml . branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927814Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927856Z [debug ] >>> ---\> 59c9da86c076 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927922Z [debug ] >>> Step 6/22 : add poetry.lock . branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.927963Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928014Z [debug ] >>> ---\> 749d90fa2c4c branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928066Z [debug ] >>> Step 7/22 : run poetry export --with dev \> req.txt branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928123Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928177Z [debug ] >>> ---\> b89296dca7b7 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928228Z [debug ] >>> Step 8/22 : run python3 -m pip install -r req.txt branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928284Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928335Z [debug ] >>> ---\> c30bfd7ee543 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928385Z [debug ] >>> Step 9/22 : run apt-get update branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928433Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928471Z [debug ] >>> ---\> b8703739d3d9 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928508Z [debug ] >>> Step 10/22 : run apt-get install ca-certificates curl gnupg lsb-release -y branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928545Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928581Z [debug ] >>> ---\> 940ecd658867 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928618Z [debug ] >>> Step 11/22 : run mkdir -p /etc/apt/keyrings branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928654Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928690Z [debug ] >>> ---\> 86cf01e83aa7 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928726Z [debug ] >>> Step 12/22 : run curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928764Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928800Z [debug ] >>> ---\> 8e72b57a8e59 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928837Z [debug ] >>> Step 13/22 : run echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list \> /dev/null branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928888Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928930Z [debug ] >>> ---\> b5f391b11bea branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.928973Z [debug ] >>> Step 14/22 : run apt-get update branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929021Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929069Z [debug ] >>> ---\> 42801c4558e9 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929125Z [debug ] >>> Step 15/22 : run apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin tree -y branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929206Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929262Z [debug ] >>> ---\> 8e0b4dd07872 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929315Z [debug ] >>> Step 16/22 : add jaypore_ci/ /app/jaypore_ci branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929385Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929446Z [debug ] >>> ---\> 9ca9acbe651d branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929496Z [debug ] >>> Step 17/22 : run poetry build branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929538Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929576Z [debug ] >>> ---\> 169b61edcbf4 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929613Z [debug ] >>> Step 18/22 : run ls -alR dist branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929650Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929701Z [debug ] >>> ---\> 8079ff212e8c branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929739Z [debug ] >>> Step 19/22 : run python3 -m pip install dist/jaypore_ci-*.whl branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929777Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929814Z [debug ] >>> ---\> 897802cb5a34 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929860Z [debug ] >>> Step 20/22 : run rm -rf jaypore_ci dist branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929913Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.929993Z [debug ] >>> ---\> c05b14b980b3 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930050Z [debug ] >>> Step 21/22 : run ls -alR . branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930105Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930158Z [debug ] >>> ---\> 96b35babf065 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930212Z [debug ] >>> Step 22/22 : workdir /jaypore_ci/run/ branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930267Z [debug ] >>> ---\> Using cache branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930320Z [debug ] >>> ---\> 09fe7ea23831 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930374Z [debug ] >>> Successfully built 09fe7ea23831 branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930420Z [debug ] >>> Successfully tagged jaypore_image_81c32e21a29ce38de3d03da1f1400911f2c59235:latest branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:46.930462Z [debug ] Update report branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:47.097335Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:47.238213Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:47.433337Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:47.573839Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:48.574350Z [debug ] Checking job run branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:48.655564Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:48.655659Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:48.655731Z [debug ] Update report branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:48.782697Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:48.949480Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:49.184111Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:49.333913Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:49.334067Z [info ] Ok finished branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4 status=<Status.PASSED: 50>
2022-12-03T03:30:49.334139Z [debug ] Update report branch=build_and_publish job_id=139836316914192 job_name=Docker build network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=0bb79f83ca22ecf9f09f76e86a97b59201594b0e1187b675794402c0bc2a01d4
2022-12-03T03:30:49.485028Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:49.680668Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:49.950916Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:50.098155Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:50.098382Z [info ] Ok called branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:50.098655Z [info ] Trigger called branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:50.098844Z [info ] Trigger called branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:50.596451Z [info ] Trigger done branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:50.596585Z [debug ] Checking job run branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:50.844455Z [debug ] Check status exit_code=0 is_running=True network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:50.844541Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=True job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:50.844597Z [debug ] >>> /jaypore_ci/run branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:50.844638Z [debug ] Update report branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:50.966515Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:51.176137Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:51.468769Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:51.598994Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:51.599123Z [info ] Trigger called branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:52.024877Z [info ] Trigger done branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.024943Z [debug ] Checking job run branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.272909Z [debug ] Check status exit_code=0 is_running=True network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.272994Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=True job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273051Z [debug ] >>> . branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273098Z [debug ] >>> ├── Dockerfile branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273139Z [debug ] >>> ├── README.md branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273177Z [debug ] >>> ├── example.png branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273213Z [debug ] >>> ├── jaypore_ci branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273251Z [debug ] >>> │ ├── __init__.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273287Z [debug ] >>> │ ├── __main__.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273323Z [debug ] >>> │ ├── docker.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273358Z [debug ] >>> │ ├── gitea.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273413Z [debug ] >>> │ ├── interfaces.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273449Z [debug ] >>> │ ├── jci.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273485Z [debug ] >>> │ └── logging.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273521Z [debug ] >>> ├── poetry.lock branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273562Z [debug ] >>> ├── pyproject.toml branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273598Z [debug ] >>> ├── setup.sh branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273653Z [debug ] >>> └── tests branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273713Z [debug ] >>> ├── __init__.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273770Z [debug ] >>> └── test_jaypore_ci.py branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273828Z [debug ] >>> branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273881Z [debug ] >>> 2 directories, 15 files branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.273931Z [debug ] Update report branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:30:52.401772Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:52.601403Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:52.903063Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:53.021166Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:53.021538Z [info ] Trigger called branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:53.665773Z [info ] Trigger done branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:30:53.666023Z [debug ] Checking job run branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:30:53.906018Z [debug ] Check status exit_code=0 is_running=True network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:30:53.906403Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=True job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:30:53.906702Z [debug ] >>> branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:30:53.906949Z [debug ] Update report branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:30:54.105915Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:54.348840Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:54.712955Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:54.886601Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:54.887347Z [info ] Trigger called branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:56.257578Z [info ] Trigger done branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:30:56.257672Z [debug ] Checking job run branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:30:56.339253Z [debug ] Check status exit_code=0 is_running=True network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:30:56.339364Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=True job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:30:56.339442Z [debug ] >>> branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:30:56.339503Z [debug ] Update report branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:30:56.489238Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:56.696928Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:56.963776Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:57.083361Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:57.083607Z [info ] Trigger called branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=None
2022-12-03T03:30:57.733074Z [info ] Trigger done branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:30:57.733178Z [debug ] Checking job run branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:30:57.827059Z [debug ] Check status exit_code=0 is_running=True network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:30:57.827186Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=True job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:30:57.827286Z [debug ] >>> branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:30:57.827361Z [debug ] Update report branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:30:57.960091Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:58.159680Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:30:58.424648Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:30:58.544701Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:30:59.545018Z [debug ] Checking job run branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:59.590959Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:59.591032Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:59.591099Z [debug ] Update report branch=build_and_publish job_id=139836318544848 job_name=Pwd network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=4b8119ffede2abb5a7fb59626e21bbc74470746ade2ef11dfac5ef49618fd606
2022-12-03T03:30:59.729746Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:30:59.932032Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:31:00.182854Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:31:00.304762Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:31:00.304876Z [debug ] Checking job run branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:31:00.359644Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:31:00.359724Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:31:00.359777Z [debug ] Update report branch=build_and_publish job_id=139836318543120 job_name=Tree network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=d337a9e5e838a6479e5a530c81184c461368a7c8d5f83d9ba50eefff473c3322
2022-12-03T03:31:00.499528Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:31:00.700629Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:31:00.985956Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:31:01.102019Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:31:01.102123Z [debug ] Checking job run branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:31:01.147679Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:31:01.147757Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:31:01.147808Z [debug ] >>> 10 files would be left unchanged. branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:31:01.147847Z [debug ] Update report branch=build_and_publish job_id=139836297074000 job_name=Black network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=9eba3b81177c5ead7e584007c533111e939afbf3f02600836ad7ff6a166fadae
2022-12-03T03:31:01.294111Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:31:01.499534Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:31:01.822150Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:31:01.975759Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:31:01.976199Z [debug ] Checking job run branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:31:02.045833Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:31:02.045912Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:31:02.045960Z [debug ] >>> Your code has been rated at 10.00/10 branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:31:02.045998Z [debug ] Update report branch=build_and_publish job_id=139836297073936 job_name=PyLint network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=8f48dba9f7ae261beda712cec8f96469b8e2e4db6cd34af0730c181be117375d
2022-12-03T03:31:02.188836Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:31:02.425106Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:31:02.707493Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:31:02.862283Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:31:02.862808Z [debug ] Checking job run branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.927784Z [debug ] Check status exit_code=0 is_running=False network_name=jaypore_139836318543568 pipe_id=139836318543568 run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.927864Z [debug ] Job run status found branch=build_and_publish exit_code=0 is_running=False job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.927913Z [debug ] >>> platform linux -- Python 3.11.0, pytest-7.2.0, pluggy-1.0.0 branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.927950Z [debug ] >>> rootdir: /jaypore_ci/run branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.927984Z [debug ] >>> collected 1 item branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.928017Z [debug ] >>> branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.928051Z [debug ] >>> tests/test_jaypore_ci.py . [100%] branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.928084Z [debug ] >>> branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.928117Z [debug ] >>> ============================== 1 passed in 0.01s =============================== branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:02.928151Z [debug ] Update report branch=build_and_publish job_id=139836297074448 job_name=PyTest network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=7bb41e959989af9b7896c0f28fb45e8b821e15b4b9546032b9fb322b9eaeb8a0
2022-12-03T03:31:03.092364Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:31:03.307821Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:31:03.566855Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:31:03.713173Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:31:03.713734Z [info ] Trigger done branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074576
2022-12-03T03:31:03.713983Z [debug ] Checking job run branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074576
2022-12-03T03:31:03.714147Z [debug ] Checking job run branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074576
2022-12-03T03:31:03.714290Z [info ] Ok finished branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074576 status=<Status.PASSED: 50>
2022-12-03T03:31:03.714447Z [debug ] Update report branch=build_and_publish job_id=139836297074576 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074576
2022-12-03T03:31:03.857621Z [debug ] Get PR Id branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=409
2022-12-03T03:31:04.078207Z [debug ] Get existing body branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=200
2022-12-03T03:31:04.379704Z [debug ] Published new report branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status_code=201
2022-12-03T03:31:04.553954Z [debug ] Published new status branch=build_and_publish owner=midpath repo=jaypore_ci root=https://gitea.midpathsoftware.com status=pending status_code=201
2022-12-03T03:31:04.554513Z [info ] Trigger done branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074640
2022-12-03T03:31:04.554676Z [debug ] Checking job run branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074640
2022-12-03T03:31:04.554826Z [debug ] Checking job run branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074640
2022-12-03T03:31:04.554971Z [info ] Ok finished branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074640 status=<Status.PASSED: 50>
2022-12-03T03:31:04.555128Z [debug ] Update report branch=build_and_publish job_id=139836297074640 job_name=+ network_name=jaypore_139836318543568 owner=midpath pipe_id=139836318543568 repo=jaypore_ci root=https://gitea.midpathsoftware.com run_id=pyrun_139836297074640
```
</details>
- <details>
<summary>Logs: Docker build</summary>
```
============== stdout =============
Sending build context to Docker daemon 1.406MB
Step 1/22 : from python:3.11
---\> 00cd1fb8bdcc
Step 2/22 : run python3 -m pip install --upgrade pip
---\> Using cache
---\> efc0f3c9638e
Step 3/22 : run python3 -m pip install poetry
---\> Using cache
---\> fb071a955d13
Step 4/22 : workdir /app
---\> Using cache
---\> b30d328664d3
Step 5/22 : add pyproject.toml .
---\> Using cache
---\> 59c9da86c076
Step 6/22 : add poetry.lock .
---\> Using cache
---\> 749d90fa2c4c
Step 7/22 : run poetry export --with dev \> req.txt
---\> Using cache
---\> b89296dca7b7
Step 8/22 : run python3 -m pip install -r req.txt
---\> Using cache
---\> c30bfd7ee543
Step 9/22 : run apt-get update
---\> Using cache
---\> b8703739d3d9
Step 10/22 : run apt-get install ca-certificates curl gnupg lsb-release -y
---\> Using cache
---\> 940ecd658867
Step 11/22 : run mkdir -p /etc/apt/keyrings
---\> Using cache
---\> 86cf01e83aa7
Step 12/22 : run curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
---\> Using cache
---\> 8e72b57a8e59
Step 13/22 : run echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list \> /dev/null
---\> Using cache
---\> b5f391b11bea
Step 14/22 : run apt-get update
---\> Using cache
---\> 42801c4558e9
Step 15/22 : run apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin tree -y
---\> Using cache
---\> 8e0b4dd07872
Step 16/22 : add jaypore_ci/ /app/jaypore_ci
---\> Using cache
---\> 9ca9acbe651d
Step 17/22 : run poetry build
---\> Using cache
---\> 169b61edcbf4
Step 18/22 : run ls -alR dist
---\> Using cache
---\> 8079ff212e8c
Step 19/22 : run python3 -m pip install dist/jaypore_ci-*.whl
---\> Using cache
---\> 897802cb5a34
Step 20/22 : run rm -rf jaypore_ci dist
---\> Using cache
---\> c05b14b980b3
Step 21/22 : run ls -alR .
---\> Using cache
---\> 96b35babf065
Step 22/22 : workdir /jaypore_ci/run/
---\> Using cache
---\> 09fe7ea23831
Successfully built 09fe7ea23831
Successfully tagged jaypore_image_81c32e21a29ce38de3d03da1f1400911f2c59235:latest
```
</details>
- <details>
<summary>Logs: Pwd</summary>
```
============== stdout =============
/jaypore_ci/run
```
</details>
- <details>
<summary>Logs: Tree</summary>
```
============== stdout =============
.
├── Dockerfile
├── README.md
├── example.png
├── jaypore_ci
│ ├── __init__.py
│ ├── __main__.py
│ ├── docker.py
│ ├── gitea.py
│ ├── interfaces.py
│ ├── jci.py
│ └── logging.py
├── poetry.lock
├── pyproject.toml
├── setup.sh
└── tests
├── __init__.py
└── test_jaypore_ci.py
2 directories, 15 files
```
</details>
- <details>
<summary>Logs: Black</summary>
```
============== stdout =============
All done! ✨ 🍰 ✨
10 files would be left unchanged.
```
</details>
- <details>
<summary>Logs: PyLint</summary>
```
============== stdout =============
------------------------------------
Your code has been rated at 10.00/10
```
</details>
- <details>
<summary>Logs: PyTest</summary>
```
============== stdout =============
============================= test session starts ==============================
platform linux -- Python 3.11.0, pytest-7.2.0, pluggy-1.0.0
rootdir: /jaypore_ci/run
collected 1 item
tests/test_jaypore_ci.py . [100%]
============================== 1 passed in 0.01s ===============================
```
</details>
- <details>
<summary>Logs: +</summary>
```
============== stdout =============
Starting parallel run
Trigger job: 139836318544848 Pwd
Trigger job: 139836318543120 Tree
Trigger job: 139836297074000 Black
Trigger job: 139836297073936 PyLint
Trigger job: 139836297074448 PyTest
Checking: 139836318544848 Pwd is_complete: True
Checking: 139836318543120 Tree is_complete: True
Checking: 139836297074000 Black is_complete: True
Checking: 139836297073936 PyLint is_complete: True
Checking: 139836297074448 PyTest is_complete: True
Ok
```
</details>
- <details>
<summary>Logs: +</summary>
```
============== stdout =============
Starting sequential run
Running job: 139836316914192 Docker build
Running job: 139836297074576 +
Ok
```
</details>
</details>
Co-authored-by: arjoonn sharma <arjoonn@midpathsoftware.com>
Reviewed-on: https://gitea.midpathsoftware.com/midpath/jaypore_ci/pulls/3
Diffstat:
4 files changed, 119 insertions(+), 66 deletions(-)
diff --git a/.jaypore_ci/cicd.py b/.jaypore_ci/cicd.py
@@ -1,13 +1,18 @@
from jaypore_ci import jci
-with jci.Pipeline(
- image="arjoonn/jaypore_ci:latest", # NOTE: Change this to whatever you need
- timeout=15 * 60,
-) as p:
- p.in_parallel(
- p.job("pwd", name="Pwd"),
- p.job("tree", name="Tree"),
- p.job("python3 -m black --check .", name="Black"),
- p.job("python3 -m pylint jaypore_ci/ tests/", name="PyLint"),
- p.job("python3 -m pytest tests/", name="PyTest"),
+with jci.Pipeline(image="Will set later", timeout=15 * 60) as p:
+ p.image = image = f"jaypore_image_{p.remote.sha}"
+ p.in_sequence(
+ p.job(
+ f"docker build -t {image} .",
+ image="arjoonn/jaypore_ci:latest",
+ name="Docker build",
+ ),
+ p.in_parallel(
+ p.job("pwd", name="Pwd"),
+ p.job("tree", name="Tree"),
+ p.job("python3 -m black --check .", name="Black"),
+ p.job("python3 -m pylint jaypore_ci/ tests/", name="PyLint"),
+ p.job("python3 -m pytest tests/", name="PyTest"),
+ ),
).should_pass()
diff --git a/README.md b/README.md
@@ -2,73 +2,112 @@
A CI system that sounds ancient and powerful. Like the city of Jaypore.
-## Expected flow
+## Expected usage
-- `curl <link> | base` to install this in any repo.
-- Configure CI available at `.jaypore_ci/cicd.py`
+- `curl <link> | base` to install this in any project.
+- Configure CI at `.jaypore_ci/cicd.py`
- Each git-push will trigger a CI job.
-
-## Use cases covered
-
-- Run offline / debug a job
-- Run on a cloud machine (more cores/ram /gpu / inside vpn)
-- Cache project dependencies in docker
-- Publish images / artifacts to docker / gitea
-## What I don't need
+## Screenshot
-- Spending money on CI for small/hobby/idea projects.
-- Lose my entire CI system if I move between gitlab / github / gitea / bitbucket.
-- Configure/worry about CI access for collaborators every time someone joins the project / leaves.
-- To be stuck without CI if I'm offline.
-- Trying to figure out how to get X/Y/Z done in the yaml/jsonnet config format for the CI of the day
+
-## Popular solutions that were considered
+## Examples
-System | Cause of rejection
---------------------|-------------
-Github actions | non OSS, money, online only
-Gitlab CI | money, online only, heavy idle consumption
-Circle CI | money, online only
-Jenkins | heavy idle consumption, needs infra setup
-Travis CI | online only
-Agola ci | fragile, needs infra setup
-Drone CI | non OSS, needs infra setup
-Woodpecker CI | needs infra setup
+- <details>
+ <summary>Many jobs in parallel</summary>
+
+ ```python
+ from jaypore_ci import jci
-## What do I want?
+ with jci.Pipeline( image="arjoonn/jaypore_ci:latest", timeout=15 * 60) as p:
+ p.in_parallel(
+ p.job("python3 -m black --check .", name="Black"),
+ p.job("python3 -m pylint jaypore_ci/ tests/", name="PyLint"),
+ p.job("python3 -m pytest tests/", name="PyTest"),
+ ).should_pass()
+ ```
+ </summary>
+ </details>
+- <details>
+ <summary>Running tests with dependencies cached in docker</summary>
+
+ ```python
+ from jaypore_ci import jci
-- Should work offline
-- One line install for any project. Something like `curl <link>|bash`
-- Zero infra other than docker.
-- CI configuration should be a proper programming language. I don't want to learn your custom flavour of yaml/jsonnet etc
-- Work with any remote like gitea / github / gitlab / bitbucket / email. Mainly gitea for now since that's what I use.
-- Has matrix jobs
-- Complex conditional jobs and dependencies
-- Needs to be able to run integration tests with services etc
-- Easy debugging. I don't want to debug someone else's system.
+ with jci.Pipeline(image="scratch", timeout=15 * 60) as p:
+ p.image = image = f'myproject_{p.remote.sha}'
+ p.in_sequence(
+ p.job(f"docker build -t {image} .", name="Docker image"),
+ p.job("python3 -m pytest tests/", name="PyTest"),
+ ).should_pass()
+ ```
+ </summary>
+ </details>
+- <details>
+ <summary>Complex job dependencies</summary>
-## Installation
+ ```python
+ from jaypore_ci import jci
-1. Make sure you have `docker` installed on your machine.
-2. `cd ~/some/path/to/myrepo` You can be anywhere inside your project repo actually.
-3. `curl https://github.com/midpath/jaypore_ci | bash` to install `jaypore_ci` in your repository.
-4. `git add -Av && git commit -m 'added jaypore ci' && git push origin`.
- - `Jaypore_ci` will run whenever you push to your remote.
+ with jci.Pipeline(image="arjoonn/jaypore_ci:latest", timeout=15 * 60) as p:
+ p.image = image = f"myproject_{p.remote.sha}"
-## Examples
+ p.in_sequence(
+ p.job(f"docker build -t {image} .", name="Docker image"),
+ p.job(
+ f"docker tag -t {image} dockerhubaccount/{image}:{p.remote.sha}",
+ name="Docker tag",
+ ),
+ p.job(
+ f"docker push dockerhubaccount/{image}:{p.remote.sha}", name="Docker push"
+ ),
+ p.in_parallel(
+ p.job("python3 -m pytest tests/", name="PyTest"),
+ p.job("python3 -m pylint src/", name="PyLint"),
+ p.job("python3 -m black --check .", name="Black"),
+ ),
+ p.in_parallel(
+ p.in_sequence(
+ p.job("poetry build", name="pypi build"),
+ p.job("poetry publish", name="pypi publish"),
+ ),
+ p.job("python3 -m create_release_notes", name="release notes"),
+ p.job(
+ "python3 -m send_emails_to_downstream_packagers_and_maintainers",
+ name="Notify downstream",
+ ),
+ ),
+ ).should_pass()
+ ```
+ </summary>
+ </details>
+- <details>
+ <summary>Job matrix</summary>
+
+ ```python
+ from jaypore_ci import jci
-```python
-from jaypore_ci import jci
+ with jci.Pipeline(image="arjoonn/jaypore_ci:latest", timeout=15 * 60) as p:
+ jobs = [
+ p.job("python3 -m pytest tests", name=f"Tests: {env}", env=env)
+ for env in p.env_matrix(
+ BROWSER=["firefox", "chromium", "webkit"],
+ SCREENSIZE=["phone", "laptop", "extended"],
+ ONLINE=["online", "offline"],
+ )
+ ]
+ # This will have 18 jobs
+ # one for each possible combination of BROWSER, SCREENSIZE, ONLINE
+ p.in_parallel(*jobs).should_pass()
+ ```
+ </summary>
+ </details>
+- <details>
+ <summary>TLDR: Running jobs on cloud</summary>
-with jci.Pipeline(
- image="arjoonn/jaypore_ci:latest", # NOTE: Change this to whatever you need
- timeout=15 * 60,
-) as p:
- p.in_parallel(
- p.job("python3 -m black --check .", name="Black"),
- p.job("python3 -m pylint jaypore_ci/ tests/", name="PyLint"),
- p.job("python3 -m pytest tests/", name="PyTest"),
- ).should_pass()
-```
+ - We can get the remote machine's docker socket by using [ssh socket forwarding](https://medium.com/@dperny/forwarding-the-docker-socket-over-ssh-e6567cfab160)
+ - Then we can set jaypore CI to use the remote docker socket by editing `.jaypore_ci/pre-push.githook`
+ </summary>
+ </details>
diff --git a/example.png b/example.png
Binary files differ.
diff --git a/jaypore_ci/jci.py b/jaypore_ci/jci.py
@@ -1,4 +1,5 @@
import time
+import re
from enum import Enum
from itertools import product
from collections import defaultdict, namedtuple
@@ -27,6 +28,13 @@ class Status(Enum):
# All of these statuses are considered "finished" statuses
FIN_STATUSES = (Status.FAILED, Status.PASSED, Status.TIMEOUT, Status.SKIPPED)
+ansi_escape = re.compile(r"\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])")
+
+
+def clean_logs(logs):
+ logs = logs.replace("<", r"\<").replace(">", r"\>")
+ return ansi_escape.sub("", logs)
+
class Job: # pylint: disable=too-many-instance-attributes
"""
@@ -171,6 +179,7 @@ class Job: # pylint: disable=too-many-instance-attributes
self.status = Status.RUNNING
else:
self.status = Status.PASSED if exit_code == 0 else Status.FAILED
+ logs = clean_logs(logs)
log_lines = logs.split("\n")
for line in log_lines[len(self.logs["stdout"]) :]:
self.logging().debug(