This repository contains the mina script to deploy our reference server
- Check which package is available to be installed
- Check which was the last deployed commit
- Check if there is pending migrations
- View pending migrations
- View diff of pending changes
- Deploy with pending migrations
- Deploy without pending migrations
Since mina is a rake Application, it behaves exactly like rake, so to see all available tasks:
$ mina -T
Passing environment variables:
$ PACKAGE_NAME=obs-api-test mina obs:package:available
$ git clone https://github.com/openSUSE/obs-deployment-tool.git
$ bundle install
$ mina -T
rake dev:build
docker-compose up
docker-compose exec client bash
In the client:
ssh root@server
The development tree can be found on the client container
/obs-deployment-tool
, so it's possible to do:
cd /obs-deployment-tool
bundle install
mina -T
Fork the repository and send a pull request with your changes.