Fix and test locally

This commit is contained in:
Filip Gralinski 2021-11-29 12:37:14 +01:00
parent 51240ce309
commit 613b1449fd
2 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,6 @@ USER root
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc" RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc"
RUN pacman -Syu --noconfirm && pacman --noconfirm -S python-cookiecutter git && pacman --noconfirm -Scc RUN pacman -Syu --noconfirm && pacman --noconfirm -S python-cookiecutter biber git python-pip python-yaml unzip wget && pacman --noconfirm -Scc
RUN mkdir -p /.cookiecutters RUN pip install arxiv_latex_cleaner syntok

2
Jenkinsfile vendored
View File

@ -7,7 +7,7 @@ pipeline {
def customImage = docker.build("paper-cutter:${env.BUILD_ID}") def customImage = docker.build("paper-cutter:${env.BUILD_ID}")
customImage.inside() { customImage.inside() {
dir('test') { dir('test') {
sh 'export fakehomedir=`pwd`/fakehome; mkdir $fakehomedir; HOME=$fakehomedir bash run_tests.sh' sh 'export PATH="$PATH:/usr/bin/vendor_perl"; export fakehomedir=`pwd`/fakehome; mkdir $fakehomedir; HOME=$fakehomedir bash run_tests.sh'
} }
} }
} }