This repositry regroups the configuration-as-code to provision, configure,
deploy and manage the EPFL's businesscard app. It uses Ansible wrapped in a
convenient suitcase, called busible
.
./busible
- Uses the common-web to build the businesscard image, checkouting the code from github.
- Adds some secrets and config map, create a service, routes and a deployment config.
- If needed or asked, it will redeploy the pod.
Detailled operations might look like:
./busible -vvv -t businesscard.is,businesscard.build
$ oc logs -f bc/businesscard --version=NN -n businesscard-test
./busible -vvv -t businesscard.promote --prod
./busible -vvv -t businesscard.secrets,businesscard.routes,businesscard.service,businesscard.cm,businesscard.dc --prod
- Access to our Keybase
/keybase/team/epfl_businesscard/
directory. - Access to
businesscard-test
&businesscard-prod
namespaces on our OpenShift cluster.
name | tags |
---|---|
Secrets | businesscard.dbs businesscard.secrets |
Service | businesscard.service |
Routes | businesscard.routes |
Config Map | businesscard.config businesscard.cm |
Deployment Config | businesscard.dc businesscard.deploy businesscard.deploymentconfig |
Redeploy | businesscard.deploy.force |
Build image | businesscard.is businesscard.image businesscard.imagestream |
Rebuild now | businesscard.build |
Promote | businesscard.promote |