mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
build: display version after CI build
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user