Preview
Open Original
WordPress @ EPFL: DevOps Boogaloo
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
Prerequisites and Tools
OpenShift
- 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
Ansible
[Install Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_…
WordPress @ EPFL: DevOps Boogaloo
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
Prerequisites and Tools
OpenShift
- 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
Ansible
Install Ansible and familiarize yourself with how it works.
Keybase and eyaml
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
Operations
To be documented
Contributor list
Big up to all the following people, without whom this project will not be
File Layout
This module comprises the following subdirectories:
ansible: All the support for Ansible. Theoretically,ansible/wpsiblecan bring up the entire serving infrastructure from a backup into an empty OpenShift namespace that the operator hasoc loginaccess to — Including all required Kubernetes objects. Seeansible/README.mdfor 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)Makefileandk8s-backup: manage the archiving of select mutable pieces of the Kubernetes configuration into a Keybase-encrypted git