Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ringcentral-docker/sshpass
- Owner: ringcentral-docker
- Created: 2019-11-11T23:35:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T13:46:01.000Z (11 months ago)
- Last Synced: 2024-01-27T14:44:26.996Z (11 months ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/repository/docker/ringcentral/sshpass
- Size: 30.3 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
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"
```