diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8bdcbe3d9389c5877203a7ad3c782f25595d1981..58626f27483568125058347ddd474cee27c47c84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,9 @@ build: stage: build + when: manual timeout: 2h + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] diff --git a/README.md b/README.md index 8ca3d4befbacafa3b52f6467df1225f58d756ed9..75ef25cc5a00da7a7a8df154e2e430a870e8d8ea 100644 --- a/README.md +++ b/README.md @@ -1 +1,13 @@ -Docker image for rendering videos \ No newline at end of file +Docker image for rendering videos + +# regular use (not tested) + +`docker run --rm -it -v ./240429:/240429 registry.git.fsmpi.rwth-aachen.de/doriank/render_video_docker/render_video -C /240429 -c "24ss-algomod" -l "Algorithmische Modelltheorie"` + +It is a good idea to run the docker container non-elevated or else the files will have owner root + +# rwth cluster + +`apptainer pull render_container docker://registry.git.fsmpi.rwth-aachen.de/doriank/render_video_docker/render_video` + +`apptainer exec --mount type=bind,source=/hpcwork,destination=/hpcwork render_container /binaries/debug/render_video -C $HPCWORK/240429 -c "24ss-algomod" -l "Algorithmische Modelltheorie" -t 720p -T 1440p` \ No newline at end of file