Commit 66043b5d authored by Tomasz Maczukin's avatar Tomasz Maczukin

Install go-junit-report in the base CI image

parent d065c073
......@@ -9,7 +9,7 @@ stages:
- cleanup
variables:
CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-1
CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-2
GOROOT: /usr/local/go
before_script:
......@@ -29,7 +29,7 @@ image: $CI_IMAGE
services:
- docker:dind
variables: &docker_variables
CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-1
CI_IMAGE: registry.gitlab.com/gitlab-org/gitlab-runner/ci:1.8.7-2
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375
tags:
......@@ -316,6 +316,7 @@ race conditions detector:
test junit report:
<<: *coverage_job
image: $CI_IMAGE
script:
- source ci/touch_make_dependencies
- make parallel_test_junit_report
......
......@@ -25,3 +25,5 @@ RUN wget -q https://get.docker.com/builds/Linux/x86_64/docker-1.13.1.tgz -O /tmp
COPY Makefile* /tmp/
RUN cd /tmp; \
make deps package-deps packagecloud-deps
RUN go get -u github.com/jstemmer/go-junit-report
\ No newline at end of file
......@@ -164,7 +164,6 @@ computeJUnitReport() {
cat .testoutput/*.${output}.output.txt > "${concatenatedOutputFile}"
go get -u github.com/jstemmer/go-junit-report
go-junit-report < "${concatenatedOutputFile}" > "${reportDirectory}/report.xml"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment