Skip to content

Merge branch 'main' of github.com:myk-org/github-webhook-server into …

a899da8
Select commit
Loading
Failed to load commit list.
Merged

Call get allow ips only of program started #744

Merge branch 'main' of github.com:myk-org/github-webhook-server into …
a899da8
Select commit
Loading
Failed to load commit list.
manage-repositories-app / build-container succeeded May 5, 2025 in 0s

Build container

Details

Resolved 9 packages in 723ms
Downloading virtualenv (4.1MiB)
 Downloading virtualenv
Prepared 9 packages in 611ms
Installed 9 packages in 4ms
Bytecode compiled 216 files in 71ms
 + cfgv==3.4.0
 + distlib==0.3.9
 + filelock==3.18.0
 + identify==2.6.10
 + nodeenv==1.9.1
 + platformdirs==4.3.7
 + pre-commit==4.2.0
 + pyyaml==6.0.2
 + virtualenv==20.30.0
Installed 1 executable: pre-commit
Resolved 45 packages in 1.34s
Downloading cryptography (4.0MiB)
Downloading rapidfuzz (2.9MiB)
Downloading zstandard (5.2MiB)
 Downloading rapidfuzz
 Downloading cryptography
 Downloading zstandard
Prepared 41 packages in 886ms
Installed 45 packages in 19ms
Bytecode compiled 1162 files in 138ms
 + anyio==4.9.0
 + build==1.2.2.post1
 + cachecontrol==0.14.3
 + certifi==2025.4.26
 + cffi==1.17.1
 + charset-normalizer==3.4.2
 + cleo==2.1.0
 + crashtest==0.4.1
 + cryptography==44.0.3
 + distlib==0.3.9
 + dulwich==0.22.8
 + fastjsonschema==2.21.1
 + filelock==3.18.0
 + findpython==0.6.3
 + h11==0.16.0
 + httpcore==1.0.9
 + httpx==0.28.1
 + idna==3.10
 + installer==0.7.0
 + jaraco-classes==3.4.0
 + jaraco-context==6.0.1
 + jaraco-functools==4.1.0
 + jeepney==0.9.0
 + keyring==25.6.0
 + more-itertools==10.7.0
 + msgpack==1.1.0
 + packaging==25.0
 + pbs-installer==2025.4.9
 + pkginfo==1.12.1.2
 + platformdirs==4.3.7
 + poetry==2.1.3
 + poetry-core==2.1.3
 + pycparser==2.22
 + pyproject-hooks==1.2.0
 + rapidfuzz==3.13.0
 + requests==2.32.3
 + requests-toolbelt==1.0.0
 + secretstorage==3.3.3
 + shellingham==1.5.4
 + sniffio==1.3.1
 + tomlkit==0.13.2
 + trove-classifiers==2025.5.1.12
 + urllib3==2.4.0
 + virtualenv==20.30.0
 + zstandard==0.23.0
Installed 1 executable: poetry
+ curl https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/rosa-linux.tar.gz --output /home/podman/.local/bin/rosa-linux.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 34.2M    0 16905    0     0  23105      0  0:25:52 --:--:--  0:25:52 23094
 49 34.2M   49 16.8M    0     0  10.2M      0  0:00:03  0:00:01  0:00:02 10.2M
100 34.2M  100 34.2M    0     0  16.6M      0  0:00:02  0:00:02 --:--:-- 16.6M
+ tar xvf /home/podman/.local/bin/rosa-linux.tar.gz
+ mv rosa /home/podman/.local/bin/rosa
+ chmod +x /home/podman/.local/bin/rosa
+ rm -rf /home/podman/.local/bin/rosa-linux.tar.gz
+ curl -L https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 11.0M  100 11.0M    0     0  9447k      0  0:00:01  0:00:01 --:--:-- 12.4M
+ chmod +x /home/podman/.local/bin/regctl
Using CPython 3.13.3 interpreter at: /usr/bin/python3.13
Creating virtual environment at: .venv
Resolved 82 packages in 0.44ms
   Building github-webhook-server @ file:///home/podman/github-webhook-server
