Skip to content

Commit 0c385b9

Browse files
authored
Merge pull request #2257 from FabianKramm/main
fix: allow single file syncing
2 parents f68a255 + 90d97cb commit 0c385b9

File tree

426 files changed

+1123
-504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

426 files changed

+1123
-504
lines changed

devspace-schema.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"properties": {
111111
"name": {
112112
"type": "string",
113-
"description": "Name is the name of the helm chart to deploy. Can also be a local path",
113+
"description": "Name is the name of the helm chart to deploy. Can also be a local path or an oci url",
114114
"group": "repo",
115115
"group_name": "Source: Helm Repository"
116116
},
@@ -126,12 +126,12 @@
126126
},
127127
"username": {
128128
"type": "string",
129-
"description": "Username is the username to authenticate to the chart repo",
129+
"description": "Username is the username to authenticate to the chart repo. When using an OCI chart, used for registry auth",
130130
"group": "repo"
131131
},
132132
"password": {
133133
"type": "string",
134-
"description": "Password is the password to authenticate to the chart repo",
134+
"description": "Password is the password to authenticate to the chart repo, When using an OCI chart, used for registry auth",
135135
"group": "repo"
136136
},
137137
"path": {
@@ -1577,7 +1577,7 @@
15771577
},
15781578
"useInclude": {
15791579
"type": "boolean",
1580-
"description": "UseInclude tells DevSpace to use a different file for ssh config"
1580+
"description": "UseInclude tells DevSpace to use a the file ~/.ssh/devspace_config for its ssh entries. DevSpace\nwill also create an import for its own entries inside ~/.ssh/config, this is a cleaner way,\nbut unfortunately not all SSH clients support this."
15811581
}
15821582
},
15831583
"type": "object"
@@ -1695,6 +1695,10 @@
16951695
"type": "boolean",
16961696
"description": "NoWatch will terminate the sync after the initial sync is done"
16971697
},
1698+
"file": {
1699+
"type": "boolean",
1700+
"description": "File signals DevSpace that this is a single file that should get synced instead of a whole directory"
1701+
},
16981702
"printLogs": {
16991703
"type": "boolean",
17001704
"description": "PrintLogs defines if sync logs should be displayed on the terminal"

docs/pages/configuration/_partials/v2beta1/commands.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import PartialCommandsreference from "./commands_reference.mdx"
77

88
## `commands` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">&lt;command_name&gt;:object</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands}
99

10-
Commands are custom commands that can be executed via 'devspace run COMMAND'. These commands are run within a pseudo bash that also allows executing special commands such as run_watch or is_equal.
10+
Commands are custom commands that can be executed via 'devspace run COMMAND'. These commands are run within a pseudo bash
11+
that also allows executing special commands such as run_watch or is_equal.
1112

1213
</summary>
1314

@@ -17,7 +18,7 @@ Commands are custom commands that can be executed via 'devspace run COMMAND'. Th
1718

1819
## `<command_name>` <span className="config-field-required" data-required="true">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands-name}
1920

20-
Name is the name of a command that is used via 'devspace run NAME'.
21+
Name is the name of a command that is used via `devspace run NAME`
2122

2223
</summary>
2324

docs/pages/configuration/_partials/v2beta1/commands/after.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
### `after` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands-after}
66

7-
After is executed after the command was run. It is executed also when the command was interrupted which will set the env variable COMMAND_INTERRUPT to true as well as when the command errored which will set the error string to COMMAND_ERROR.
7+
After is executed after the command was run. It is executed also when
8+
the command was interrupted which will set the env variable COMMAND_INTERRUPT
9+
to true as well as when the command errored which will set the error string to
10+
COMMAND_ERROR.
811

912
</summary>
1013

docs/pages/configuration/_partials/v2beta1/commands/appendArgs.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
### `appendArgs` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">false</span> <span className="config-field-enum"></span> {#commands-appendArgs}
66

7-
AppendArgs will append arguments passed to the DevSpace command automatically to the specified command.
7+
AppendArgs will append arguments passed to the DevSpace command automatically to
8+
the specified command.
89

910
</summary>
1011

docs/pages/configuration/_partials/v2beta1/commands/args.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
### `args` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string[]</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands-args}
66

7-
Args are optional and if defined, command is not executed within a shell and rather directly.
7+
Args are optional and if defined, command is not executed within a shell
8+
and rather directly.
89

910
</summary>
1011

docs/pages/configuration/_partials/v2beta1/commands/command.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### `command` <span className="config-field-required" data-required="true">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands-command}
66

7-
Command is the command that should be executed. For example: 'echo 123'.
7+
Command is the command that should be executed. For example: 'echo 123'
88

99
</summary>
1010

docs/pages/configuration/_partials/v2beta1/commands/description.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### `description` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands-description}
66

7-
Description describes what the command is doing and can be seen in 'devspace list commands'.
7+
Description describes what the command is doing and can be seen in `devspace list commands`
88

99
</summary>
1010

docs/pages/configuration/_partials/v2beta1/commands/internal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### `internal` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">false</span> <span className="config-field-enum"></span> {#commands-internal}
66

7-
Internal commands are not show in list and are usable through run_command.
7+
Internal commands are not show in list and are usable through run_command
88

99
</summary>
1010

docs/pages/configuration/_partials/v2beta1/commands/section.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### `section` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#commands-section}
66

7-
Section can be used to group similar commands together in 'devspace list commands'.
7+
Section can be used to group similar commands together in `devspace list commands`
88

99
</summary>
1010

docs/pages/configuration/_partials/v2beta1/dependencies.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ import PartialDependenciesreference from "./dependencies_reference.mdx"
77

88
## `dependencies` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">&lt;dependency_name&gt;:object</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#dependencies}
99

10-
Dependencies are sub devspace projects that lie in a local folder or remote git repository that can be executed from within the pipeline.
10+
Dependencies are sub devspace projects that lie in a local folder or remote git repository that can be executed
11+
from within the pipeline. In contrast to imports, these projects pose as separate fully functional DevSpace projects
12+
that typically lie including source code in a different folder and can be used to compose a full microservice
13+
application that will be deployed by DevSpace. Each dependency name can only be used once and if you want to use
14+
the same project multiple times, make sure to use a different name for each of those instances.
1115

1216
</summary>
1317

@@ -17,7 +21,7 @@ Dependencies are sub devspace projects that lie in a local folder or remote git
1721

1822
## `<dependency_name>` <span className="config-field-required" data-required="true">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#dependencies-name}
1923

20-
Name is used internally.
24+
Name is used internally
2125

2226
</summary>
2327

0 commit comments

Comments
 (0)