The Simplest Way to Make Ceph and Github Work Like They Should
Teams pair ceph and github to store build outputs, test logs, and container files. Github runs the code pipeline while Ceph holds the large files and backups. This setup keeps heavy binary data out of your code repo. Your pipelines push artifacts straight to object or block storage during each run. Engineers also use Github repos to track and update Ceph cluster rules. How ceph and github share keys and data Ceph offers an object gateway that speaks the same API as standard cloud storage. Gi
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.
Teams pair ceph and github to store build outputs, test logs, and container files. Github runs the code pipeline while Ceph holds the large files and backups.
This setup keeps heavy binary data out of your code repo. Your pipelines push artifacts straight to object or block storage during each run. Engineers also use Github repos to track and update Ceph cluster rules.
How ceph and github share keys and data
Ceph offers an object gateway that speaks the same API as standard cloud storage. Github runners can send files to this endpoint over HTTPS during a build. The runner needs an endpoint URL and a valid key to log in.
Most teams store these Ceph user keys inside Github repo secrets. When a workflow starts, Github loads the secret into the runner memory. The build script then reads or writes data to a specific Ceph bucket.
Data can also flow the other way for cluster updates. Ops teams store Ceph layout files in a central Github repo. When someone merges a pull request, a worker job applies the new storage rules. This keeps your storage setup tracked in version control at all times.
Teams also use Ceph to host large test datasets for their apps. When a test job runs on Github, it pulls down the test files. After the test finishes, the runner uploads the fresh log files back to Ceph. This pattern keeps your code pipelines fast and clean.
Common security gaps and how to scope roles
Many teams use one shared Ceph admin key for every Github repo. This creates a huge risk if a build script leaks that secret. Anyone with that key can read or wipe every bucket in the cluster.
GitHub Actions Security + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Static keys in repo settings also rarely get rotated on time. An old key might stay active for months after an engineer leaves the team. Unlogged storage calls make it even harder to spot bad actions during a breach. You cannot tell which user or workflow deleted a bucket if everyone shares a key.
You should create a unique Ceph user for each Github repo instead. Give that user write rights only to the exact bucket it needs. If a job only downloads test files, give it read-only rights.
Lock down the network path between your runners and your storage cluster too. Public cloud runners come from wide IP ranges that are hard to filter. Running your own private build workers inside your network solves this problem. Your firewall can then block all outside traffic to the Ceph object gateway.
Keeping build logs and test data safe
Build jobs and test runs often handle real user data by mistake. If a test fails, the runner might dump raw data into a Ceph log bucket. This puts sensitive items into shared storage where many developers can read them.
You need strict rules on what data enters your test buckets. Data masking rewrites matched fields like emails, phone numbers, card numbers, and national IDs in results. This stops raw customer details from sitting in your object storage buckets. Good logging on the storage side also shows you who read each file and when.
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 do Github runners talk to a private Ceph cluster?
Use self-hosted runners inside the same private network as your Ceph nodes. This lets jobs transfer files fast without opening your storage endpoints to the public internet.
Should we store large build binaries in Github or Ceph?
Store large binaries in Ceph object buckets rather than inside your git history. Git slows down with big files, while Ceph handles petabytes of object data with ease.
How can we limit damage if a Github workflow key leaks?
Scope each Ceph user key to a single bucket with read-only or write-only rules. Rotate those keys often and watch your gateway logs for odd download spikes.
Related guides
In this post