Commit dff19db5 by Torkel Ödegaard

added test deploy step to wercker file

parent 31520844
...@@ -29,4 +29,21 @@ build: ...@@ -29,4 +29,21 @@ build:
- grunt: - grunt:
cwd: grafana/ cwd: grafana/
tasks: release --mode=backend tasks: release --mode=backend
deploy:
steps:
- add-to-known_hosts:
hostname: play.grafana.org
- mktemp:
envvar: PRIVATEKEY_PATH
- create-file:
name: write key
filename: $PRIVATEKEY_PATH
content: $GRAFANA_PLAY_PRIVATE
overwrite: true
hide-from-log: true
- script:
name: transfer application
code: |
pwd
ls -la
scp -i $PRIVATEKEY_PATH -o StrictHostKeyChecking=no -o UserKnownHostsFile=no grafana deploy@play.grafana.org:/home/deploy/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment