Madhuvishy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/268830
Change subject: Add friendly prints to the fab tasks
......................................................................
Add friendly prints to the fab tasks
This is nice if we run tasks like `fab deploy .. --hide everything --show user`.
It only shows the things we print and is pretty!
Change-Id: Ibf37d0a72c07a87be4cfff78cf83d43ae9dcd5c2
---
M fabfile.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/analytics/dashiki
refs/changes/30/268830/1
diff --git a/fabfile.py b/fabfile.py
index 43bff2f..d291255 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -141,6 +141,7 @@
Setup npm, bower and gulp in local environment,
only needs to be done once
"""
+ print 'Setting up your local environment'
local('npm install')
local('bower install')
local('npm install -g gulp')
@@ -154,6 +155,7 @@
and pushing the dashboard to the remote destination directory
"""
# Compile the report locally using gulp
+ print 'Compiling {} dashboard'.format(env.dashboard)
local(get_gulp_command())
# Get the source and destination paths
@@ -161,6 +163,7 @@
dest = get_dest_path()
source = get_source_path()
+ print 'Deploying {} dashboard to {}'.format(env.dashboard, env.stage)
# Create the destination directory
sudo('mkdir -p {}'.format(dest))
--
To view, visit https://gerrit.wikimedia.org/r/268830
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf37d0a72c07a87be4cfff78cf83d43ae9dcd5c2
Gerrit-PatchSet: 1
Gerrit-Project: analytics/dashiki
Gerrit-Branch: master
Gerrit-Owner: Madhuvishy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits