Skip to content

Commit 9e45399

Browse files
committed
Update Blog “open-sourcing-workshops-on-demand-part4-managing-the-backend”
1 parent a756180 commit 9e45399

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

content/blog/open-sourcing-workshops-on-demand-part4-managing-the-backend.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The very last line of the trace will provide you with the credentials necessa
108108

109109
There are two types of activities that can occur on the backend server: punctual or regular. The punctual activity is one that is performed once every now and then. The regular one is usually set up on the backend server as a cron job. Sometimes however, one of these cron tasks can be forced manually if necessary. One the main scheduled task is the `deliver` task. I will explain it later on in this chapter. I will start now by explaining an important possible punctual task, the update of the backend server.
110110

111-
##### Update of the backend server:
111+
#### Update of the backend server:
112112

113113
The backend server hosts all the necessary content for delivering workshops: it implies notebooks and scripts and playbooks to deploy and personalize them. It also hosts some services that are needed by the overall architecture solution (Jupyterhub, Procmail, Fail2ban among others).
114114

@@ -179,7 +179,7 @@ Possible Use Cases:
179179

180180
Then you will perform a merge request with the main repository. We plan to integrate here in a proper CICD (continuous integration continous development) pipeline to allow a vagrant based test deployment. Whenever someone performs a merge request on the main repo, the test deployment task kicks in and deploy a virtual backend server on which the new version of the installation process is automatically tested. When successful, the merge request is accepted. Once merged, you will need to move to your backend server and perform git remote update and git rebase on the wod-backend directory. Once done, you will then be able to perform the installation process.
181181

182-
##### Regular maintenance of the backend server:
182+
#### Regular maintenance of the backend server:
183183

184184
On a daily basis, some tasks are launched to check the integrity of the backend server. Some tasks are related to the security integrity of the system. The following playbook is at the heart of this verification: **wod-backend/ansible/check_backend.yml**. Full version of the file is available [here](https://github.com/Workshops-on-Demand/wod-backend/blob/main/ansible/check_backend.yml) for review.
185185

@@ -228,4 +228,5 @@ It checks a quite long list of items like:
228228
* Ensure jupyterhub students users exist
229229
* Setup ACL for students with jupyterhub account
230230
* Setup default ACL for students with jupyterhub account
231-
*
231+
232+
A similar script exists for the different parts of the solution (check_api-db.yml for api-db server, check_frontend.yml for frontend server for instance).

0 commit comments

Comments
 (0)