In this repository you will find:
-
The Dockerfiles and build dependencies for all custom-made Docker images
-
Some Ansible code to manage state on-disk and inside the Kubernetes data store
- Install the OpenShift command-line tools
- Browse https://pub-os-exopge.epfl.ch/ and log in using your GASPAR credentials
- From the “you” menu in the top right, select Copy Login Command
- Paste into a terminal window
- Check your access, e.g.
oc get pods -n wwp-test
Install Ansible and familiarize yourself with how it works.
These are required to (re)deploy QA and production secrets.
💡 You can get a lot of mileage out of Ansible and OpenShift even if you do not have access to the Keybase teams. In that case, feel free to skip this section.
- Install eyaml with
gem install hiera-eyaml
- Install Keybase and create an account for yourself
- Obtain membership in the relevant Keybase teams
To be documented
Big up to all the following people, without whom this project will not be
This module comprises the following subdirectories:
ansible
: All the support for Ansible and Ansible Tower. Theoretically,ansible/wpsible
can bring up the entire serving infrastructure from a backup into an empty OpenShift namespace that the operator hasoc login
access to — Including all required Kubernetes objects. A subset of the Ansible tasks is managed by Ansible Tower, providing a dashboard and crontab-like functionality to the operator. Seeansible/README.md
for further details on the layout inside this directory.docker
: Dockerfiles used to build the production images (also used by wp-dev to build the images on your workstation)Makefile
andk8s-backup
: manage the archiving of select mutable pieces of the Kubernetes configuration into a Keybase-encrypted git