Skip to content

Commit

Permalink
Merge pull request #40 from ublue-os/tepene/adapt-just-to-gui-setup
Browse files Browse the repository at this point in the history
fix(just): adapt to decisions made during gui implementation
  • Loading branch information
tepene authored May 10, 2024
2 parents 4df5d16 + 79ede2d commit b27332d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion docs/just.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 4 additions & 8 deletions forge.just
Original file line number Diff line number Diff line change
@@ -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}}"

0 comments on commit b27332d

Please sign in to comment.