TT#29356 Move perlcriticrc with all the history from puppet-sipwise.git to system-tests.git

And use it into Docker-based env for TAP tests.

Change-Id: I94496d0f910b01db8e2e4015970b1dd090423f45
changes/18/18118/1
Alexander Lutay 7 years ago
parent 0905e5b954
commit fe76462022

@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-jessie:latest
# is updated with the current date. It will force refresh of all # is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using # of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built. # old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2018-01-03 ENV REFRESHED_AT 2018-01-04
RUN echo "# generated by Dockerfile from jenkins-tap-test-jessie at $(date)\n\ RUN echo "# generated by Dockerfile from jenkins-tap-test-jessie at $(date)\n\
deb https://deb.sipwise.com/autobuild/ internal-jessie main\n" > /etc/apt/sources.list.d/sipwise-internal.list deb https://deb.sipwise.com/autobuild/ internal-jessie main\n" > /etc/apt/sources.list.d/sipwise-internal.list
@ -31,6 +31,8 @@ apt-get download devscripts && \
dpkg --fsys-tarfile devscripts_*.deb | tar -C / -p -xv ./usr/bin/checkbashisms && \ dpkg --fsys-tarfile devscripts_*.deb | tar -C / -p -xv ./usr/bin/checkbashisms && \
rm -rf /tmp/zzz rm -rf /tmp/zzz
COPY t/tap-tests-docker/perlcriticrc /root/.perlcriticrc
RUN echo 'SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher' >>/root/.bash_history RUN echo 'SHELL=bash WORKSPACE=/code/ /usr/bin/tap_tool_dispatcher' >>/root/.bash_history
WORKDIR /code/ WORKDIR /code/

@ -1,4 +1,4 @@
# HEADER: managed by puppet, do NOT edit manually! # HEADER: generated by Dockerfile from jenkins-tap-test-jessie!
# NOTE: When switching the output format we also need to adjust perlcritic_tap # NOTE: When switching the output format we also need to adjust perlcritic_tap
# accordingly: # accordingly:
Loading…
Cancel
Save