fix(yaskfile): lower case .taskfiles dirs (#1610)
This commit is contained in:
1 parent
182a403153
commit
b7273c2aaf
9 files changed
+20
-20
No files matched your search
@@ -40,7 +40,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
id: cache-homebrew-packages
|
||||
with:
|
||||
key: homebrew-${{ runner.os }}-${{ steps.setup-homebrew.outputs.gems-hash }}-${{ hashFiles('.taskfiles/Workstation/Brewfile') }}
|
||||
key: homebrew-${{ runner.os }}-${{ steps.setup-homebrew.outputs.gems-hash }}-${{ hashFiles('.taskfiles/workstation/Brewfile') }}
|
||||
path: /home/linuxbrew/.linuxbrew
|
||||
|
||||
- name: Cache venv
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ tasks:
|
||||
|
||||
arch:
|
||||
desc: Set up Arch Linux tools
|
||||
cmd: '{{.PKGMGR}} -Syu --needed --noconfirm --noprogressbar $(cat {{.ROOT_DIR}}/.taskfiles/Workstation/Archfile | xargs)'
|
||||
cmd: '{{.PKGMGR}} -Syu --needed --noconfirm --noprogressbar $(cat {{.ROOT_DIR}}/.taskfiles/workstation/Archfile | xargs)'
|
||||
vars:
|
||||
PKGMGR:
|
||||
sh: command -v yay || command -v paru
|
||||
@@ -14,21 +14,21 @@ tasks:
|
||||
- msg: Missing yay or paru
|
||||
sh: command -v brew &>/dev/null || command -v paru &>/dev/null
|
||||
- msg: Missing Archfile
|
||||
sh: test -f {{.ROOT_DIR}}/.taskfiles/Workstation/Archfile
|
||||
sh: test -f {{.ROOT_DIR}}/.taskfiles/workstation/Archfile
|
||||
|
||||
brew:
|
||||
desc: Set up Homebrew tools
|
||||
cmds:
|
||||
- brew bundle --file {{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile
|
||||
- brew bundle --file {{.ROOT_DIR}}/.taskfiles/workstation/Brewfile
|
||||
sources:
|
||||
- '{{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile'
|
||||
- '{{.ROOT_DIR}}/.taskfiles/workstation/Brewfile'
|
||||
generates:
|
||||
- '{{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile.lock.json'
|
||||
- '{{.ROOT_DIR}}/.taskfiles/workstation/Brewfile.lock.json'
|
||||
preconditions:
|
||||
- msg: Missing brew
|
||||
sh: command -v brew &>/dev/null
|
||||
- msg: Missing Brewfile
|
||||
sh: test -f {{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile
|
||||
sh: test -f {{.ROOT_DIR}}/.taskfiles/workstation/Brewfile
|
||||
|
||||
direnv:
|
||||
desc: Run direnv hooks
|
||||
@@ -100,7 +100,7 @@ You have two different options for setting up your local workstation.
|
||||
|
||||
3. Install the additional **required** CLI tools
|
||||
|
||||
📍 _**Not using Homebrew or ArchLinux?** Try using the generic Linux task below, if that fails check out the [Brewfile](.taskfiles/Workstation/Brewfile)/[Archfile](.taskfiles/Workstation/Archfile) for what CLI tools needed and install them._
|
||||
📍 _**Not using Homebrew or ArchLinux?** Try using the generic Linux task below, if that fails check out the [Brewfile](.taskfiles/workstation/Brewfile)/[Archfile](.taskfiles/workstation/Archfile) for what CLI tools needed and install them._
|
||||
|
||||
```sh
|
||||
# Homebrew
|
||||
|
||||
+12
-12
@@ -17,10 +17,10 @@ env:
|
||||
VIRTUAL_ENV: '{{.ROOT_DIR}}/.venv'
|
||||
|
||||
includes:
|
||||
bootstrap: .taskfiles/Bootstrap
|
||||
kubernetes: .taskfiles/Kubernetes
|
||||
talos: .taskfiles/Talos
|
||||
workstation: .taskfiles/Workstation
|
||||
bootstrap: .taskfiles/bootstrap
|
||||
kubernetes: .taskfiles/kubernetes
|
||||
talos: .taskfiles/talos
|
||||
workstation: .taskfiles/workstation
|
||||
user:
|
||||
taskfile: .taskfiles/User
|
||||
optional: true
|
||||
@@ -33,9 +33,9 @@ tasks:
|
||||
desc: Initialize configuration files
|
||||
cmds:
|
||||
- cp -n {{.BOOTSTRAP_CONFIG_FILE | replace ".yaml" ".sample.yaml"}} {{.BOOTSTRAP_CONFIG_FILE}}
|
||||
- cmd: echo === Configuration file copied ===
|
||||
- cmd: echo Proceed with updating the configuration files...
|
||||
- cmd: echo {{.BOOTSTRAP_CONFIG_FILE}}
|
||||
- echo "=== Configuration file copied ==="
|
||||
- echo "Proceed with updating the configuration files..."
|
||||
- echo "{{.BOOTSTRAP_CONFIG_FILE}}"
|
||||
status:
|
||||
- test -f {{.BOOTSTRAP_CONFIG_FILE}}
|
||||
silent: true
|
||||
@@ -66,9 +66,9 @@ tasks:
|
||||
internal: true
|
||||
cmds:
|
||||
- task: kubernetes:kubeconform
|
||||
- cmd: echo === Done rendering and validating YAML ===
|
||||
- cmd: |
|
||||
if test -f ~/.config/sops/age/keys.txt; then
|
||||
echo WARNING: SOPS Age key found in home directory, this may cause conflicts.
|
||||
fi
|
||||
- echo "=== Done rendering and validating YAML ==="
|
||||
- '{{if eq .HOME_SOPS_AGE_KEY_FILE_EXISTS "true"}}echo "WARNING: SOPS Age key found in home directory, this may cause conflicts."{{end}}'
|
||||
vars:
|
||||
HOME_SOPS_AGE_KEY_FILE_EXISTS:
|
||||
sh: test -f ~/.config/sops/age/keys.txt && echo true || echo false
|
||||
silent: true
|
||||
Reference in new issue
Block a user