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
+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