Skip to content

Commit c4064a9

Browse files
authored
Don't use not supported --inventory flag for builds (#333)
Signed-off-by: Anton Kremenetsky <anton.kremenetsky@gmail.com>
1 parent ceb3720 commit c4064a9

5 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
VERSION="$(exordos get-version .)"
3030
3131
# Build Exordos Core
32-
exordos build $(pwd) --inventory
32+
exordos build $(pwd)
3333
3434
# Decode and write the push configuration
3535
echo "$PUSH_CFG" | base64 -d > exordos/exordos.push.yaml

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ help:
1111
@echo "bootstrap - bootstrap exordos core"
1212

1313
build_core:
14-
exordos build -i $(SSH_KEY) -f . --inventory --manifest-var repository=https://repository.genesis-core.tech
14+
exordos build -i $(SSH_KEY) -f --manifest-var repository=https://repository.genesis-core.tech
1515

1616
bootstrap:
1717
exordos bootstrap -i output/inventory.json -f -m core --admin-password admin --cidr 10.20.0.0/22

docs/app-developer-guide/build.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Key options:
3232
| `--deps-dir TEXT` | Directory where dependencies are fetched |
3333
| `-i, --developer-key-path TEXT` | Path to developer's public key. The key is embedded into the built images for signing and authentication |
3434
| `-f, --force` | Rebuild even if output already exists |
35-
| `--inventory` | Build using the inventory format |
3635

3736
---
3837

@@ -88,12 +87,12 @@ Pass additional variables to manifest templates:
8887
exordos build --manifest-var commit_hash=$(git rev-parse --short HEAD) .
8988
```
9089

91-
### Inventory Build
90+
### Build only images
9291

93-
For advanced deployments, build using the inventory format:
92+
Build only images, skip manifests and other artifacts:
9493

9594
```bash
96-
exordos build --inventory .
95+
exordos build --only-images
9796
```
9897

9998
---
@@ -229,7 +228,7 @@ exordos build --manifest-var environment=production --manifest-var region=europe
229228

230229
### Output Artifacts
231230

232-
After a successful build with `--inventory`, the following artifacts are created in the `--output-dir` (default: project `output/`):
231+
After a successful build the following artifacts are created in the `--output-dir` (default: project `output/`):
233232

234233
```text
235234
output/

docs/app-developer-guide/build.ru.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ exordos build [OPTIONS] PROJECT_DIR
3232
| `--deps-dir TEXT` | Директория, куда загружаются зависимости |
3333
| `-i, --developer-key-path TEXT` | Путь к публичному ключу разработчика. Ключ встраивается в собранные образы для подписи и аутентификации |
3434
| `-f, --force` | Пересобрать, даже если результат уже существует |
35-
| `--inventory` | Собрать в формате inventory |
3635

3736
---
3837

@@ -88,12 +87,12 @@ exordos build --force .
8887
exordos build --manifest-var commit_hash=$(git rev-parse --short HEAD) .
8988
```
9089

91-
### Сборка inventory
90+
### Сборка только образов
9291

93-
Для продвинутых развёртываний, соберите в формате inventory:
92+
Соберите только образы, пропустив манифесты и другие артефакты:
9493

9594
```bash
96-
exordos build --inventory .
95+
exordos build --only-images .
9796
```
9897

9998
---
@@ -229,7 +228,7 @@ exordos build --manifest-var environment=production --manifest-var region=europe
229228

230229
### Выходные артефакты
231230

232-
После успешной сборки с `--inventory` в `--output-dir` (по умолчанию: `output/` проекта) создаются следующие артефакты:
231+
После успешной сборки в `--output-dir` (по умолчанию: `output/` проекта) создаются следующие артефакты:
233232

234233
```text
235234
output/

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ usedevelop=true
8181

8282
[testenv:build]
8383
runner = uv-venv-lock-runner
84-
commands = exordos build -i /home/user/.ssh/id_rsa.pub -f . --inventory --manifest-var repository=https://repository.genesis-core.tech
84+
commands = exordos build -i /home/user/.ssh/id_rsa.pub -f --manifest-var repository=https://repository.genesis-core.tech
8585

8686
[testenv:bootstrap]
8787
runner = uv-venv-lock-runner

0 commit comments

Comments
 (0)