Bucketeer is an open-source platform created by CyberAgent to help teams make better decisions, reduce deployment lead time and release risk through feature flags. Bucketeer offers advanced features like dark launches and staged rollouts that perform limited releases based on user attributes, devices, and other segments.
Getting started using Bucketeer SDK.
See our documentation to install the SDK.
We would ❤️ for you to contribute to Bucketeer and help improve it! Anyone can use and enjoy it!
Please follow our contribution guide here.
make deps
make mockgen
make fmt
make lint
make build
make test
make coverage
make e2e API_KEY=<API_KEY> HOST=<HOST> PORT=<PORT>
# e.g.
make e2e API_KEY="xxxxxxxx" HOST="api-dev.bucketeer.jp" PORT=443
Go to the example directory.
cd example
make build
make start TAG=<TAG> API_KEY=<API_KEY> HOST=<HOST> PORT=<PORT> \
ENABLE_DEBUG_LOG=<ENABLE_DEBUG_LOG> FEATURE_ID=<FEATURE_ID> GOAL_ID=<GOAL_ID>
# e.g.
make start TAG="go-server" API_KEY="xxxxxxxx" HOST="api.example.com" PORT="443" \
ENABLE_DEBUG_LOG="false" FEATURE_ID="go-example-1" GOAL_ID="go-example-goal-1"
# variation
# e.g.
curl --cookie "user_id=user-1" http://localhost:8080/variation
# track
# e.g.
curl -X POST --cookie "user_id=user-1" http://localhost:8080/track
If you want to use a published SDK instead of a local one, you can change the go.mod in the example directory.
Please check the SDK releases