[ARVADOS] created: 9676ee85d8f8fc64dfd4149cea5999de54e827a7
Git user
git at public.curoverse.com
Thu Dec 15 15:06:46 EST 2016
at 9676ee85d8f8fc64dfd4149cea5999de54e827a7 (commit)
commit 9676ee85d8f8fc64dfd4149cea5999de54e827a7
Author: Tom Clegg <tom at curoverse.com>
Date: Thu Dec 15 15:00:40 2016 -0500
10690: Add "rake config:dump" task to Workbench and API server.
diff --git a/apps/workbench/lib/tasks/config_dump.rake b/apps/workbench/lib/tasks/config_dump.rake
new file mode 100644
index 0000000..c7e0214
--- /dev/null
+++ b/apps/workbench/lib/tasks/config_dump.rake
@@ -0,0 +1,6 @@
+namespace :config do
+ desc 'Show site configuration'
+ task dump: :environment do
+ puts $application_config.to_yaml
+ end
+end
diff --git a/services/api/lib/tasks/config_dump.rake b/services/api/lib/tasks/config_dump.rake
new file mode 100644
index 0000000..c7e0214
--- /dev/null
+++ b/services/api/lib/tasks/config_dump.rake
@@ -0,0 +1,6 @@
+namespace :config do
+ desc 'Show site configuration'
+ task dump: :environment do
+ puts $application_config.to_yaml
+ end
+end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list