mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-22 19:55:55 +00:00
gitlab-ci.yml: Run integration tests against submitted and latest deps
It is useful to run the integration tests both against the submitted dependencies, based on Go module versions from the repository, as well as the latest ones, to catch integration problems early. This patch extends the .gitlab-ci.yml configuration to do that, by optionally passing a flag to "go get" to update the modules.
This commit is contained in:
@@ -56,7 +56,7 @@ RUN useradd -m chasquid && chown -R chasquid:chasquid .
|
||||
# Do it as chasquid because that is what the tests will run as.
|
||||
USER chasquid
|
||||
ENV GOPATH=
|
||||
RUN go get -v ./... && go mod download
|
||||
RUN go get -v ${GO_GET_ARGS} ./... && go mod download
|
||||
|
||||
# Build the minidns server, which will be run from within the entrypoint.
|
||||
RUN go build -o /tmp/minidns ./test/util/minidns.go
|
||||
|
||||
Reference in New Issue
Block a user