Kamil Trzcinski
bf4dc75801
Improve the pipelines design
2016-05-16 16:48:27 -05:00
Kamil Trzcinski
8c93b6051f
Revert stages change
2016-05-14 14:45:11 -05:00
Kamil Trzcinski
a6b8d36ae9
Fix specs
2016-05-14 09:46:38 -05:00
Kamil Trzcinski
ecee057795
Merge remote-tracking branch 'origin/master' into with-pipeline-view
2016-05-13 17:15:09 -05:00
Kamil Trzcinski
6d19e13df6
Fix specs
2016-05-13 17:11:57 -05:00
Kamil Trzcinski
3953e5fcd7
Update generic commit status to make it look like a build
2016-05-10 02:38:25 +03:00
Kamil Trzcinski
504a1fac95
Fix SQL queries for calculating stages status
2016-05-10 00:58:53 +03:00
Kamil Trzcinski
7c1acb022a
Merge remote-tracking branch 'origin/master' into with-pipeline-view
...
# Conflicts:
# app/views/projects/ci/builds/_build.html.haml
# app/views/projects/commit/_ci_commit.html.haml
# app/views/projects/commit/_commit_box.html.haml
2016-05-09 23:53:02 +03:00
Kamil Trzcinski
1ad0c968d5
Make a build views nicer
2016-05-09 23:39:48 +03:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
...
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.
Fixes : #17382
2016-05-09 18:00:28 +02:00
Zeger-Jan van de Weg
47da013cf8
Annotate the models
2016-05-06 08:27:46 +02:00
Kamil Trzcinski
28ce41c00e
Fix tests
2016-04-18 07:35:43 -04:00
Kamil Trzcinski
1c5b172abb
Write specs for this feature
2016-04-16 22:43:40 +02:00
Kamil Trzcinski
0b1655e7b2
Rename CiStatus to Statusable
2016-04-16 21:46:26 +02:00
Kamil Trzcinski
102537072b
Fix CiStatus implementation and tests
2016-04-13 15:40:12 +02:00
Kamil Trzcinski
234be12e4e
Optimise CI status accessor
2016-04-12 20:38:02 +02:00
Kamil Trzcinski
8e84acbf2e
Optimise CI status accessor
2016-04-12 20:37:57 +02:00
Kamil Trzcinski
af7214d0f0
Fix specs
2016-04-11 23:32:55 +02:00
Kamil Trzcinski
5d69f5b46d
Use Ci::Commit as Pipeline
2016-04-11 23:32:54 +02:00
Geoffrey Lalonde
4117c815df
adjusted behavior so canceled builds tagged as allowed to fail do not fail build
2016-03-17 07:55:10 -07:00
Kamil Trzcinski
0672258915
Cleanup CiCommit and CiBuild
...
- Remove all view related methods from Ci::Build and CommitStatus
- Remove unused Ci::Commit and Ci::Build methods
- Use polymorphism to render different types of CommitStatus
2016-03-14 13:20:35 +01:00
Kamil Trzcinski
56449cc674
Fix Merge When Succeeded for multiple stages
...
Use around_transition to trigger build creation for next stages
2016-02-19 23:24:31 +01:00
Kamil Trzcinski
aa812dbfcc
Fix missing ignored? for GenericCommitStatus
2016-02-19 19:58:43 +01:00
Douwe Maan
ba42b03348
Merge branch 'ci/api-builds' into 'master'
...
Add builds API
References #4264
See merge request !2207
2016-01-14 16:29:15 +00:00
Tomasz Maczukin
2c7d9cfa7d
Move Ci::Build#available_statuses to AVAILABLE_STATUSES constant in CommitStatus
2016-01-14 14:59:04 +01:00
Grzegorz Bizon
9e0e9342a4
Rename method that returns url to CI build artifacts download
2016-01-14 12:48:14 +01:00
Stan Hu
79c0e7212a
Annotate models
2016-01-06 13:09:55 +00:00
Kamil Trzcinski
73b04bebad
Fix errors
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
1e2a4895c8
Finishing touches
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Zeger-Jan van de Weg
53b285c9a8
Merge branch 'master' into merge-if-green
2015-11-18 11:58:01 +01:00
Zeger-Jan van de Weg
2f048df4a4
API support, incorporated feedback
2015-11-18 11:17:41 +01:00
Dmitriy Zaporozhets
a237999f00
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-13 19:22:46 +01:00
Kamil Trzcinski
d0e3e823a2
Implement Build Artifacts
...
- Offloads uploading to GitLab Workhorse
- Use /authorize request for fast uploading
- Added backup recipes for artifacts
- Support download acceleration using X-Sendfile
2015-11-10 12:51:50 +01:00
Kamil Trzcinski
ba68facf8d
CI details cleanup
...
- Add page titles to CI settings.
- Fix CI admin navigation.
- Remove duplicated scope.
- Use monospace font for commit sha.
- Add page title and header title to build page.
- Proper authorization for cancel/retry builds.
- Use gitlab pagination theme for builds and group members.
- Don't paginate builds widget on build page.
- Add badges to commit page Changes/Builds tabs.
- Add "Builds" to commit Builds tab page title.
- Add and use Ci::Build#retryable? method.
- Add CI::Build#retried? method.
- Allow all failed commit builds to be retried.
- Proper authorization for cancel/retry all builds.
- Remove unused param.
- Use time_ago_with_tooltip where appropriate.
- Tweak builds index text
- Remove duplication between builds/build and commit_statuses/commit_status.
- Use POST rather than GET for canceling and retrying builds.
- Remove redundant URL helpers.
- Add build ID to build page.
- Link branch name on build page.
- Move commit/:sha/ci to commit/:sha/builds.
2015-11-05 15:24:27 +01:00
Zeger-Jan van de Weg
77f8a1e392
Merge when build succeeds
2015-11-02 17:27:38 +01:00
Kamil Trzcinski
127836dd54
Fix small CI UI regressions
2015-10-23 11:45:45 +02:00
Kamil Trzcinski
0aa6061d6a
Implement when syntax in .gitlab-ci.yml
2015-10-15 23:49:39 +02:00
Kamil Trzciński
daccc54d25
Merge branch 'builds-view' into 'master'
...
Added builds view

/cc @dzaporozhets @vsizov
See merge request !1593
2015-10-15 11:35:57 +00:00
Kamil Trzcinski
7af4f5215e
Show warning if build doesn't have runners with specified tags or runners didn't connect recently
...
Slightly refactor runner status detection: moving it to Runner class
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu >
2015-10-14 17:29:18 +02:00
Kamil Trzcinski
4d69c6a336
Refactor builds view
2015-10-14 17:28:38 +02:00
Kamil Trzcinski
789fe7b489
Update rendering
2015-10-12 16:32:58 +02:00
Kamil Trzcinski
69c04498ef
Small bug fixes
2015-10-12 15:55:12 +02:00
Kamil Trzcinski
0aefeeb882
Add Commit Status documentation
2015-10-12 12:42:27 +02:00
Kamil Trzcinski
7ef156a242
Add author to statuses
2015-10-12 12:16:55 +02:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00