summaryrefslogtreecommitdiff
path: root/app/views/ci/shared/_guide.html.haml
blob: db2d7f2f4b650c675d67c964cd5bc9bbaf26bf83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.bs-callout.help-callout
  %h4 How to setup CI for this project

  %ol
    %li
      Add at least one runner to the project.
      Go to #{link_to 'Runners page', runners_path(@project.gl_project), target: :blank} for instructions.
    %li
      Put the .gitlab-ci.yml in the root of your repository. Examples can be found in #{link_to "Configuring project (.gitlab-ci.yml)", "http://doc.gitlab.com/ci/yaml/README.html", target: :blank}.
      You can also test your .gitlab-ci.yml in the #{link_to "Lint", ci_lint_path}
    %li
      Visit #{link_to 'GitLab project settings', @project.gitlab_url + "/services/gitlab_ci/edit", target: :blank}
      and press the "Test settings" button.
    %li
      Return to this page and refresh it, it should show a new build.