• Aryan Noshirvnai's avatar
    Rewrite CI test job around a pre-baked Docker Hub image · 6b0d6620
    Aryan Noshirvnai authored
    Every push was paying apt-get + pip install + ffmpeg-download cost fresh,
    even with caching helping at the margins. Complete rewrite: Dockerfile.ci
    now bakes ffmpeg, libsndfile1, and the full requirements.txt into one image,
    built and pushed to Docker Hub by the manual build_ci_image job. The test
    job itself no longer does apt-get, pip install, or any download at all - it
    just pulls that image and runs pytest directly.
    
    Verified before pushing (no docker available locally to build-test with):
    every requirements.txt package that could plausibly need compilation
    (tgcrypto, pedalboard, pyrogram, shazamio/shazamio-core) has a prebuilt
    manylinux2014_x86_64/cp310 wheel, so no gcc/build-essential is needed in
    the image.
    
    Needs DOCKERHUB_USER + DOCKERHUB_TOKEN as CI/CD variables before
    build_ci_image can push anywhere - GitLab's own Container Registry isn't
    available on this instance (confirmed earlier), Docker Hub is (this runner
    already pulls python:3.10-slim from it successfully).
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    6b0d6620
Name
Last commit
Last update
alembic Loading commit data...
deploy Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
Dockerfile.ci Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
docker-compose.yml Loading commit data...
requirements-remix.txt Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...