Keep track of all deployments across all your environments
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Docker & Docker Compose
- Ruby (use current version)
Get your development environment up and running with following steps
# Info: this step can be repeated to update you enviroment as well
./script/setup.sh
Start the server
cd backend
rails s
When the server is running, open the graphiql ui in your browser. Copy paste any of the following queries to fetch the data.
For deployments:
# All deployments
{
deployments {
id
startedAt
finishedAt
service {
id
name
}
}
}
# Single deployment
{
deployment(id: 1) {
startedAt
finishedAt
}
}
For services:
# All services
{
services {
id
name
}
}
# Single service
{
service(id: 2) {
name
}
}
The backend uses rspec for its unit tests. Run them with
rspec
Or if you️ ❤️ TDD
bundle exec guard -c