forked from gitlabhq/gitlab-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2dff01
commit 23eb274
Showing
4 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,3 +67,10 @@ | |
font-weight: normal; | ||
line-height: 1.4; | ||
} | ||
|
||
.help-callout { | ||
li { | ||
font-size: 15px; | ||
line-height: 1.6; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -212,4 +212,8 @@ def execute_services(data) | |
end | ||
end | ||
end | ||
|
||
def setup_finished? | ||
commits.any? | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
.alert.alert-success | ||
%h4 | ||
Project sucessfully added to GitLab CI! | ||
%br | ||
%p Its only 2 steps left: | ||
.bs-callout.help-callout | ||
%h4 How to setup CI for this project | ||
|
||
%ol | ||
%li | ||
Visit #{link_to 'GitLab project settings', @project.gitlab_url + "/services/gitlab_ci/edit", target: :blank} and press "Test settings" button to confirm everything is working. | ||
Add at least one runner to the project. | ||
Go to #{link_to 'Runners page', project_runners_path(@project), target: :blank} for instructions. | ||
%li | ||
Customize script section to run own test command #{link_to 'here', edit_project_path(@project), target: :blank} | ||
Setup at least one Job with a build script. | ||
Go to #{link_to 'Jobs page', project_jobs_path(@project), target: :blank} for instructions. | ||
%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. |