fix remaining packages

- testing container is starting to work on macos
- still need to do testing for linux machines
This commit is contained in:
Matthew Stobbs
2025-02-23 01:32:45 -07:00
parent b83a79a13d
commit 2472f527d1
77 changed files with 294 additions and 44 deletions

23
tests/setup.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env zsh
IMAGE=packagetest
CONTAINER=packagetest
MACHINENAME=podman-machine-default
function machine_state {
echo $(podman machine inspect $MACHINENAME | jq -r '.[].State')
}
echo "Starting $MACHINENAME"
podman machine start -q $MACHINENAME
while [ "$(machine_state)" != "running" ]
do
echo $(machine_state)
echo "Wating for $MACHINENAME to start"
sleep 1
done
echo "Machine $MACHINENAME running"
echo "Building container images"
podman build --platform linux/amd64 -f Containerfile -t $IMAGE .