observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
93 stars 42 forks source link

.drone: make binary statically linked #15

Closed squat closed 5 years ago

squat commented 5 years ago

Right now the binary is dynamically linked due to CGO_ENABLED=1. This causes the following error when executing inside the alpine container:

/usr/bin/thanos-receive-controller: not found

This fixes that error by splitting the test phase into an explicit testing and building phase.

cc @metalmatze