dependency declaration
Listing every dependency an app needs, with exact versions, in a manifest, and isolating the app so nothing else leaks in at run time.
In more detail
Factor II of the twelve-factor app requires both halves: declaration alone or isolation alone is not enough. System tools the app calls out to count as dependencies too. A container image gives isolation, but if the manifest has no versions the build is still unrepeatable.
Example
requirements.txt # the manifest the audit looks for in the good variantRelated terms
- dependency — Anything a program needs in order to work, such as a library, a tool or another service.
- pinning — Fixing an exact version or digest of something you depend on so it cannot change without you noticing.
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
- works on my machine — The classic complaint when software runs for one developer but fails elsewhere because of hidden differences between machines.
Taught in
- Codebase And Dependencies — DevOps & Site Reliability Engineering
- Admin Processes And The Open Source Update — DevOps & Site Reliability Engineering