fix(just): adapt to decisions made during gui implementation

This commit is contained in:
Stephan Lüscher 2024-05-10 20:20:35 +00:00
parent 4df5d1667e
commit 79ede2d431
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
2 changed files with 8 additions and 9 deletions

View file

@ -22,8 +22,11 @@ just -f forge.just {{ recipe_name }} {{ forge_config_var_file }}
**_Example:_**
The path to the [configuration](./index.md#configuration) data directory is pre set. So you just
have to specify the configuration yaml.
```sh
just -f forge.just forge_project-clone ~/ublue-os_forge/my-forge-project.env
just -f forge.just forge_project-build bluefin.yml
```
In case you don't have [just command runner](https://github.com/casey/just) available.

View file

@ -1,13 +1,9 @@
# ublue-os forge just configuration
## default
default := "'${HOME}'/ublue-os_forge/forge_default_vars.env"
## recipes
forge_project-clone forge_config_var_file=default:
podman exec --env-file '{{forge_config_var_file}}' ublue-os_forge-anvil-ansible.ublue.local ansible-playbook playbooks/project_clone.yml
forge_project-clone forge_config_var_file:
podman exec ublue-os_forge-anvil-ansible.ublue.local ansible-playbook ansible/playbooks/project_clone.yml --extra-vars "@/data/{{forge_config_var_file}}"
forge_project-build forge_config_var_file=default:
podman exec --env-file '{{forge_config_var_file}}' ublue-os_forge-anvil-ansible.ublue.local ansible-playbook playbooks/project_build.yml
forge_project-build forge_config_var_file:
podman exec ublue-os_forge-anvil-ansible.ublue.local ansible-playbook ansible/playbooks/project_build.yml --extra-vars "@/data/{{forge_config_var_file}}"