Skip to content

Commit

Permalink
fix: standardize environment variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jan 17, 2025
1 parent 5e635d5 commit 599f044
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion salt/mirage-builder/configure.sls
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ include:
cmd.run:
- require:
- git: "{{ slsdotpath }}-git-clone"
- name: GNUPGHOME="$HOME/.gnupg/mirage-firewall" git -c gpg.program=gpg2 verify-commit {{ mirage_firewall_tag }}
- env:
- GNUPGHOME: "/home/user/.gnupg/mirage-firewall"
- name: git -c gpg.program=gpg2 verify-commit {{ mirage_firewall_tag }}
- cwd: /home/user/src/qubes-mirage-firewall
- runas: user

Expand Down
4 changes: 3 additions & 1 deletion salt/qubes-builder/configure.sls
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ include:
- require:
- git: "{{ slsdotpath }}-git-clone-builderv2"
- cmd: "{{ slsdotpath }}-import-ownertrust"
- name: GNUPGHOME="$HOME/.gnupg/qubes-builder" git -c gpg.program=gpg2 verify-tag "$(git describe --tags --abbrev=0)"
- env:
- GNUPGHOME: "/home/user/.gnupg/qubes-builder"
- name: git -c gpg.program=gpg2 verify-commit HEAD
- cwd: /home/user/src/qubes-builderv2
- runas: user

Expand Down
4 changes: 3 additions & 1 deletion salt/sys-pihole/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ include:
cmd.run:
- require:
- git: "{{ slsdotpath }}-git-clone"
- name: GNUPGHOME="$HOME/.gnupg/pihole" git verify-commit {{ pihole_tag }}
- env:
- GNUPGHOME: "/home/user/.gnupg/pihole"
- name: git -c gpg.program=gpg2 verify-commit {{ pihole_tag }}
- cwd: /root/pi-hole
- runas: root

Expand Down

0 comments on commit 599f044

Please sign in to comment.