Loading .gitlab-ci.yml +1 −7 Original line number Diff line number Diff line Loading @@ -17,8 +17,6 @@ generate_temp_docx: stage: preprocessing script: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data && python3 preprocessing.py './API.docx'" after_script: - ls -la artifacts: paths: - temp.docx Loading @@ -31,7 +29,6 @@ images_extraction: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data && pandoc --extract-media ./ -f docx -t html -s API.docx -o API.html" after_script: - docker run -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data/media && umask 0000 && libreoffice --headless --convert-to png *.emf && mogrify -trim *.png" - ls -la artifacts: paths: - media Loading @@ -43,8 +40,6 @@ chunk_html: - "images_extraction" script: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data && pandoc --extract-media ./ -f docx -t chunkedhtml -L filter_1.lua -L filter_2.lua --css=styling.css --css=API.css -s temp.docx -o ./API.zip --toc --toc-depth 4 --template=template.html --split-level=1" after_script: - ls -la artifacts: paths: - ./API.zip Loading @@ -59,8 +54,7 @@ saving_script: - cp -r ./dist ./API - cp pre-save_script.js ./API script: - docker run --entrypoint "/bin/sh" -v "./API:/data" serafinopirronitto/test-image:v4 -c "cd data && umask 0000 && mkdir saved_files && npm init -y &&\ npm install puppeteer fs && node pre-save_script.js" - docker run --entrypoint "/bin/sh" -v "./API:/data" serafinopirronitto/test-image:v4 -c "id && cd data && umask 0000 && mkdir saved_files && npm init -y && npm install puppeteer fs && node pre-save_script.js" after_script: - rm ./*.html - cd saved_files Loading Loading
.gitlab-ci.yml +1 −7 Original line number Diff line number Diff line Loading @@ -17,8 +17,6 @@ generate_temp_docx: stage: preprocessing script: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data && python3 preprocessing.py './API.docx'" after_script: - ls -la artifacts: paths: - temp.docx Loading @@ -31,7 +29,6 @@ images_extraction: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data && pandoc --extract-media ./ -f docx -t html -s API.docx -o API.html" after_script: - docker run -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data/media && umask 0000 && libreoffice --headless --convert-to png *.emf && mogrify -trim *.png" - ls -la artifacts: paths: - media Loading @@ -43,8 +40,6 @@ chunk_html: - "images_extraction" script: - docker run -u $(id -u):$(id -g) --entrypoint "/bin/sh" -v "./:/data" serafinopirronitto/test-image:v4 -c "cd data && pandoc --extract-media ./ -f docx -t chunkedhtml -L filter_1.lua -L filter_2.lua --css=styling.css --css=API.css -s temp.docx -o ./API.zip --toc --toc-depth 4 --template=template.html --split-level=1" after_script: - ls -la artifacts: paths: - ./API.zip Loading @@ -59,8 +54,7 @@ saving_script: - cp -r ./dist ./API - cp pre-save_script.js ./API script: - docker run --entrypoint "/bin/sh" -v "./API:/data" serafinopirronitto/test-image:v4 -c "cd data && umask 0000 && mkdir saved_files && npm init -y &&\ npm install puppeteer fs && node pre-save_script.js" - docker run --entrypoint "/bin/sh" -v "./API:/data" serafinopirronitto/test-image:v4 -c "id && cd data && umask 0000 && mkdir saved_files && npm init -y && npm install puppeteer fs && node pre-save_script.js" after_script: - rm ./*.html - cd saved_files Loading