test: adjust location for Infamy .venv directory to ~/.infix/venv

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2024-08-28 19:14:47 +02:00
parent 8266984c63
commit ee6d96d3ed
3 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -2,11 +2,11 @@
# shellcheck disable=SC2034,SC2154
# Current container image
INFIX_TEST=ghcr.io/kernelkit/infix-test:1.7
INFIX_TEST=ghcr.io/kernelkit/infix-test:1.8
ixdir=$(readlink -f "$testdir/..")
logdir=$(readlink -f "$testdir/.log")
envdir="$HOME/.infix-test-venv"
envdir="$HOME/.infix/venv"
qeneth="$testdir/qeneth/qeneth"
runners="podman docker"
+1 -1
View File
@@ -19,7 +19,7 @@ the image, e.g., with missing Alpine packages.
docker build -t ghcr.io/kernelkit/infix-test:0.4 .
3. Update the `test/.env` file to use the new version
4. Verify your new image works properly (remember to remove your `~/.infix-test-venv`)
4. Verify your new image works properly (remember to remove your `~/.infix/venv`)
5. Send PR to co-maintainer for review
The co-maintainer should then verify themselves before approving the PR.
+5 -3
View File
@@ -1,10 +1,12 @@
#!/bin/sh
# shellcheck disable=SC1090
set -e
python3 -m venv ~/.infix-test-venv
cp -r ~/yang ~/.infix-test-venv/yangdir
. ~/.infix-test-venv/bin/activate
mkdir -p ~/.infix/venv
python3 -m venv ~/.infix/venv
cp -r ~/yang ~/.infix/venv/yangdir
. ~/.infix/venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r "$1"