Skip to content

Commit

Permalink
Update releases-and-deployment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch authored Feb 12, 2017
1 parent 24e7c93 commit 517c5ef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/development/releases-and-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@
* notification is sent to slack #sparksystemlog with the release name - notifying you that it's ready for deployment

## Deploying to production
* currently deployment is only possible via ssh, easiest way is using the following command (in Linux):
* `ssh -i spark_production_deployment.id_rsa [email protected] RELEASE_TAG_NAME`
* Assuming you user is authorized (see below how to authorize)
* just type in slack: `/deploy RELEASE_TAG_NAME`
* where RELEASE_NAME is a published github release tag name
* To authorize a user, you will need to ssh to the server and edit the /opt/spark/.env file
* ssh -i spark.id_rsa [email protected]
* `nano /opt/spark/.env`
* look for SLACK_DEPLOY_ALLOWED_USERS - it contains comma-separated list of slack user names allows to deploy

## See Also

Expand Down

0 comments on commit 517c5ef

Please sign in to comment.