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
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
5117412e33
Fix implementation of config_processor and ci_yaml_file
2016-04-13 20:54:21 +02:00
Kamil Trzcinski
2a7f7f7528
Update handling of skipped status
2016-04-13 20:51:11 +02:00
Kamil Trzcinski
ae24b25718
Simplify state update of Ci::Commit object
2016-04-13 17:30:31 +02:00
Kamil Trzcinski
8e84acbf2e
Optimise CI status accessor
2016-04-12 20:37:57 +02:00
Kamil Trzcinski
1ae797c229
Fix create_next_builds method
2016-04-12 11:15:19 +02:00
Kamil Trzcinski
ac50f9dddf
Fix rest of rspec and spinach tests
2016-04-12 10:23:31 +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
Kamil Trzcinski
16592e2b45
Fix review comments
...
- Remove unused Gitlab::Application.routes.url_helpers from Ci::Build
- Remove too much logic from a view, use Ci::Commit.matrix_builds
- Use ci_status_with_icon
- Don't describe symbols
2016-03-14 13:33:26 +01: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
Jacob Vosmaer
0a4db90d36
Use begin/end instead of defined?
2016-02-02 14:35:09 +01:00
Jacob Vosmaer
64c8ee47c9
WIP lazy blobs
2016-02-01 10:41:52 +01:00
Kamil Trzcinski
58a56a0396
Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled
2015-12-17 16:33:47 +01:00
Grzegorz Bizon
32d83ee79f
Merge branch 'master' into ux/suppress-ci-yml-warning
...
* master: (24 commits)
Fix runners admin view
Fix migrations
Run builds from projects with enabled CI
Use Gitlab::Git instead of Ci::Git
Fix last specs
Fix specs
Fix after column rename
Fix errors
Update badge
Finishing touches
Fix triggers tests
Rename columns and rename migrations
Reimplement Trigger API
Remove ci_ prefix from all ci related things
Add runners token
Migrate CI::Project to Project
Fix indentation and BuildsEmailService
Change default values
Enhance migrate CI emails
Fix issue tracker service
...
Conflicts:
spec/features/commits_spec.rb
2015-12-14 12:25:37 +01:00
Grzegorz Bizon
b8f67c5e47
Do not display ci build status if builds enabled but no `.gitlab-ci.yml`
...
Ref #3827
2015-12-14 11:28:49 +01:00
Kamil Trzcinski
c9ac38a074
Use Gitlab::Git instead of Ci::Git
2015-12-11 18:02:32 +01:00
Kamil Trzcinski
e80e3f5372
Migrate CI::Project to Project
2015-12-11 18:02:09 +01:00
Kamil Trzcinski
2988e1fbf5
Migrate CI::Services and CI::WebHooks to Services and WebHooks
2015-12-10 16:04:08 +01:00
Douwe Maan
8fb49a4b70
Merge branch 'master' into merge-if-green
...
# Conflicts:
# app/views/projects/merge_requests/widget/_heading.html.haml
# app/views/projects/merge_requests/widget/open/_accept.html.haml
2015-12-08 22:34:03 +01:00
Douwe Maan
3f1e72a0cc
Memoize ci_yaml_file.
2015-12-08 13:06:54 +01:00
Zeger-Jan van de Weg
0e96d6eb10
Merge branch 'master' into merge-if-green
2015-12-07 10:06:07 +01:00
Kamil Trzcinski
8248314bc9
Don't rescue Exception, but StandardError
2015-11-19 20:17:17 +01:00
Kamil Trzcinski
0df7a32ea5
Fix tests
2015-11-19 12:09:34 +01:00
Kamil Trzcinski
2b907f61ff
Commits without .gitlab-ci.yml are marked as skipped
...
- Save detailed error when YAML syntax
2015-11-19 12:09:34 +01:00
Zeger-Jan van de Weg
53b285c9a8
Merge branch 'master' into merge-if-green
2015-11-18 11:58:01 +01:00
Dmitriy Zaporozhets
a237999f00
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-13 19:22:46 +01:00
Zeger-Jan van de Weg
77f8a1e392
Merge when build succeeds
2015-11-02 17:27:38 +01:00
Kamil Trzcinski
c03da1caad
Extend yml syntax for only and except to support specifying repository path
2015-11-02 14:44:06 +01:00
Kamil Trzcinski
0aa6061d6a
Implement when syntax in .gitlab-ci.yml
2015-10-15 23:49:39 +02:00
Kamil Trzcinski
09255eecd0
Remove ordering from :ci_commits relation
2015-10-14 17:28:38 +02:00
Kamil Trzcinski
766da5fa7b
Fix broken matrix_for_ref?
...
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2015-10-12 22:34:59 +02:00
Kamil Trzcinski
daca1c6511
Fix broken tests
2015-10-12 22:32:29 +02:00
Kamil Trzcinski
5cd504ed33
Rename builds_without_retry to latest_builds
2015-10-12 16:39:08 +02:00
Kamil Trzcinski
789fe7b489
Update rendering
2015-10-12 16:32:58 +02:00
Kamil Trzcinski
0aefeeb882
Add Commit Status documentation
2015-10-12 12:42:27 +02:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00
Kamil Trzcinski
065fe557f7
Fixed failure reading .gitlab-ci.yml
2015-10-06 12:00:15 +02:00
Kamil Trzcinski
c985389722
Add stage tests
2015-10-05 15:59:31 +02:00
Kamil Trzcinski
0367dbf043
Fix build pipelining
2015-10-05 14:15:15 +02:00
Kamil Trzcinski
361dc3641d
Fix builds_without_retry
2015-10-05 12:38:00 +02:00
Kamil Trzcinski
317a746954
Make commit_spec run
2015-10-05 12:02:26 +02:00
Kamil Trzcinski
e3d870d7fc
Add user to Ci::Build to have pusher email address
2015-10-05 10:15:40 +02:00
Kamil Trzcinski
546a3c6561
Refactor commit and build
2015-10-05 09:52:35 +02:00
Kamil Trzcinski
0d877d91e7
Make ensure_gitlab_ci_project return ci_project or create a new one
2015-09-29 10:47:04 +02:00
Kamil Trzcinski
0e33814708
Fix tests
2015-09-29 10:47:03 +02:00
Kamil Trzcinski
30c78e70cb
WIP
2015-09-29 10:47:03 +02:00