Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-04-30 08:14:20 +0300
committerShinya Maeda <shinya@gitlab.com>2018-04-30 08:14:20 +0300
commit0d99298aa3bffb9c1df8b22cadfbd8499eaa76a8 (patch)
tree903f3f37a483734eda40529b0ccf5df576b11042 /lib/tasks
parent270b5867306c9f38cfa73402a4b00bc8fd982719 (diff)
parent87f1736a7381f39e373ce5bdae2d7185b9523108 (diff)
Merge branch 'master' into live-trace-v2
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/pages.rake9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/pages.rake b/lib/tasks/gitlab/pages.rake
new file mode 100644
index 00000000000..100e480bd66
--- /dev/null
+++ b/lib/tasks/gitlab/pages.rake
@@ -0,0 +1,9 @@
+namespace :gitlab do
+ namespace :pages do
+ desc 'Ping the pages admin API'
+ task admin_ping: :gitlab_environment do
+ Gitlab::PagesClient.ping
+ puts "OK: gitlab-pages admin API is reachable"
+ end
+ end
+end