Downloading jedi (1.5MiB)
Downloading setuptools (1.2MiB)
Downloading cryptography (4.0MiB)
Downloading pygments (1.2MiB)
Downloading netaddr (2.2MiB)
Downloading pydantic-core (1.9MiB)
Downloading ruff (10.9MiB)
   Building pyhelper-utils==1.0.13
   Building timeout-sampler==1.0.15
   Building python-rrmngmnt==0.1.32
   Building python-simple-logger==2.0.9
 Downloading setuptools
 Downloading pygments
 Downloading pydantic-core
      Built pyhelper-utils==1.0.13
      Built timeout-sampler==1.0.15
      Built python-simple-logger==2.0.9
 Downloading netaddr
 Downloading jedi
 Downloading cryptography
      Built github-webhook-server @ file:///home/podman/github-webhook-server
 Downloading ruff
      Built python-rrmngmnt==0.1.32
Prepared 77 packages in 1.41s
Installed 77 packages in 41ms
Bytecode compiled 2553 files in 257ms
 + annotated-types==0.7.0
 + anyio==4.9.0
 + asttokens==3.0.0
 + bcrypt==4.3.0
 + build==1.2.2.post1
 + certifi==2025.4.26
 + cffi==1.17.1
 + charset-normalizer==3.4.1
 + click==8.1.8
 + colorama==0.4.6
 + colorlog==6.9.0
 + columnar==1.4.1
 + coverage==7.8.0
 + cryptography==44.0.2
 + decorator==5.2.1
 + deprecated==1.2.18
 + executing==2.2.0
 + fastapi==0.115.12
 + github-webhook-server==2.0.12 (from file:///home/podman/github-webhook-server)
 + gunicorn==23.0.0
 + h11==0.16.0
 + httpcore==1.0.9
 + httpx==0.28.1
 + idna==3.10
 + iniconfig==2.1.0
 + ipdb==0.13.13
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + jedi==0.19.2
 + markdown-it-py==3.0.0
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + netaddr==1.3.0
 + packaging==25.0
 + paramiko==3.5.1
 + parso==0.8.4
 + pbr==6.1.1
 + pexpect==4.9.0
 + pluggy==1.5.0
 + prompt-toolkit==3.0.51
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pycparser==2.22
 + pydantic==2.11.3
 + pydantic-core==2.33.1
 + pygithub==2.6.1
 + pygments==2.19.1
 + pyhelper-utils==1.0.13
 + pyjwt==2.10.1
 + pynacl==1.5.0
 + pyproject-hooks==1.2.0
 + pytest==8.3.5
 + pytest-cov==6.1.1
 + pytest-mock==3.14.0
 + python-rrmngmnt==0.1.32
 + python-simple-logger==2.0.9
 + pyyaml==6.0.2
 + requests==2.32.3
 + rich==13.9.4
 + ruff==0.11.7
 + setuptools==80.0.0
 + shortuuid==1.0.13
 + six==1.17.0
 + sniffio==1.3.1
 + stack-data==0.6.3
 + starlette==0.46.2
 + string-color==1.2.3
 + timeout-sampler==1.0.15
 + toolz==1.0.0
 + traitlets==5.14.3
 + typing-extensions==4.13.2
 + typing-inspection==0.4.0
 + urllib3==2.4.0
 + uvicorn==0.34.2
 + uvicorn-worker==0.3.0
 + wcwidth==0.2.13
 + wrapt==1.17.2


STEP 1/26: FROM quay.io/podman/stable:v5
STEP 2/26: EXPOSE 5000
--> Using cache a025c26a1ab0531040bcac9632720b3c68e4b94caee8390e09bba14d5da9808f
--> a025c26a1ab0
STEP 3/26: ENV USERNAME="podman"
--> Using cache 1dc0b2cb5b7422ec481146df83c69d3fe2c439cc657794e0195feffcde59b40b
--> 1dc0b2cb5b74
STEP 4/26: ENV HOME_DIR="/home/$USERNAME"
--> Using cache 884226bf4f6d552e318894384e76123dbf637af1ed1aa3a6a16bc48dec566860
--> 884226bf4f6d
STEP 5/26: ENV BIN_DIR="$HOME_DIR/.local/bin"
--> Using cache 7fb29a29980a16f08fe9cde916369984f48c529e39c01e374dbb456b3dec1dd8
--> 7fb29a29980a
STEP 6/26: ENV PATH="$PATH:$BIN_DIR"
--> Using cache 5c4c0bbde172a5edaeb73bd6a9db4136e002966ddea9fadcb1920364b9a888d2
--> 5c4c0bbde172
STEP 7/26: ENV DATA_DIR="$HOME_DIR/data"
--> Using cache 657f54269564c29db0c94050d2e93cce12ba9acb8370b537a390de2304013f66
--> 657f54269564
STEP 8/26: ENV APP_DIR="$HOME_DIR/github-webhook-server"
--> Using cache b7a048fd27da81bf353b89acf3d0feba5f9842e7190273d5071bc489a313c0b6
--> b7a048fd27da
STEP 9/26: RUN dnf -y install dnf-plugins-core   && dnf -y update   && dnf -y install   git   hub   unzip   gcc   python3-devel   python3.10-devel   python3.11-devel   python3.12-devel   python3.13-devel   clang   cargo   libcurl-devel   libxml2-devel   && dnf clean all   && rm -rf /var/cache /var/log/dnf* /var/log/yum.*
--> Using cache b27399e2bae3024e03b88633c8e8988d12c9c0fa797d9717c132dd90204d503f
--> b27399e2bae3
STEP 10/26: RUN mkdir -p $BIN_DIR   && mkdir -p $APP_DIR   && mkdir -p $DATA_DIR   && mkdir -p $DATA_DIR/logs
--> Using cache b4a6eca343f0484bb37c32f55dafa8bdfaa3721b5552e99be97a77743f73754c
--> b4a6eca343f0
STEP 11/26: COPY gunicorn.conf.py pyproject.toml uv.lock README.md $APP_DIR/
--> Using cache 8987e3721397ae7f39adf5e971e9ff3dc9d7643b73dfc6df47010e6641596068
--> 8987e3721397
STEP 12/26: COPY webhook_server $APP_DIR/webhook_server/
--> dba60b7d5920
STEP 13/26: RUN usermod --add-subuids 100000-165535 --add-subgids 100000-165535 $USERNAME   && chown -R $USERNAME:$USERNAME $HOME_DIR
--> b51dca2abf86
STEP 14/26: USER $USERNAME
--> c651c5d6faf5
STEP 15/26: WORKDIR $HOME_DIR
--> 24bfa3f7adec
STEP 16/26: ENV UV_PYTHON=python3.13
--> 932984093bca
STEP 17/26: ENV UV_COMPILE_BYTECODE=1
--> 57e53426e3ca
STEP 18/26: ENV UV_NO_SYNC=1
--> 71474abd7e4c
STEP 19/26: ENV UV_CACHE_DIR=${APP_DIR}/.cache
--> 341a1930264f
STEP 20/26: COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx ${BIN_DIR}/
--> 457f32069d69
STEP 21/26: RUN uv tool install pre-commit && uv tool install poetry
--> a3e49efa397e
STEP 22/26: RUN set -x   && curl https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/rosa-linux.tar.gz --output $BIN_DIR/rosa-linux.tar.gz   && tar xvf $BIN_DIR/rosa-linux.tar.gz   && mv rosa $BIN_DIR/rosa   && chmod +x $BIN_DIR/rosa   && rm -rf $BIN_DIR/rosa-linux.tar.gz   && curl -L https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64 >$BIN_DIR/regctl   && chmod +x $BIN_DIR/regctl
rosa
--> c8ed80bd5bcc
STEP 23/26: WORKDIR $APP_DIR
--> c06e920b158b
STEP 24/26: RUN uv sync
--> 48959a496919
STEP 25/26: HEALTHCHECK CMD curl --fail http://127.0.0.1:5000/webhook_server/healthcheck || exit 1
--> ef02f0dda33b
STEP 26/26: ENTRYPOINT ["uv", "run", "gunicorn", "webhook_server.app:FASTAPI_APP", "-c", "./gunicorn.conf.py"]
COMMIT ghcr.io/myk-org/github-webhook-server:pr-744
--> 99aba3d79a9e
Successfully tagged ghcr.io/myk-org/github-webhook-server:pr-744
99aba3d79a9eb7e455c1c751834cae9ddfd2903451a279dc1071e6a818a24b8c