From f2851b1566cb4f899cd3de691a7c10697b92a4fa Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 19 Aug 2024 19:56:49 +0200 Subject: [PATCH 1/3] add bats --- spcd.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spcd.sh b/spcd.sh index 7557cd7..815e17f 100644 --- a/spcd.sh +++ b/spcd.sh @@ -691,6 +691,9 @@ spcd_install_packages() { ;; *) ;; esac + # bats + spcd_step "Install BATS" + spcd_install_package "bats" # graphviz spcd_step "Install GraphViz" spcd_install_package "graphviz" From b75542d8c20b0a3a06a1763edeceec9812eaef37 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 19 Aug 2024 20:33:11 +0200 Subject: [PATCH 2/3] fix readme --- readme.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index a42983a..aefcfa2 100644 --- a/readme.md +++ b/readme.md @@ -86,19 +86,20 @@ from various contexts of CA, CI and OCI / OS. * actions * includes * relay environment module name -* write tests ### sh * support * arch python virtual environment * opensuse operating system +* write tests ### sh → py * check file & variable sums * install system packages * epel + * bats * plantuml * shellcheck * graphviz @@ -115,7 +116,7 @@ from various contexts of CA, CI and OCI / OS. ### py * detect ssh private key type -* implement project repository cloning -* lint +* check * .py * .sh +* write tests From 6902c2672b0ca5a9bd6bbdf0baea31448d0892dc Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 19 Aug 2024 21:33:28 +0200 Subject: [PATCH 3/3] add expat for arch python venv --- readme.md | 4 +--- spcd.sh | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index aefcfa2..e73e9ee 100644 --- a/readme.md +++ b/readme.md @@ -89,9 +89,7 @@ from various contexts of CA, CI and OCI / OS. ### sh -* support - * arch python virtual environment - * opensuse operating system +* support opensuse operating system * write tests ### sh → py diff --git a/spcd.sh b/spcd.sh index 815e17f..47cc216 100644 --- a/spcd.sh +++ b/spcd.sh @@ -612,8 +612,7 @@ spcd_install_python() { spcd_install_package "python3-venv" ;; "${SPCD_OS_ARCH}") - echo "Not supported!" - exit 255 + spcd_install_package "expat" ;; *) ;; esac