diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-04-27 11:01:54 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-04-27 11:01:54 +0000 |
commit | 7da1b4cbf1ae5e0e0008a27f260c49160a63c81e (patch) | |
tree | 887ea824e5fe3b7177285368ea1b006b8218c201 /lib/tasks | |
parent | 4fe338313358dbbf835513f96e6a06d0649f2a0c (diff) | |
download | gitlab-ce-7da1b4cbf1ae5e0e0008a27f260c49160a63c81e.tar.gz |
Add gitlab-pages admin ping rake task
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 |