playwright: Add openstack CLI and SSH key registration to buildspec
This commit is contained in:
parent
ee2e3fb786
commit
3f161b557c
1 changed files with 5 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue