summaryrefslogtreecommitdiff
path: root/app/views/ci/helps
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/helps')
-rw-r--r--app/views/ci/helps/oauth2.html.haml20
-rw-r--r--app/views/ci/helps/show.html.haml40
2 files changed, 60 insertions, 0 deletions
diff --git a/app/views/ci/helps/oauth2.html.haml b/app/views/ci/helps/oauth2.html.haml
new file mode 100644
index 00000000000..2031b7340d4
--- /dev/null
+++ b/app/views/ci/helps/oauth2.html.haml
@@ -0,0 +1,20 @@
+.welcome-block
+ %h1
+ Welcome to GitLab CI
+ %p
+ GitLab CI integrates with your GitLab installation and runs tests for your projects.
+
+ %h3 You need only 2 steps to set it up
+
+ %ol
+ %li
+ In the GitLab admin area under OAuth applications create a new entry. The redirect url should be
+ %code= callback_ci_user_sessions_url
+ %li
+ Update the GitLab CI config with the application id and the application secret from GitLab.
+ %li
+ Restart your GitLab CI instance
+ %li
+ Refresh this page when GitLab CI has started again
+
+
diff --git a/app/views/ci/helps/show.html.haml b/app/views/ci/helps/show.html.haml
new file mode 100644
index 00000000000..5acdf9fa98a
--- /dev/null
+++ b/app/views/ci/helps/show.html.haml
@@ -0,0 +1,40 @@
+.jumbotron
+ %h2
+ GitLab CI
+ %span= GitlabCi::VERSION
+ %small= GitlabCi::REVISION
+ %p
+ GitLab CI integrates with your GitLab installation and run tests for your projects.
+ %br
+ Login with your GitLab account, add a project with one click and enjoy running your tests.
+ %br
+ Read more about GitLab CI at #{link_to "about.gitlab.com/gitlab-ci", "https://about.gitlab.com/gitlab-ci/", target: "_blank"}.
+
+
+.bs-callout.bs-callout-success
+ %h4
+ = link_to 'https://gitlab.com/gitlab-org/gitlab-ci/blob/master/doc/api' do
+ %i.fa-cogs
+ API
+ %p Explore how you can access GitLab CI via the API.
+
+.bs-callout.bs-callout-info
+ %h4
+ = link_to 'https://gitlab.com/gitlab-org/gitlab-ci/tree/master/doc/examples' do
+ %i.fa-info-sign
+ Build script examples
+ %p This includes the build script we use to test GitLab CE.
+
+.bs-callout.bs-callout-danger
+ %h4
+ = link_to 'https://gitlab.com/gitlab-org/gitlab-ci/issues' do
+ %i.fa-bug
+ Issue tracker
+ %p Reports about recent bugs and problems..
+
+.bs-callout.bs-callout-warning
+ %h4
+ = link_to 'http://feedback.gitlab.com/forums/176466-general/category/64310-gitlab-ci' do
+ %i.fa-thumbs-up
+ Feedback forum
+ %p Suggest improvements or new features for GitLab CI.