playwright: Add openstack CLI and SSH key registration to buildspec

This commit is contained in:
Tom Koscielniak 2025-08-12 17:26:25 +02:00 committed by Tomáš Koscielniak
parent ee2e3fb786
commit 3f161b557c

View file

@ -8,10 +8,15 @@ phases:
- echo Entered the install phase...
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2 &
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
- apt-get install -y openssh-client python3
- pip install python-openstackclient
pre_build:
commands:
- echo Entered the pre_build phase...
- echo Adding SSH key to the agent...
- eval "$(ssh-agent -s)"
- echo "$OS_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
build:
commands: