diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-04-30 08:14:20 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-04-30 08:14:20 +0300 |
commit | 0d99298aa3bffb9c1df8b22cadfbd8499eaa76a8 (patch) | |
tree | 903f3f37a483734eda40529b0ccf5df576b11042 /lib/tasks | |
parent | 270b5867306c9f38cfa73402a4b00bc8fd982719 (diff) | |
parent | 87f1736a7381f39e373ce5bdae2d7185b9523108 (diff) |
Merge branch 'master' into live-trace-v2
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/pages.rake | 9 |
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 |