continuing work on hyprland build

This commit is contained in:
Matthew Stobbs
2025-02-28 21:08:35 -07:00
parent ac87ba3f4c
commit 2a86ffb94b
22 changed files with 79 additions and 145 deletions

View File

@@ -1,17 +1,13 @@
#!/usr/bin/env zsh
set -x
[[ -f ./lib.sh ]] && source ./lib.sh || exit 1
for os in ${OSBUILDS[@]}
do
if ! podman container exists ${IMAGE}:${os}
then
podman run --rm -it -d --platform linux/amd64 --name ${IMAGE}:${os} -p 2222:22 packagetest
fi
ansible-playbook test_not_local.yml -i inventory.yml
if [ $? -eq 0 ]
then
podman stop ${IMAGE}:${os}
ssh-keygen -R "[127.0.0.1]:2222"
if ! podman container exists ${CONTAINER}_${os}; then
podman run --rm -it -d --platform linux/amd64 --name ${CONTAINER}_${os} -p 2222:22 ${IMAGE}:${os}
fi
ansible-playbook "test.yml" -i inventory.yml
done