continuing work on hyprland build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user