Skip to content
Snippets Groups Projects
Commit eaab8d9c authored by Simon Künzel's avatar Simon Künzel
Browse files

Fix CI

parent e9ae0a3b
No related branches found
No related tags found
No related merge requests found
Pipeline #7278 failed
Pipeline: backend

#7279

    ......@@ -14,6 +14,14 @@ COPY tests/ ./tests/
    COPY config/api_example_config.py ./config/
    COPY config/test_config_override.py ./config/
    COPY config/uwsgi_example.ini ./config/
    COPY --exclude=src/videoag_common src/ ./src/
    # The source has a symlink file at src/videoag_common
    # The actual files are already in the image at src/videoag_common
    # So we move the actual files temporarily, copy the src directory, remove the symlink and move the actual files back
    # In the future, COPY --exclude src/videoag_common might work (but right now it doesn't, some "failed to compute cache key")
    RUN mv src/videoag_common src/.temp
    COPY src/ ./src/
    RUN rm src/videoag_common
    RUN mv src/.temp src/videoag_common
    ENTRYPOINT ["docker_start.sh"]
    \ No newline at end of file
    ......@@ -213,7 +213,7 @@ def main():
    f"job_{job_name}",
    [base_image_name],
    f"job_controller/jobs/{job_dir.name}",
    job_dir.joinpath("metadata.json").exists()
    not job_dir.joinpath("metadata.json").exists()
    )
    Path("child-pipeline.yml").write_text(gen_pipeline(context))
    ......
    ......@@ -13,7 +13,16 @@ COPY extra_requirements.txt ./
    RUN pip install -r extra_requirements.txt
    COPY jobs ./jobs/
    COPY --exclude=src/videoag_common src/ ./src/
    # The source has a symlink file at src/videoag_common
    # The actual files are already in the image at src/videoag_common
    # So we move the actual files temporarily, copy the src directory, remove the symlink and move the actual files back
    # In the future, COPY --exclude src/videoag_common might work (but right now it doesn't, some "failed to compute cache key")
    RUN mv src/videoag_common src/.temp
    COPY src/ ./src/
    RUN rm src/videoag_common
    RUN mv src/.temp src/videoag_common
    WORKDIR src
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment