This is the shipit-engine instance for deploying RubyGems.org and related applications.
Shipit needs MySQL database to be running. You can copy config/database.yml.sample
to config/database.yml
and tweak.
Once ready MySQL setup is ready, you can run tests using standard rails commands.
- initialize DB (needed only once)
bin/rails db:prepare
- run tests
bin/rails test
The following RBAC rules are necessary:
kubectl create rolebinding shipit-access --clusterrole=cluster-admin --serviceaccount=shipit:default --namespace=shipit kubectl create rolebinding shipit-access --clusterrole=cluster-admin --serviceaccount=shipit:default --namespace=rubygems-staging kubectl create rolebinding shipit-access --clusterrole=cluster-admin --serviceaccount=shipit:default --namespace=rubygems-production