Skip to content

revert get_apis_and_tokes_from_config

6b21e85
Select commit
Loading
Failed to load commit list.
Merged

Fix local repository config file loader #738

revert get_apis_and_tokes_from_config
6b21e85
Select commit
Loading
Failed to load commit list.
manage-repositories-app / build-container succeeded Apr 28, 2025 in 0s

Build container

Details

Resolved 9 packages in 688ms
Downloading virtualenv (4.1MiB)
 Downloaded virtualenv
Prepared 9 packages in 607ms
Installed 9 packages in 5ms
Bytecode compiled 216 files in 78ms
 + 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.32s
Downloading cryptography (4.0MiB)
Downloading zstandard (5.2MiB)
Downloading rapidfuzz (2.9MiB)
 Downloaded rapidfuzz
 Downloaded cryptography
 Downloaded zstandard
Prepared 41 packages in 776ms
Installed 45 packages in 27ms
Bytecode compiled 1162 files in 127ms
 + anyio==4.9.0
 + build==1.2.2.post1
 + cachecontrol==0.14.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + charset-normalizer==3.4.1
 + cleo==2.1.0
 + crashtest==0.4.1
 + cryptography==44.0.2
 + 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.2
 + poetry-core==2.1.2
 + 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.4.11.15
 + 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     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 26 34.2M   26 9225k    0     0  5802k      0  0:00:06  0:00:01  0:00:05 5802k
100 34.2M  100 34.2M    0     0  14.4M      0  0:00:02  0:00:02 --:--:-- 14.4M
+ 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

 21 11.0M   21 2478k    0     0  2779k      0  0:00:04 --:--:--  0:00:04 2779k
100 11.0M  100 11.0M    0     0  10.5M      0  0:00:01  0:00:01 --:--:-- 54.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 80 packages in 0.53ms
   Building github-webhook-server @ file:///home/podman/github-webhook-server
Downloading ruff (10.9MiB)
Downloading pygments (1.2MiB)
Downloading jedi (1.5MiB)
Downloading pydantic-core (1.9MiB)
Downloading netaddr (2.2MiB)
Downloading setuptools (1.2MiB)
Downloading cryptography (4.0MiB)
   Building timeout-sampler==1.0.15
   Building pyhelper-utils==1.0.13
   Building python-simple-logger==2.0.9
   Building python-rrmngmnt==0.1.32
 Downloaded pygments
 Downloaded setuptools
 Downloaded pydantic-core
      Built python-simple-logger==2.0.9
      Built timeout-sampler==1.0.15
      Built pyhelper-utils==1.0.13
 Downloaded netaddr
 Downloaded jedi
 Downloaded cryptography
      Built github-webhook-server @ file:///home/podman/github-webhook-server
 Downloaded ruff
      Built python-rrmngmnt==0.1.32
Prepared 75 packages in 1.38s
Installed 75 packages in 37ms
Bytecode compiled 2513 files in 251ms
 + annotated-types==0.7.0
 + anyio==4.9.0
 + asttokens==3.0.0
 + bcrypt==4.3.0
 + build==1.2.2.post1
 + certifi==2025.1.31
 + 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.11 (from file:///home/podman/github-webhook-server)
 + gunicorn==23.0.0
 + h11==0.14.0
 + idna==3.10
 + iniconfig==2.1.0
 + ipdb==0.13.13
 + ipython==9.1.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.6
 + setuptools==79.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 65d3d4c6ff522718825c3fb8d4b20fdf91ace177417c57538e8afafcc862faab
--> 65d3d4c6ff52
STEP 3/26: ENV USERNAME="podman"
--> Using cache 9406edaeaf2b8a968eec98e3454ecef071ff514334541ba7bb648d41d46c6c25
--> 9406edaeaf2b
STEP 4/26: ENV HOME_DIR="/home/$USERNAME"
--> Using cache 0af1583ef6f0d3ec57968a3a690736bc71a2d6e668abbd4ede64e383e8aa6a47
--> 0af1583ef6f0
STEP 5/26: ENV BIN_DIR="$HOME_DIR/.local/bin"
--> Using cache 2068a21983aa823d85021a95483ddd7b00909a0e086b6b72308d9eaa7ca27bcb
--> 2068a21983aa
STEP 6/26: ENV PATH="$PATH:$BIN_DIR"
--> Using cache 8315e875b3d0b3f096a8910d5d6af09709f6d702d2a686ef4e97556123d37b6c
--> 8315e875b3d0
STEP 7/26: ENV DATA_DIR="$HOME_DIR/data"
--> Using cache 215e4040405483fee16dcc0054a5d7966ffde10024a0bac0cd35bc9c7ade1d79
--> 215e40404054
STEP 8/26: ENV APP_DIR="$HOME_DIR/github-webhook-server"
--> Using cache 391a720c9ee3bd6d25c9998c6558ab86d7d4a3faa56fb67c0fdf7fdddfa1871d
--> 391a720c9ee3
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 3a176d746782ba98beb4e79b1430b582093834d9863213a1a0143e8b60779bd8
--> 3a176d746782
STEP 10/26: RUN mkdir -p $BIN_DIR   && mkdir -p $APP_DIR   && mkdir -p $DATA_DIR   && mkdir -p $DATA_DIR/logs
--> Using cache ae1e460cfc5b33608096b6b0674877c98ef4ec79ba89f9cbbe0fb84cf44b7363
--> ae1e460cfc5b
STEP 11/26: COPY gunicorn.conf.py pyproject.toml uv.lock README.md $APP_DIR/
--> Using cache f08248beb626b221f62685ce2ba5f6763203f2d29f458803f16154db1b9fcfe4
--> f08248beb626
STEP 12/26: COPY webhook_server $APP_DIR/webhook_server/
--> 6e49ba4bc333
STEP 13/26: RUN usermod --add-subuids 100000-165535 --add-subgids 100000-165535 $USERNAME   && chown -R $USERNAME:$USERNAME $HOME_DIR
--> 81b1f0ec949f
STEP 14/26: USER $USERNAME
--> 34d27f820b76
STEP 15/26: WORKDIR $HOME_DIR
--> f4236454bfd5
STEP 16/26: ENV UV_PYTHON=python3.13
--> 8ad2b87f1548
STEP 17/26: ENV UV_COMPILE_BYTECODE=1
--> bc6a8267c64a
STEP 18/26: ENV UV_NO_SYNC=1
--> ba3f750f2aeb
STEP 19/26: ENV UV_CACHE_DIR=${APP_DIR}/.cache
--> f98fc9687c55
STEP 20/26: COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx ${BIN_DIR}/
--> cc0dd0868783
STEP 21/26: RUN uv tool install pre-commit && uv tool install poetry
--> e7bcbf564e8d
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
--> fa59afd4f41e
STEP 23/26: WORKDIR $APP_DIR
--> 51dae7e98e4b
STEP 24/26: RUN uv sync
--> 74f6d021a8d2
STEP 25/26: HEALTHCHECK CMD curl --fail http://127.0.0.1:5000/webhook_server/healthcheck || exit 1
--> f63e66b687e8
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-738
--> 1d2c2b5d48ed
Successfully tagged ghcr.io/myk-org/github-webhook-server:pr-738
1d2c2b5d48edc7271c2b99d989f638577bf09aa3f507f289e2a2ac40e479decb