Skip to content

Commit 6ddb964

Browse files
committed
Merge branch 'unstable' into stable
2 parents e115860 + c4e1043 commit 6ddb964

28 files changed

+290
-346
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ 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+
## [1.4.4] - 2025-03-28
11+
12+
### Added
13+
14+
- Additional containered options such as `run_detached`, `port_bindings` and `allow_internal_host_bind`.
15+
16+
### Changed
17+
18+
- Bumped `serde_yaml` to implement prettifier.
19+
- Made `ignore_fails`, `show_success_output` and `show_bash_c` fields optional.
20+
- Exposed SSH and HashiCorp Vault support to features.
21+
22+
### Fixed
23+
24+
- Golang cache files.
25+
- `i18n-ru` (`ADD_CMD`).
26+
27+
### Removed
28+
29+
- `description` field inside Actions.
30+
1031
## [1.4.3] - 2025-03-08
1132

1233
### Added
@@ -487,6 +508,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
487508
- Build support.
488509
- TUI.
489510

511+
[1.4.4]: https://github.com/impulse-sw/deployer/compare/1.4.3...1.4.4
490512
[1.4.3]: https://github.com/impulse-sw/deployer/compare/1.4.2...1.4.3
491513
[1.4.2]: https://github.com/impulse-sw/deployer/compare/1.4.1...1.4.2
492514
[1.4.1]: https://github.com/impulse-sw/deployer/compare/1.4.0-beta-7...1.4.1

Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "deployer"
3-
version = "1.4.3"
3+
version = "1.4.4"
44
edition = "2024"
55

66
[dependencies]
@@ -17,20 +17,19 @@ indicatif = "0.17"
1717
inquire = { optional = true, git = "https://github.com/markcda/inquire.git", branch = "feat/reorder-values", features = ["reorder"] }
1818
mimalloc = "0.1.43"
1919
nix = { optional = true, version = "0.29", features = ["signal", "user"] }
20-
pretty_yaml = "0.5"
2120
regex = "1.11"
22-
russh = "0.49"
21+
russh = { optional = true, version = "0.49" }
2322
safe-path = "0.1"
2423
serde = { version = "1.0", features = ["derive"] }
2524
serde_json = "1.0"
26-
serde_yaml = { git = "https://github.com/markcda/serde-yaml.git", tag = "0.9.35-3" }
25+
serde_yaml = { git = "https://github.com/markcda/serde-yaml.git", tag = "0.9.36" }
2726
smart-patcher = { git = "https://github.com/impulse-sw/smart-patcher", tag = "0.2.1", default-features = false }
2827
strip-ansi-escapes = "0.2"
2928
termimad = "0.20"
30-
tokio = { version = "1.0", features = ["rt-multi-thread", "io-std"] }
29+
tokio = { optional = true, version = "1.0", features = ["rt-multi-thread", "io-std"] }
3130
toml = "0.8"
3231
uuid = { version = "1.11", features = ["v4", "fast-rng"] }
33-
vaultrs = "0.7"
32+
vaultrs = { optional = true, version = "0.7" }
3433

3534
[features]
3635
default = ["lua", "rhai", "tui", "containered"]
@@ -41,3 +40,5 @@ lua = ["smart-patcher/lua"]
4140
rhai = ["smart-patcher/rhai"]
4241
tui = ["dep:inquire"]
4342
containered = ["dep:nix"]
43+
hc-vault = ["dep:vaultrs", "dep:tokio"]
44+
ssh-remotes = ["dep:russh", "dep:tokio"]

DOCS.en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,9 @@ The only difference is adding the `containered_opts` field, which automatically
870870
- `preflight_cmds` - list of commands for proper environment setup
871871
- `build_deployer_base_image`, `preflight_deployer_build_deps` and `deployer_build_cmds` - base image, setup commands, and commands for building Deployer itself
872872
- `cache_strategies` - caching strategies during build
873+
- `run_detached` - run the Deployer Pipeline in detached mode
874+
- `port_bindings` (`[{ "from": 8080, "to": 80 }]`) - add port bindings to allow containered runs to communicate with exposed environment
875+
- `allow_internal_host_bind` - allow usage of `host.docker.internal`
873876
- `use_containerd_local_storage_cache` - when building in Docker with enabled `containerd` feature in `/etc/docker/daemon.json`, allows saving image cache in the Pipeline execution folder, which simplifies cache cleanup
874877
- `prevent_metadata_loading` - prevents reconnecting to registries and searching for a new image when an old one is available (allows building and running Pipelines in containers without Internet access)
875878
- `executor` - allows specifying the build and run executor (default is Docker, specify `podman` to use Podman)

DOCS.ru.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,9 @@ deployer new content
870870
- `preflight_cmds` - список команд для правильной установки окружения
871871
- `build_deployer_base_image`, `preflight_deployer_build_deps` и `deployer_build_cmds` - базовый образ, команды для настройки и команды для сборки самого Деплойера
872872
- `cache_strategies` - стратегии кэширования при сборке
873+
- `run_detached` - запустить Пайплайн Деплойера в фоновом режиме
874+
- `port_bindings` (`[{ "from": 8080, "to": 80 }]`) - добавить биндинги портов, чтобы разрешить коммуникацию контейнерных запусков с окружением
875+
- `allow_internal_host_bind` - разрешить использование `host.docker.internal`
873876
- `use_containerd_local_storage_cache` - при сборке в Docker и включенной фиче `containerd` в `/etc/docker/daemon.json` позволяет сохранять кэш образов в папке выполнения Пайплайна, что упрощает очистку кэша
874877
- `prevent_metadata_loading` - предотвращает повторное подключение к регистрам и поиск нового образа, когда доступен старый (позволяет осуществлять сборку и запуск Пайплайнов в контейнерах без доступа к Интернету)
875878
- `executor` - позволяет указать исполнителя сборки и запуска (по умолчанию - Docker, для использования Podman укажите `podman`)

0 commit comments

Comments
 (0)