build: display version after CI build

This commit is contained in:
Vincent Bernat
2022-07-22 11:14:23 +02:00
parent 82791eb5b9
commit 24e4776316
3 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ jobs:
# Build and test # Build and test
- name: Build - name: Build
run: make run: make && ./bin/akvorado version
- name: Tests - name: Tests
run: make test || make test run: make test || make test

View File

@@ -40,7 +40,7 @@ run tests:
- export GOMODCACHE=$PWD/.go-cache - export GOMODCACHE=$PWD/.go-cache
- npm config --user set cache $PWD/.npm-cache - npm config --user set cache $PWD/.npm-cache
- time go mod download - time go mod download
- time make - time make && ./bin/akvorado version
- time make test - time make test
- time make test-race || make test-race - time make test-race || make test-race
- time make test-coverage || make test-coverage - time make test-coverage || make test-coverage

View File

@@ -5,7 +5,7 @@ COPY go.mod ./
COPY go.sum ./ COPY go.sum ./
RUN go mod download RUN go mod download
COPY . . COPY . .
RUN make clean && make RUN make clean && make && ./bin/akvorado version && git status
# Do not use scratch, we use alpine to get an healthcheck # Do not use scratch, we use alpine to get an healthcheck
FROM alpine FROM alpine