renaming Orbit tests task to ci: it now runs all linter + tests + build the gotenberg binary

This commit is contained in:
Julien Neuhart
2018-04-06 15:24:49 +02:00
parent ee44f09212
commit e12deba4bb
7 changed files with 15 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
FROM {{ if eq "TESTS" .Orbit.Image }}golang:1.10-stretch{{ else }}debian:stretch-slim{{ end }}
FROM {{ if eq "CI" .Orbit.Image }}golang:1.10-stretch{{ else }}debian:stretch-slim{{ end }}
LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>"
@@ -24,7 +24,7 @@ RUN echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free"
# | All Gotenberg related stuff.
# |
{{- if eq "TESTS" .Orbit.Image }}
{{- if eq "CI" .Orbit.Image }}
WORKDIR /go/src/github.com/thecodingmachine/gotenberg
@@ -41,7 +41,7 @@ RUN go get -d -v ./...
ENTRYPOINT ["_ci/docker-entrypoint.sh"]
{{- else }}
COPY gotenberg /usr/bin/gotenberg
COPY _build/gotenberg /usr/bin/gotenberg
RUN ln -s /usr/bin/gotenberg /usr/local/bin/gotenberg
WORKDIR /gotenberg