From 67008c47cf9d5a2c49d444074073d1f226aa7da5 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:39:01 +0300 Subject: [PATCH 1/2] Mention named volumes (#5130) --- docs/docs/20-usage/70-volumes.md | 2 ++ docs/versioned_docs/version-3.5/20-usage/70-volumes.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/docs/20-usage/70-volumes.md b/docs/docs/20-usage/70-volumes.md index 6897053fb..cc9ba7d6b 100644 --- a/docs/docs/20-usage/70-volumes.md +++ b/docs/docs/20-usage/70-volumes.md @@ -19,6 +19,8 @@ Volumes are only available to trusted repositories and for security reasons shou + - /var/run/docker.sock:/var/run/docker.sock ``` +If you use the Docker backend, you can also use named volumes like `some_volume_name:/var/run/volume`. + Please note that Woodpecker mounts volumes on the host machine. This means you must use absolute paths when you configure volumes. Attempting to use relative paths will result in an error. ```diff diff --git a/docs/versioned_docs/version-3.5/20-usage/70-volumes.md b/docs/versioned_docs/version-3.5/20-usage/70-volumes.md index 6897053fb..cc9ba7d6b 100644 --- a/docs/versioned_docs/version-3.5/20-usage/70-volumes.md +++ b/docs/versioned_docs/version-3.5/20-usage/70-volumes.md @@ -19,6 +19,8 @@ Volumes are only available to trusted repositories and for security reasons shou + - /var/run/docker.sock:/var/run/docker.sock ``` +If you use the Docker backend, you can also use named volumes like `some_volume_name:/var/run/volume`. + Please note that Woodpecker mounts volumes on the host machine. This means you must use absolute paths when you configure volumes. Attempting to use relative paths will result in an error. ```diff From a6e69235ea5ccc35a2859f658e6cf48a41ea1a44 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:39:08 +0300 Subject: [PATCH 2/2] Explain tasks (#5129) --- docs/docs/20-usage/15-terminology/index.md | 1 + docs/versioned_docs/version-3.5/20-usage/15-terminology/index.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/docs/20-usage/15-terminology/index.md b/docs/docs/20-usage/15-terminology/index.md index e64d4565f..310567f1a 100644 --- a/docs/docs/20-usage/15-terminology/index.md +++ b/docs/docs/20-usage/15-terminology/index.md @@ -24,6 +24,7 @@ - **Dependency**: [Workflows][Workflow] can depend on each other, and if possible, they are executed in parallel. - **Status**: Status refers to the outcome of a step or [workflow][Workflow] after it has been executed, determined by the internal command exit code. At the end of a [workflow][Workflow], its status is sent to the [forge][Forge]. - **Service extension**: Some parts of Woodpecker internal services like secrets storage or config fetcher can be replaced through service extensions. +- **Task**: A task is a [workflow][Workflow] that's currently waiting for its execution in the task queue. ## Woodpecker architecture diff --git a/docs/versioned_docs/version-3.5/20-usage/15-terminology/index.md b/docs/versioned_docs/version-3.5/20-usage/15-terminology/index.md index e64d4565f..310567f1a 100644 --- a/docs/versioned_docs/version-3.5/20-usage/15-terminology/index.md +++ b/docs/versioned_docs/version-3.5/20-usage/15-terminology/index.md @@ -24,6 +24,7 @@ - **Dependency**: [Workflows][Workflow] can depend on each other, and if possible, they are executed in parallel. - **Status**: Status refers to the outcome of a step or [workflow][Workflow] after it has been executed, determined by the internal command exit code. At the end of a [workflow][Workflow], its status is sent to the [forge][Forge]. - **Service extension**: Some parts of Woodpecker internal services like secrets storage or config fetcher can be replaced through service extensions. +- **Task**: A task is a [workflow][Workflow] that's currently waiting for its execution in the task queue. ## Woodpecker architecture