Skip to content

EPFL-CePro/CEREAL.ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEREAL.ops

This repository regroups the configuration-as-code for the CEREAL project. It is used to deploy CEREAL in production or test version. It uses Ansible wrapped in a suitcase called cerealsible.

Prerequisites

  • Access to the Keybase team /keybase/team/cepro_cereal/
  • Access to the prod & test VMs (as root)

How it works

./cerealsible

  • Install some dependencies on the VM (Docker, Node, NPM, ...)
  • Setup the database on the running MySQL server
  • Clone the git repository, copy the env variables from Keybase, build the Docker image and run CEREAL's container
  • Configurate Apache

Use ./cerealsible --prod to deploy on the production VM.

Tags

  • cereal.setup
    • Install necessary dependencies on the VM
  • cereal.database
    • Setup the database on the running MySQL server
  • cereal.run
    • Clone the git repository, and do the necessary to start the project (docker image & container) : This is mostly what you want to do if you just made some changes to the project that you want to push in production.
  • cereal.apache
    • Configurate Apache & certificates (certificate are on the Keybase)

To use a tag : ./cerealsible -t cereal.setup or ./cerealsible --prod -t cereal.setup

About

configuration-as-code for the deployment of the CEREAL project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors