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
Deployer has support for a high-end terminal-based customizer, allowing you to forget about manually writing Actions and Pipelines for your projects. Just try to create an Action or Pipeline and Deployer will ask you about everything.
38
+
Deployer has support for a high-end terminal-based customizer, allowing you to forget about manually writing actions and Pipelines for your projects. Just try to create an action or Pipeline and Deployer will ask you about everything.
39
39
40
40
### Logs
41
41
@@ -47,7 +47,7 @@ In the Deployer build caches folder, there is a `logs` folder that contains proj
47
47
48
48
Action is the main entity of Deployer. Actions as part of pipelines are used to build, install, and deploy processes. However, an action itself cannot be assigned to a project, that's what pipelines are for (see below).
49
49
50
-
In the Deployer's Action Registry or project's actions list, an action looks like a construction:
50
+
In the Deployer's action Registry or project's actions list, an action looks like a construction:
51
51
52
52
```yaml
53
53
info: upx@0.1.0
@@ -78,7 +78,7 @@ requirements:
78
78
# if this path exists, the requirement is considered satisfied
79
79
- type: exists
80
80
path: /usr/bin/mold
81
-
# if this check is passed, the requirement will be considered satisfied (for details, see below - Action`Check`)
81
+
# if this check is passed, the requirement will be considered satisfied (for details, see below - action`Check`)
82
82
- type: check_success
83
83
command:
84
84
cmd: /usr/bin/python -V
@@ -99,7 +99,7 @@ There are 7 action categories:
99
99
6. Actions of synchronization build folders - from current to remote host `sync_to_remote` and vice versa `sync_from_remote`
100
100
7. `interrupt` (when a user needs to perform some actions by hand before continue a pipeline)
101
101
102
-
The concept of a custom command, a command for the terminal shell, is fundamental. The `custom`, `observe`, and the three main categories of Actions contain one or more custom commands inside.
102
+
The concept of a custom command, a command for the terminal shell, is fundamental. The `custom`, `observe`, and the three main categories of actions contain one or more custom commands inside.
103
103
104
104
#### 1.1. Custom command
105
105
@@ -268,7 +268,7 @@ When a patch is applied, Deployer displays the number of times it has been appli
268
268
269
269
#### 1.4. Actions of synchronization run folders - from current to remote host `sync_to_remote` and vice versa `sync_from_remote`
270
270
271
-
Sometimes you need to synchronize build files between remote hosts and the current host. For example, when some actions must be performed on one host, and some on another. To do this, you can use the built-in Actions `sync_to_remote` and `sync_from_remote`.
271
+
Sometimes you need to synchronize build files between remote hosts and the current host. For example, when some actions must be performed on one host, and some on another. To do this, you can use the built-in actions `sync_to_remote` and `sync_from_remote`.
272
272
273
273
#### 1.5. Other actions - `interrupt`, `observe` and `test`
274
274
@@ -344,9 +344,9 @@ Building and execution occur as follows:
344
344
5. Deployer on the host machine runs Deployer in the container and performs complete pipeline execution.
345
345
346
346
> [!NOTE]
347
-
> When building in containers, Deployer does not support Actions `interrupt`, `observe`, `add_to_storage` and `use_from_storage`, and when running - Actions `add_to_storage` and `use_from_storage`.
347
+
> When building in containers, Deployer does not support actions `interrupt`, `observe`, `add_to_storage` and `use_from_storage`, and when running - actions `add_to_storage` and `use_from_storage`.
348
348
>
349
-
> To solve problems of synchronizing files or performing I/O operations, you can use a pipeline with containerized build options inside another pipeline, which can then use the Actions you need.
349
+
> To solve problems of synchronizing files or performing I/O operations, you can use a pipeline with containerized build options inside another pipeline, which can then use the actions you need.
350
350
351
351
> [!NOTE]
352
352
> To prevent building Deployer before your project, switch to `shell` pipeline driver.
Copy file name to clipboardExpand all lines: MIGRATIONS.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Migrations will be applied automatically.
20
20
21
21
## From `1.4.1` to `1.4.2`
22
22
23
-
1. Manually check all your `add_to_storage`Actions (`AutoVersionExtractFromRule`): them now look like this:
23
+
1. Manually check all your `add_to_storage`actions (`AutoVersionExtractFromRule`): them now look like this:
24
24
25
25
```json
26
26
[
@@ -57,10 +57,10 @@ Formally, you should now specify `type` field of `auto_version_rule` object.
57
57
58
58
Migrations will be almost fully applied automatically on configuration save. Deployer will be able to work with old configuration formats (`"version": 2`).
59
59
60
-
1. All Actions will be typed internally with `type` field and `snake_case` (example: `{ "type": "build", ... }`).
60
+
1. All actions will be typed internally with `type` field and `snake_case` (example: `{ "type": "build", ... }`).
61
61
2.`deploy-config.json` and `deploy-global.json` will be upgraded to `"version": 3`.
62
62
3. Variables, requirements, placements and other structs are changed, see the documentation.
63
-
4. Check Action will become Test, original Test will be migrated into PostBuild.
63
+
4. Check action will become Test, original Test will be migrated into PostBuild.
64
64
65
65
### Need manual changes:
66
66
@@ -74,5 +74,5 @@ Migrations will be almost fully applied automatically on configuration save. Dep
74
74
## From `<=1.2.1` to `1.3.0`
75
75
76
76
1. Edit `deploy-config.json` and rename `inplace_artifacts_into_project_root` to `place_artifacts_into_project_root`.
77
-
2. Remove `tags` field inside your deploy-like and `Observe`Actions.
77
+
2. Remove `tags` field inside your deploy-like and `Observe`actions.
78
78
3.`deploy-config.json` and `deploy-global.json` will be upgraded to `"version": 2`.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ actions:
96
96
used: upx@0.1.0
97
97
```
98
98
99
-
Note that you can change the inner content of Actions inside Pipelines, and also can change the inner content of Pipelines and their Actions if these Pipelines assigned to your project. The changes will not affect Actions and Pipelines from Deployer's Registries.
99
+
Note that you can change the inner content of actions inside Pipelines, and also can change the inner content of Pipelines and their actions if these Pipelines assigned to your project. The changes will not affect actions and Pipelines from Deployer's Registries.
100
100
101
101
You can view your actions and pipelines and get it in YAML by simple commands:
102
102
@@ -108,7 +108,7 @@ depl cat action upx@0.1.0
108
108
depl cat pipeline pack@0.1.0
109
109
```
110
110
111
-
And, of course, load Actions and Pipelines from YAML files by:
111
+
And, of course, load actions and Pipelines from YAML files by:
112
112
113
113
```bash
114
114
depl new action -f {your config}
@@ -122,7 +122,7 @@ depl init
122
122
depl edit .
123
123
```
124
124
125
-
You should add some actions and specify project variables that you'll use. For our example, add simple variable with `target/release/my-app` value. Also add `cargo-release@0.1.0` and `upx@0.1.0` actions from Actions Registry. And not forget to add `Cargo.lock` file and `target` folder to cache files to prevent syncing project folder cache with run folder cache (without specifying this; see `depl run --help` for more).
125
+
You should add some actions and specify project variables that you'll use. For our example, add simple variable with `target/release/my-app` value. Also add `cargo-release@0.1.0` and `upx@0.1.0` actions from actions Registry. And not forget to add `Cargo.lock` file and `target` folder to cache files to prevent syncing project folder cache with run folder cache (without specifying this; see `depl run --help` for more).
126
126
127
127
After all you will get this `.depl/config.yaml`:
128
128
@@ -199,7 +199,7 @@ depl run -fc
199
199
# or explicitly specify the project pipeline's short name - `build-and-compress`
200
200
depl run pack
201
201
202
-
# create pipeline with `Observe` Action and start development server with auto-rebuild
202
+
# create pipeline with `Observe` action and start development server with auto-rebuild
0 commit comments