Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ringcentral-docker/sshpass

Alpine Linux with sshpass
https://github.com/ringcentral-docker/sshpass

Last synced: about 1 month ago
JSON representation

Alpine Linux with sshpass

Awesome Lists containing this project

README

        

# Alpine Linux with sshpass

Brutal way to SSH from CI to destination service and perform redeploy.

## Use with Gitlab

Set `SSHSERVER`, `SSHUSER` and `SSHPASS` environment variables in Gitlab.

```yaml
deploy:
image: ringcentral/sshpass:latest
script:
- sshpass -e ssh -oStrictHostKeyChecking=no "${SSHUSER}@${SSHSERVER}" "cd /opt/xxx && make redeploy && exit"
```