fix tests
- only leave fedora enabled - test each package one at a time to ensure they install correctly
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
IMAGE=packagetest
|
||||
CONTAINER=packagetest
|
||||
MACHINENAME=podman-machine-default
|
||||
[[ -f ./lib.sh ]] && source ./lib.sh || exit 1
|
||||
|
||||
ssh-keygen -R "[127.0.0.1]:2222"
|
||||
podman stop $CONTAINER
|
||||
podman rm $IMAGE
|
||||
podman machine stop $MACHINENAME
|
||||
for os in ${OSBUILDS[@]}
|
||||
do
|
||||
if podman container exists ${IMAGE}:${os}
|
||||
then
|
||||
podman stop ${IMAGE}:${os}
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$HOSTOS" = "Darwin" ]
|
||||
then
|
||||
podman machine stop ${MACHINENAME}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user