Skip to content
Snippets Groups Projects
Commit 5259afea authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add step for ssh keys

Ref: https://docs.gitlab.com/ee/ci/ssh_keys/
parent de2e9252
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,9 @@ test:
script:
- FAILED=false
- chmod 400 "$SSH_PRIV_KEY"
- ssh-add "$SSH_PRIV_KEY"
- mkdir ~/.ssh
- chmod 700 ~/.ssh
- OLD_INSTANCE_IP=$(openstack floating ip list --floating-ip-address $CHEAHA_IP -c "Fixed IP Address" -f value)
- echo $OLD_INSTANCE_IP
- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment