The Simplest Way to Make Buildkite and Domino Data Lab Work Like They Should
Pairing buildkite and domino data lab links code tests to data science runs. Buildkite runs your build steps and triggers Domino jobs for model training. Teams use both tools to move models from code repos to production. Engineers push code changes to their main source control branch. Buildkite picks up the commit and checks the code syntax. Next, the pipeline calls the Domino API to start a model run. This setup turns manual data tasks into repeatable automated workflows. Both tools stay in sy
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Pairing buildkite and domino data lab links code tests to data science runs. Buildkite runs your build steps and triggers Domino jobs for model training.
Teams use both tools to move models from code repos to production. Engineers push code changes to their main source control branch. Buildkite picks up the commit and checks the code syntax. Next, the pipeline calls the Domino API to start a model run. This setup turns manual data tasks into repeatable automated workflows. Both tools stay in sync during the whole build cycle.
How buildkite and domino data lab share keys and data
Buildkite uses local agents that run inside your own cloud network. These agents need a valid secret key to talk to Domino. The agent sends an HTTPS request to the Domino API endpoint. Domino checks the key and maps it to a user role. If the role has permission, Domino starts the compute job.
Data flows between the two systems through API calls and cloud storage. Buildkite sends build numbers and git commit hashes to the Domino job. Domino reads these inputs and pulls the matching data set. After the model finishes training, Domino writes the output files to storage. Buildkite polls the Domino API to check the job status. When the job passes, Buildkite marks the whole pipeline step as green. This flow keeps large data files off the build agents.
Common failure modes and how to scope roles
Many teams make the mistake of using one shared service account. They put one broad Domino API key into the Buildkite agent settings. Every pipeline on that agent can then read or change any project. If a bad actor gets into one build script, they get everything. Shared keys also ruin your audit logs inside the data platform. Every API call looks like it came from the same robot user. You cannot tell which engineer or pipeline triggered a failed model run.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged database queries during training jobs create another big risk. Models often pull raw customer records during a Domino run. Without strict controls, training logs might print emails or card numbers. You should apply data masking to rewrite matched fields in results. Masking replaces phone numbers and national IDs before logs save to disk.
To fix key risks, scope roles down to single projects. Create separate Domino service accounts for each team or build pipeline. Give each account only the exact permissions it needs to run. Store keys in a secret store instead of plain agent files. Have the Buildkite agent fetch the key only when a step starts. Lock down network paths between the build agents and the data plane. Put Buildkite agents in a private subnet with strict firewall rules. Allow outbound traffic only to the Domino API port and nothing else. Rotate your API keys on a set schedule to limit exposure.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
How does a Buildkite agent start a Domino job?
The agent sends a secure web request to the Domino API endpoint. It passes the project ID and the git commit hash to run.
Where should teams store Domino API keys for Buildkite?
Teams should keep API keys in a cloud secret store. The Buildkite agent pulls the secret into memory only during the job.
How can we keep sensitive data out of build logs?
Keep raw data inside the data platform and send only status codes. Use masking rules to rewrite emails or card numbers in query results.
Related guides
In this post