This is an automated email from the ASF dual-hosted git repository. msciabarra pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git
commit 3be50f3c07be68ea3507e86e4f8d1b8f90527947 Author: Michele Sciabarra <[email protected]> AuthorDate: Fri Jul 26 11:02:31 2024 +0200 prere tests and remove tasks folder --- .gitmodules | 4 ---- olaris | 1 - prereq_test.go | 5 ++--- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitmodules b/.gitmodules index 754c907..68ca29d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,10 +6,6 @@ path = _patches/sh url = https://github.com/sciabarracom/sh branch = openserverless -[submodule "openserverless-task"] - path = olaris - url = https://github.com/apache/openserverless-task - branch = main [submodule "tools/goawk"] path = _patches/goawk url = https://github.com/nuvolaris/goawk diff --git a/olaris b/olaris deleted file mode 160000 index cef18b1..0000000 --- a/olaris +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cef18b12478ae120126ad72bd0eff9e79af18855 diff --git a/prereq_test.go b/prereq_test.go index bd9f756..22c9fb9 100644 --- a/prereq_test.go +++ b/prereq_test.go @@ -10,7 +10,7 @@ import ( func Example_execPrereqTask() { fmt.Println(execPrereqTask("bin", "bun")) // Output: - // executing: ops [-task -d bin -t prereq.yml bun] + // invoking prereq for bun // <nil> } @@ -67,7 +67,7 @@ func Example_downloadPrereq() { fmt.Println("1", downloadPrereq("bun", prq.Tasks["bun"])) fmt.Println("2", downloadPrereq("bun", prq.Tasks["bun"])) - os.Chdir("other") + os.Chdir("sub") prq, _ = loadPrereq() //fmt.Println(prq) //fmt.Println(PrereqSeenMap) @@ -93,7 +93,6 @@ func Example_ensurePrereq() { // downloading bun v1.11.20 // downloading coreutils 0.0.27 // <nil> - // <nil> // error in prereq bun: WARNING: bun prerequisite found twice with different versions! // Previous version: v1.11.20, ignoring v1.11.21 // <nil>
