diff options
Diffstat (limited to 'app/views/ci/shared')
-rw-r--r-- | app/views/ci/shared/_guide.html.haml | 14 | ||||
-rw-r--r-- | app/views/ci/shared/_no_runners.html.haml | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/app/views/ci/shared/_guide.html.haml b/app/views/ci/shared/_guide.html.haml index 09e7e653521..8f4fee67bff 100644 --- a/app/views/ci/shared/_guide.html.haml +++ b/app/views/ci/shared/_guide.html.haml @@ -1,13 +1,13 @@ .bs-callout.help-callout - %h4 How to setup CI for this project + %h4 如何给此项目设置 CI %ol %li - Add at least one runner to the project. - Go to #{link_to 'Runners page', runners_path(@project), target: :blank} for instructions. + 增加至少一个 runner 给此项目。 + 转到 #{link_to 'Runners 页面', runners_path(@project), target: :blank}去操作。 %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} + 在你的仓库跟目录增加 .gitlab-ci.yml 文件。可以在 + #{link_to "配置项目 (.gitlab-ci.yml)", "http://doc.gitlab.com/ci/yaml/README.html", target: :blank}中找到示例。 + 你也可以使用 #{link_to "Lint", ci_lint_path} 工具来测试你的 .gitlab-ci.yml 文件。 %li - Return to this page and refresh it, it should show a new build. + 返回到此页面再刷新,将会显示一个新的构建。 diff --git a/app/views/ci/shared/_no_runners.html.haml b/app/views/ci/shared/_no_runners.html.haml index f56c37d9b37..89d25bf46af 100644 --- a/app/views/ci/shared/_no_runners.html.haml +++ b/app/views/ci/shared/_no_runners.html.haml @@ -1,7 +1,7 @@ .alert.alert-danger %p - Now you need Runners to process your builds. + 现在需要 Runners 来处理你的构建。 %span - Checkout the #{link_to 'GitLab Runner section', 'https://about.gitlab.com/gitlab-ci/#gitlab-runner', target: '_blank'} to install it + 请参阅 #{link_to 'GitLab Runner 章节', 'https://about.gitlab.com/gitlab-ci/#gitlab-runner', target: '_blank'}来安装。 |