This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch devel
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git
The following commit(s) were added to refs/heads/devel by this push:
new 6b36a70 bump kind to 0.30.0
6b36a70 is described below
commit 6b36a70196797745d1b55a6d4943895387b2ffd7
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Nov 29 22:12:14 2025 +0000
bump kind to 0.30.0
---
prereq.yml | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/prereq.yml b/prereq.yml
index 172ef88..e654d92 100644
--- a/prereq.yml
+++ b/prereq.yml
@@ -8,15 +8,15 @@ vars:
DRY: ""
tasks:
-
+
download-and-extract:
requires:
- vars:
+ vars:
- FILE
- URL
- OUT
cmds:
- - echo "{{.OUT}} {{.FILE}} {{.URL}} {{.FILETAR}}"
+ - echo "{{.OUT}} {{.FILE}} {{.URL}} {{.FILETAR}}"
- curl -sL "{{.URL}}" -o {{.FILE}}
- extract "{{.FILE}}" "{{.OUT}}{{.EXE}}"
- remove "{{.FILE}}"
@@ -48,7 +48,7 @@ tasks:
cmds:
- curl -sL "{{.URL}}" -o "{{.FILE}}"
- |
- if test "{{.OS}}" == "windows"
+ if test "{{.OS}}" == "windows"
then rename 7zr.exe 7zz.exe
else extract "{{.FILE}}" 7zz
fi
@@ -66,11 +66,11 @@ tasks:
linux-amd64) echo "x86_64-unknown-linux-gnu" ;;
linux-arm64) echo "aarch64-unknown-linux-gnu" ;;
darwin-amd64) echo "x86_64-apple-darwin" ;;
- darwin-arm64) echo "aarch64-apple-darwin" ;;
+ darwin-arm64) echo "aarch64-apple-darwin" ;;
windows-*) echo "x86_64-pc-windows-gnu" ;;
*) echo "unknown" ;;
esac
- URL:
"https://github.com/uutils/coreutils/releases/download/{{.VERSION}}/coreutils-{{.VERSION}}-{{.SUFFIX}}{{.ARC}}"
+ URL:
"https://github.com/uutils/coreutils/releases/download/{{.VERSION}}/coreutils-{{.VERSION}}-{{.SUFFIX}}{{.ARC}}"
FILE: "{{base .URL}}"
OUT: coreutils
cmds:
@@ -106,7 +106,7 @@ tasks:
kind:
desc: download kind
vars:
- VERSION: 0.29.0
+ VERSION: 0.30.0
cmds:
- task: download
vars:
@@ -118,7 +118,7 @@ tasks:
vars:
VERSION: 0.13.6
BASE: "https://github.com/alexellis/k3sup/releases/download/{{.VERSION}}"
- FILE:
+ FILE:
sh: |
case {{.OS}}-{{.ARCH}} in
(linux-amd64) echo k3sup ;;
@@ -132,7 +132,7 @@ tasks:
vars:
URL: "{{.BASE}}/{{.FILE}}"
OUT: k3sup
-
+
rg:
desc: download ripgrep
vars:
@@ -145,11 +145,11 @@ tasks:
linux-amd64) echo "x86_64-unknown-linux-musl" ;;
linux-arm64) echo "aarch64-unknown-linux-gnu" ;;
darwin-amd64) echo "x86_64-apple-darwin" ;;
- darwin-arm64) echo "aarch64-apple-darwin" ;;
+ darwin-arm64) echo "aarch64-apple-darwin" ;;
windows-*) echo "x86_64-pc-windows-msvc" ;;
*) echo "unknown" ;;
esac
- URL:
"https://github.com/BurntSushi/ripgrep/releases/download/{{.VERSION}}/ripgrep-{{.VERSION}}-{{.SUFFIX}}{{.ARC}}"
+ URL:
"https://github.com/BurntSushi/ripgrep/releases/download/{{.VERSION}}/ripgrep-{{.VERSION}}-{{.SUFFIX}}{{.ARC}}"
FILE: "{{base .URL}}"
OUT: rg
cmds:
@@ -280,7 +280,7 @@ tasks:
fi
EOF
executable zip
- ;;
+ ;;
windows-*)
curl -sL "{{.ZIP_EXE}}" -o zip.exe
executable zip.exe
@@ -297,12 +297,12 @@ tasks:
linux-amd64) echo "_Linux_x86_64" ;;
linux-arm64) echo "_Linux_arm64" ;;
darwin-amd64) echo "_Darwin_x86_64" ;;
- darwin-arm64) echo "_Darwin_arm64" ;;
+ darwin-arm64) echo "_Darwin_arm64" ;;
windows-*) echo "_Windows_x86_64" ;;
*) echo "unknown" ;;
esac
#https://github.com/txn2/kubefwd/releases/download/1.22.5/kubefwd_Darwin_x86_64.tar.gz
- URL:
"https://github.com/txn2/kubefwd/releases/download/{{.VERSION}}/kubefwd{{.SUFFIX}}{{.ARC}}"
+ URL:
"https://github.com/txn2/kubefwd/releases/download/{{.VERSION}}/kubefwd{{.SUFFIX}}{{.ARC}}"
FILE: "{{base .URL}}"
OUT: kubefwd
cmds:
@@ -314,7 +314,7 @@ tasks:
all:
- task: 7zz
- - task: coreutils
+ - task: coreutils
- task: bun
- task: kind
- task: k3sup
@@ -329,7 +329,7 @@ tasks:
# commented out for now
#- task: hugo
#- task: k3d
-
+
test:
vars:
DIR: "{{.OPS_PWD}}/bin/{{.OS}}-{{.ARCH}}"
@@ -340,7 +340,7 @@ tasks:
cd "{{.DIR}}"
{{.DRY}} ops -task -t ../../prereq.yml -d "{{.DIR}}" all
- task: check
-
+
check:
vars:
DIR: "{{.OPS_PWD}}/bin/{{.OS}}-{{.ARCH}}"
@@ -359,11 +359,11 @@ tasks:
cmds:
- for: sources
cmd: filetype -m "{{.ITEM}}" | rg {{.FILETYPE}}
-
+
tests:
- __OS=linux __ARCH=amd64 ops -task -t prereq.yml test
- __OS=linux __ARCH=arm64 ops -task -t prereq.yml test
- __OS=darwin __ARCH=amd64 ops -task -t prereq.yml test
- __OS=darwin __ARCH=arm64 ops -task -t prereq.yml test
- __OS=windows __ARCH=amd64 ops -task -t prereq.yml test
-
+