mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 07:11:02 +00:00
Disable cgo on all builds, add additional tests for docker
This commit is contained in:
parent
d05531b77a
commit
eef6359db3
4 changed files with 17 additions and 1 deletions
|
|
@ -147,6 +147,14 @@ jobs:
|
|||
at: .
|
||||
- run: sudo pip install awscli
|
||||
- run: make prerelease-upload
|
||||
docker-build:
|
||||
executor:
|
||||
name: golang
|
||||
steps:
|
||||
- checkout-plus
|
||||
- setup_remote_docker
|
||||
- run: make docker
|
||||
- run: docker run pilosa:$(git describe --tags) help
|
||||
dockerhub-upload-unstable:
|
||||
executor:
|
||||
name: golang
|
||||
|
|
@ -154,6 +162,7 @@ jobs:
|
|||
- checkout-plus
|
||||
- setup_remote_docker
|
||||
- run: make docker
|
||||
- run: docker run pilosa:$(git describe --tags) help
|
||||
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
- run: make docker-tag-push DOCKER_TARGET=moleculacorp/pilosa:<< pipeline.git.branch >>
|
||||
dockerhub-upload-stable:
|
||||
|
|
@ -163,6 +172,7 @@ jobs:
|
|||
- checkout-plus
|
||||
- setup_remote_docker
|
||||
- run: make docker
|
||||
- run: docker run pilosa:$(git describe --tags) help
|
||||
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
- run: make docker-tag-push DOCKER_TARGET=moleculacorp/pilosa:<< pipeline.git.tag >>
|
||||
- run: make docker-tag-push DOCKER_TARGET=moleculacorp/pilosa:latest
|
||||
|
|
@ -218,6 +228,10 @@ workflows:
|
|||
- cluster-tests:
|
||||
requires:
|
||||
- setup
|
||||
- docker-build:
|
||||
context: molecula
|
||||
requires:
|
||||
- setup
|
||||
- prerelease:
|
||||
requires:
|
||||
- linter
|
||||
|
|
|
|||
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
lattice
|
||||
|
|
@ -5,7 +5,7 @@ ARG MAKE_FLAGS
|
|||
|
||||
COPY . pilosa
|
||||
|
||||
RUN cd pilosa && CGO_ENABLED=0 make install FLAGS="-a -mod=vendor ${BUILD_FLAGS}" ${MAKE_FLAGS}
|
||||
RUN cd pilosa && make install FLAGS="-a -mod=vendor ${BUILD_FLAGS}" ${MAKE_FLAGS}
|
||||
|
||||
FROM alpine:3.12.1
|
||||
|
||||
|
|
|
|||
1
Makefile
1
Makefile
|
|
@ -31,6 +31,7 @@ endif
|
|||
|
||||
export GO111MODULE=on
|
||||
export GOPRIVATE=github.com/molecula
|
||||
export CGO_ENABLED=0
|
||||
|
||||
# Run tests and compile Pilosa
|
||||
default: test build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue