Skip to content

Commit c459f9d

Browse files
committed
chore: bump to 2.0.0
1 parent ce70ccf commit c459f9d

File tree

4 files changed

+42
-39
lines changed

4 files changed

+42
-39
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [2.0.0] - 2025-11-06
11+
12+
### Added
13+
14+
- `from_cmd` variable type (for example, to get some passkeys via `curl` requests, etc.).
15+
- `desc` (description) field to `exists`, `exists_any` & `check_success` requirements to optionally describe steps for resolving them.
16+
- Independent variable setup for each pipelines (inside `depl edit project` UI -> any pipeline -> `Setup variables for the pipeline`).
17+
- `depl use` command to use content or templates from Deployer's storage.
18+
- `depl export/import registries` command (exports all actions and pipelines, and imports with merge).
19+
20+
### Changed
21+
22+
- Extended command-line options for `depl new content`, unified `edit`/`cat`/`rm` behavior.
23+
- Changed description output for `depl ls pipelines`.
24+
25+
### Fixed
26+
27+
- Custom storage path by `DEPLOYER_STORAGE_PATH` env variable wasn't applied by first.
28+
- Actions that used in a selected pipeline from the Registry are now synchronized with project config file.
29+
1030
## [2.0.0-beta-3] - 2025-10-21
1131

1232
### Changed
@@ -569,6 +589,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
569589
- Build support.
570590
- TUI.
571591

592+
[2.0.0]: https://github.com/impulse-sw/deployer/compare/2.0.0-beta-3...2.0.0
572593
[2.0.0-beta-3]: https://github.com/impulse-sw/deployer/compare/1.5.0-1...2.0.0-beta-3
573594
[1.5.0-1]: https://github.com/impulse-sw/deployer/compare/1.5.0...1.5.0-1
574595
[1.5.0]: https://github.com/impulse-sw/deployer/compare/1.4.4...1.5.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "deployer"
3-
version = "2.0.0-beta-8"
3+
version = "2.0.0"
44
edition = "2024"
55

66
[[bin]]

DOCS.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,28 @@ Typically, it runs in a separate folder to save the cache while keeping the code
1717
Deployer is primarily a CLI utility. You can see help for any Deployer command by specifying the `-h` option. Here are some examples of the most common commands:
1818

1919
```bash
20-
depl new action # create an Action and put in Registry
21-
depl new pipeline # create a Pipeline and put in Registry
20+
depl new action # create an action and put in Registry
21+
depl new pipeline # create a pipeline and put in Registry
22+
depl new content # add some content in Deployer's storage folder
2223
depl new remote # add new remote host to Registry
24+
25+
depl ls actions/pipelines/content/remote # list all entities from Registries
26+
depl cat action/pipeline/content/remote # display information about entiry from Registry
27+
depl rm action/pipeline/content/remote # remove entity from Registry
28+
2329
depl init # init project, fill all attributes
2430

31+
depl edit project # edit project
32+
depl edit . # (the same)
33+
2534
depl with # check compatibility and assign Pipeline to project,
2635
# also specify needed variables and artifacts
2736

37+
depl use # use some content from Deployer's storage
38+
2839
depl run # run default Pipeline
40+
depl # (the same)
41+
2942
depl run my-pipe # run specified `my-pipe` Pipeline
3043
depl run configure,build -o build-folder # run `configure` and `build` Pipelines in a `build-folder`
3144
depl run -R my-remote my-pipe # run `my-pipe` Pipeline on remote host `my-remote`
@@ -75,14 +88,17 @@ requirements:
7588
- /bin/upx
7689
- /usr/bin/upx
7790
- ~/.local/bin/upx
91+
desc: "This is optional description with information about UPX installation steps."
7892
# if this path exists, the requirement is considered satisfied
7993
- type: exists
8094
path: /usr/bin/mold
95+
desc: "Only optional"
8196
# if this check is passed, the requirement will be considered satisfied (for details, see below - action `Check`)
8297
- type: check_success
8398
command:
8499
cmd: /usr/bin/python -V
85100
success_when_found: "Python 3."
101+
desc: "Only optional"
86102
# if a given remote host exists in the Registry, is accessible, and its Deployer version is identical to the version of the running Deployer,
87103
# the requirement will be considered satisfied
88104
- type: remote_accessible_and_ready

TODO.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
1-
# `deployer`'s 2.0 TODO list
1+
# `deployer`'s TODO list
22

3-
- [~] TUI for editing containered (Docker/Podman), Ansible, GitHub CI/CD and GitLab CI/CD options for Pipelines
4-
- [x] Replace complete `RemoteHost` definitions from `ansible_opts` for their shortnames
5-
- [x] Add `depl cd` command to change current directory to one of run directories
6-
- [x] Make `depl export` command:
7-
1. [x] for exporting Pipelines to `bash` scripts
8-
2. [x] for exporting (and importing with merging) actions & Pipelines Registries
9-
3. [x] for exporting Pipelines to CI/CD (GitHub Actions & GitLab CI) configurations
10-
- [x] Add `--skip N` argument to skip N actions inside selected Pipelines, if you exactly know that they have no need to re-run after changes
11-
- [x] Add `--no-clear` argument to disable screen clear on `run`/`watch`
12-
- [x] Go to more declarative way to define project configuration (ver. 7 & Deployer v2.0)
13-
1. [x] Remove targets, programming languages and actions variability
14-
2. [x] Rename `Actions` & `Pipelines` to `actions` and `pipelines`
15-
3. [x] Split `configs.rs` to `project.rs` and `globals.rs`
16-
4. [x] Allow to both use and define actions in pipelines. Used actions should be defined inside project configuration
17-
5. [x] Fix all traits and TUI interface
18-
6. [x] Fix action setup:
19-
> Action setup depends on command definition of placeholders and replacements. I think I should remove replacements completely
20-
> and add `with` field to `UsedAction` as `BTreeMap<String, Variable>`, e.g. placeholder-variable pairs.
21-
- [x] Remove `artifacts` field completely (`artifacts_placements` is enough)
22-
- [x] Fix `depl watch` with no `artifacts` folder ignoring
23-
- [x] Remove automigrator with `MIGRATIONS.md` autoreference:
24-
1. [-] Add `depl migrate` command
25-
2. [x] Remove `configs` source
26-
3. [x] Refine `read` functions from `crate::rw` module
27-
4. [x] Add prompt on `crate::rw` to read `MIGRATIONS.md`
28-
- [-] Make `DEPLOYER_DRIVER` env variable support to define executor: bash on itself or Deployer implementation (default)
29-
- [x] Make `driver` pipeline option support to define executor: bash on itself or Deployer implementation (default):
30-
1. [x] For Pipelines
31-
2. [x] For containered builds & runs
32-
3. [x] For Ansible runs
33-
- [x] Fix issue which causes not to adding actions definitions when using a pipeline from the registry, to the project config
34-
- [x] Add `info` field to requirements to inform users about commands or links to install them
35-
- [x] Unify `edit`, `cat` & `rm` commands behavior
36-
- [x] Add possibility to setup variables inside each pipeline independently
37-
- [x] Add `use` command to synchronize content (with `subfolder` argument)
3+
- [~] TUI for editing containered (Docker/Podman), Ansible, GitHub CI/CD and GitLab CI/CD options for pipelines

0 commit comments

Comments
 (0)