Glossary
Every technical term in the docs. These are the same definitions that show up when you hover a word underlined with dots: they come from a single file, .vitepress/theme/glossary.en.ts.
- Ansible
- A tool that configures servers remotely over SSH, from YAML files. You describe the desired state and Ansible does what is needed to reach it. Wikipedia ↗
- Ansible role
- A reusable block of Ansible tasks for one topic: install Docker, configure the firewall…
- Ansible Vault
- An encrypted Ansible file. It can be committed: without the Vault password, it is unreadable.
- Artifact
- A file produced by a CI job and kept by GitLab after the job ends: test report, coverage report…
- Branch
- A parallel line of work in Git. You work on a feature/* branch, then merge it into develop. Wikipedia ↗
- CI/CD
- Continuous integration and continuous deployment: on every commit the code is tested and built automatically (CI), then released automatically (CD). Wikipedia ↗
- Code coverage
- The percentage of code lines run by the tests. 90 % means 10 % of the lines are never tested. Wikipedia ↗
- Commit SHA
- The unique identifier of a commit (e.g. 5a86221). Images are tagged with it, so you know exactly which code they contain.
- Container
- An application running in isolation, with everything it needs. It is created from an image, like an object from a mould. Wikipedia ↗
- CRUD
- Create, Read, Update, Delete: the four basic operations on a piece of data. Wikipedia ↗
- Django
- A Python web framework. It provides the ORM, migrations, the admin site and URL routing. Wikipedia ↗
- Django REST Framework
- A Django extension to write REST APIs: serializers, generic views, routers.
- Docker
- A tool that packs an application and its dependencies into an image, then runs it in a container. It then runs the same everywhere. Wikipedia ↗
- Docker Compose
- A tool that starts several containers together from a single YAML file (services, networks, volumes). Wikipedia ↗
- Docker image
- A frozen package containing the application, its dependencies and its start command. Containers are started from it.
- Docker Swarm
- A Docker mode that manages services: it replaces containers one by one during an update and rolls back if it fails. Wikipedia ↗
- Docker-in-Docker (dind)
- A Docker daemon started inside a container. The build job uses it to build images while itself running in a container.
- Dockerfile
- The recipe of a Docker image: the base image, the files to copy, the commands to run.
- Endpoint
- A specific address of the API, with an HTTP method. Example: GET /api/products/.
- Environment variable
- A value given to the program at startup (e.g. API_URL). The same code behaves differently without being changed. Wikipedia ↗
- Executor
- How a runner runs a job. "docker": in a throwaway container. "shell": directly on the machine.
- GitLab Runner
- A program installed on a machine that fetches pipeline jobs from GitLab and runs them.
- Gunicorn
- A production Python web server. It starts several processes (workers) of the Django application. Wikipedia ↗
- Health check
- An address (e.g. /health) that answers "ok" when the application is alive. Docker, Traefik and the pipeline query it before sending traffic.
- Hot reload
- Automatic reload: when you edit a file, the application updates without a manual restart.
- HTTPS / TLS
- Encryption of the exchanges between the browser and the server. The padlock in the address bar. Wikipedia ↗
- Idempotent
- Can be run any number of times with the same result. A re-run Ansible playbook does not redo what is already done. Wikipedia ↗
- Jest
- A JavaScript test tool. It runs the *.test.js files and shows what passes and what fails. Wikipedia ↗
- JSON
- A text format to exchange data: {"name": "Pommes", "price": "2.50"}. Wikipedia ↗
- JUnit report
- A standard XML file listing the tests and their result. GitLab reads it to show the Tests tab.
- Let's Encrypt
- An authority that issues free HTTPS certificates. Traefik requests and renews them on its own. Wikipedia ↗
- Lint
- Automatic check of code style and obvious errors, without running the code (ESLint, flake8). Wikipedia ↗
- Merge request
- A request on GitLab to merge one branch into another. Code is reviewed there and the pipeline result is shown.
- Migration
- A file describing a change to the database structure (create a table, add a column). Django applies them in order.
- Mock
- A fake version of a function used in tests. For example a fake fetch that answers without calling the real API. Wikipedia ↗
- Monorepo
- A single Git repository for several parts of the project (api/, web/, infra/). Wikipedia ↗
- Multi-stage build
- A Dockerfile with several stages. Only the last one is kept: the final image does not contain the build tools.
- Next.js
- A React framework handling pages, server-side rendering and the production build. Wikipedia ↗
- Non-root user
- The container runs as an unprivileged user. If the application is hacked, the attacker does not get administrator rights.
- ORM
- A layer that turns database tables into Python classes. You write Product.objects.all() instead of an SQL query. Wikipedia ↗
- Overlay network
- A Docker network that can connect Swarm and Compose containers. Here, the "trinity" network connects Traefik to the applications.
- Pipeline
- The sequence of automatic steps started on every push: lint, tests, build, deployment. Wikipedia ↗
- Playbook
- An Ansible file listing which roles to apply to which servers.
- PostgreSQL
- An open-source relational database, used in dev and prod. Wikipedia ↗
- React
- A JavaScript library to build interfaces from components. Wikipedia ↗
- Registry
- A store of Docker images. Here, the GitLab Container Registry: the pipeline pushes images to it, prod pulls them from it.
- REST API
- An application that answers HTTP requests with data (often JSON). Each resource has an address (e.g. /api/products/) and you act on it with GET, POST, PATCH, DELETE. Wikipedia ↗
- Reverse proxy
- A server placed in front of the applications. It receives every request and forwards it to the right container based on the domain name. Wikipedia ↗
- Rollback
- Automatic return to the previous version when an update fails.
- Secret
- A value that grants access: password, key, token. It must never be written in the Git repository.
- Server Action
- A Next.js function marked 'use server', called from a form but run on the server.
- Server-side rendering
- The HTML page is built on the server before being sent to the browser. The browser does not call the API itself.
- Smoke test
- A quick test after a deployment to check that the essentials answer, here the /health routes. Wikipedia ↗
- SQLite
- A database stored in a single file. Used for tests and locally, not in prod. Wikipedia ↗
- SSH
- A protocol to connect to a remote server over an encrypted channel, with a key rather than a password. Wikipedia ↗
- Stage
- A step of the pipeline (lint, test, build, deploy). Stages run in order, and jobs in the same stage run in parallel.
- Standalone build
- A Next.js build mode producing a self-contained folder with server.js and only the needed dependencies.
- Traefik
- The project's reverse proxy. It receives traffic on ports 80 and 443, handles HTTPS and sends each domain to the right container. Wikipedia ↗
- UFW
- Ubuntu's simple firewall. Here, only ports 22 (SSH), 80 and 443 are open. Wikipedia ↗
- Virtual machine
- A simulated computer rented from a provider (here Google Cloud). The project uses two: dev and prod. Wikipedia ↗
- WSGI
- The standard interface between a Python web server (Gunicorn) and an application (Django). Wikipedia ↗
- Zero downtime
- Update without interruption: the new version starts and answers before the old one is stopped.