F.A.Q. - Ordina-JTech/fordintysa-ci GitHub Wiki

Frequently Asked Questions

Why is sudo needed for the open.sh script?

Eventually you're in a Boot2Docker kernel environment. This is tweaked to contain a bare minimum of tools, which alas does not contain docker-compose. Sudo is needed to get that installed. The open.sh script will run fine without sudo when docker-compose already is installed.

What is that sesame.yml file needed by the open.sh script?

sesame.yml is by the script symlinked to docker-compose.yml, so this is the configuration for docker-compose. Early on in development of the project we needed to do some templating in there to put in the IP address. Later refinements made that step obsolete, but we did keep the open sesame sequence as a joke.

What stack does the build server run on?

There are a couple of layers:

  1. The buildserver homepage with the assignment slides is written in MarkDown
  2. MarkDown is rendered to a slide show with reveal.js and we put a button bar into the index.html to access the individual applications.
  3. There's an nginx Docker container that does the server side handling of the homepage and reverse-proxying the other containers.
  4. nginx and the other containers are run by docker-compose
  5. docker-compose and docker run on a Boot2Docker kernel in a virtual machine.
  6. The Boot2Docker virtual machine is provisioned by docker-machine

I have another question. Could you answer that?

Probably yes. Please raise an issue.