dist directory
The conventional folder, short for distribution, where a build puts the finished files that will be shipped.
In more detail
Build scripts typically clear it first so a stale file from an earlier build cannot sneak into the package. Its contents are what gets archived, uploaded or published.
Examples
rm -rf dist && mkdir -p dist && cp app/main.py dist/main.pyrm -rf dist && mkdir -p distRelated terms
- artifact — A file produced by a build, such as a compiled program or an image, that is stored and passed on to later steps.
- tar — The command that bundles a directory tree into a single archive file, lists one, or unpacks one.
- upload-artifact action — The official action that uploads files from a job to artifact storage under a name, so later jobs or people can download them.
Taught in
- What Is a Pipeline? — Continuous Integration & Continuous Delivery Pipelines
- Runners: Where Code Executes — Continuous Integration & Continuous Delivery Pipelines
- Passing Data Between Jobs: Artifacts — Continuous Integration & Continuous Delivery Pipelines
- Continuous Integration, Delivery And Deployment: One Keyword Apart — GitLab Certified CI/CD Associate Exam Prep
- Anatomy Of .gitlab-ci.yml, And Three Ways To Check It — GitLab Certified CI/CD Associate Exam Prep
- Artifacts: Which Files Reach Which Jobs — GitLab Certified CI/CD Associate Exam Prep
- Package Registries: Publishing With The Job Token — GitLab Certified CI/CD Associate Exam Prep
- Pipeline Clinic: Five Tickets, Five Fixes — GitLab Certified CI/CD Associate Exam Prep
- Final Mock And Review: One Question Short — GitLab Certified CI/CD Associate Exam Prep