From d6e3b54fc0e80bd731fb966d4db2760e2c7c372b Mon Sep 17 00:00:00 2001 From: Craig Furman Date: Sun, 21 May 2023 23:10:39 +0100 Subject: [PATCH] Fix up some asdf config ASDF_GOLANG_MOD_VERSION_ENABLED - see https://github.com/kennyp/asdf-golang/issues/99 Temporarily pin a version of node (not lts) until 'node-build: definition not found: 18' error resolved --- config/home/.tool-versions | 2 +- config/home/.zshrc | 1 + roles/common/tasks/main.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/home/.tool-versions b/config/home/.tool-versions index 74bcba6..02d28d6 100644 --- a/config/home/.tool-versions +++ b/config/home/.tool-versions @@ -1,6 +1,6 @@ golang 1.20.4 direnv system -nodejs lts python 3.10.6 kubectl 1.23.8 helm 3.10.3 +nodejs 18.16.0 diff --git a/config/home/.zshrc b/config/home/.zshrc index fbb00ef..517f676 100644 --- a/config/home/.zshrc +++ b/config/home/.zshrc @@ -110,6 +110,7 @@ source $ZSH/oh-my-zsh.sh # asdf-vm . $HOME/.asdf/asdf.sh . $HOME/.asdf/completions/asdf.bash +export ASDF_GOLANG_MOD_VERSION_ENABLED=false # General aliases alias ll='ls -alh' diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 8de4c2d..59bdf58 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -66,7 +66,7 @@ git: repo: https://github.com/asdf-vm/asdf.git dest: ~/.asdf - version: v0.11.2 + version: v0.11.3 - name: Install asdf plugins and tools command: ./bin/asdf_install