You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11,6 +13,179 @@ Pipelines allow you to fully customize the execution logic in DevSpace, i.e. the
11
13
12
14
Pipelines are defined in POSIX shell syntax and a DevSpace pipeline reads as a regular POSIX script. However, DevSpace implements certain special commands that can be used inside the POSIX script to tell DevSpace when to build, deploy or start developing. For a complete function reference, please take a look below.
@@ -53,7 +228,7 @@ Write all pipeline scrips in `bash` fashion. DevSpace is using a library to make
53
228
54
229
55
230
## Default Pipelines
56
-
DevSpace provides default pipeline scripts for the following top-level commands:
231
+
Internally DevSpace uses pipelines for the following commands that can be overriden according to your preferences. DevSpace provides default pipeline scripts for the following top-level commands:
Copy file name to clipboardExpand all lines: docs/pages/configuration/variables.mdx
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,15 +164,19 @@ A common use case for the `.env` file is to set default flags for the `devspace`
164
164
- `DEVSPACE_[COMMAND]_FLAGS`to add default flags for single commands (e.g. `DEVSPACE_DEV_FLAGS=-s --verbose-dependencies`)
165
165
166
166
```bash title="File: .env"
167
-
DEVSPACE_FLAGS=-s -p dev
167
+
DEVSPACE_FLAGS=-s -n default-namespace
168
168
DEVSPACE_DEV_FLAGS=-s --verbose-dependencies
169
169
```
170
170
171
171
:::note Overwrite Default Flags
172
172
Specifying flags for a command will overwrite the default flags, e.g. if `DEVSPACE_FLAGS=-s -p dev` is configured and you run `devspace dev -p production`, the following command would be executed: `devspace dev -s -p production`
173
173
:::
174
174
175
-
175
+
You can also use these default flags without a specialized `.env` file in a regular `devspace.yaml`:
0 commit comments