GitLab Bot
4dfd78cb55
Add latest changes from gitlab-org/gitlab@master
2020-10-29 15:09:12 +00:00
GitLab Bot
08b3b98051
Add latest changes from gitlab-org/gitlab@master
2020-09-01 12:11:01 +00:00
GitLab Bot
4b9bde7848
Add latest changes from gitlab-org/gitlab@master
2020-08-24 12:10:17 +00:00
GitLab Bot
d8b32df644
Add latest changes from gitlab-org/gitlab@master
2020-05-29 21:08:35 +00:00
GitLab Bot
8c8b94e711
Add latest changes from gitlab-org/gitlab@master
2019-10-07 21:07:54 +00:00
Matija Čupić
38ab1ae2f2
Rename latest_successful to be more explicit
...
* Reword Project#latest_successful_build_for to
Project#latest_successful_build_for_ref
* Reword Ci::Pipeline#latest_successful_for to
Ci::Pipeline#latest_successful_build_for_ref
2019-07-26 00:17:52 +02:00
Tiger
42ca9c6f0d
Add :preparing status to HasStatus
...
Introduces a new status for builds between :created and :pending
that will be used when builds require one or more prerequisite
actions to be completed before being picked up by a runner
(such as creating Kubernetes resources before deploying).
The existing :created > :pending transition is unchanged, so
only builds that require preparation will use the :preparing
status.
2019-03-20 11:48:31 +11:00
Francisco Javier López
a6778fc647
Rename project's pipelines relation
2018-12-05 14:39:15 +00:00
gfyoung
e166e5747c
Enable some frozen string in lib/gitlab
...
Enable frozen string for the following files:
* lib/gitlab/auth/**/*.rb
* lib/gitlab/badge/**/*.rb
* lib/gitlab/bare_repository_import/**/*.rb
* lib/gitlab/bitbucket_import/**/*.rb
* lib/gitlab/bitbucket_server_import/**/*.rb
* lib/gitlab/cache/**/*.rb
* lib/gitlab/checks/**/*.rb
Partially addresses #47424 .
2018-10-13 02:31:31 -07:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Jeff Stubler
1fb4ed2155
Change coverage badge rounding for other CI system consistency
2018-02-01 17:40:26 -06:00
Z.J. van de Weg
8877f2e8c1
Reword success to passing for pipeline badges
2017-07-21 10:22:11 +02:00
Z.J. van de Weg
2086483b24
Rename build to pipeline for status badges
...
First commit in probably 2, for resolve gitlab-org/gitlab-ce#15582 . This
commit is renaming files and classes from build to pipeline. Also
wording is editted to pipeline. Given `pipeline` had more characters
than `build`, I've made the field a bit wider. The width now matchers
the one for the coverage badge, so they look nice when in a table
format, or in a list.
As soon as this commit is merged to master, and released, the build.svg
is deprecated, meaning that all users which already placed a badge
should update it. However, to make sure it keeps working tests are added
for this case.
2017-07-21 10:22:09 +02:00
Douwe Maan
c81928cfa7
Include new URL helpers retroactively into includers of Gitlab::Routing
2017-07-07 10:43:37 -05:00
Douwe Maan
fe13f11041
Create and use project path helpers that only need a project, no namespace
2017-07-05 11:11:59 -05:00
Douwe Maan
56de781a2c
Revert "Enable Style/DotPosition"
...
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9.
# Conflicts:
# .rubocop.yml
# .rubocop_todo.yml
# lib/gitlab/ci/config/entry/global.rb
# lib/gitlab/ci/config/entry/jobs.rb
# spec/lib/gitlab/ci/config/entry/factory_spec.rb
# spec/lib/gitlab/ci/config/entry/global_spec.rb
# spec/lib/gitlab/ci/config/entry/job_spec.rb
# spec/lib/gitlab/ci/status/build/factory_spec.rb
# spec/lib/gitlab/incoming_email_spec.rb
2017-02-23 09:33:19 -06:00
Douwe Maan
1fe7501b49
Revert "Prefer leading style for Style/DotPosition"
...
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23 09:33:05 -06:00
Douwe Maan
206953a430
Prefer leading style for Style/DotPosition
2017-02-23 09:32:22 -06:00
Douwe Maan
b7d8df503c
Enable Style/MutableConstant
2017-02-23 09:31:56 -06:00
Douwe Maan
3dadf306dd
Enable Style/DotPosition
2017-02-23 09:31:56 -06:00
Jan Christophersen
95ed01749e
Add AsciiDoc snippet for CI/CD Badges
...
This commit adds CI/CD Badges Snippets for AsciiDoc as requested in #26087 .
I've however run into an issue in highlighting the snippet, it seems as if AsciiDoc is currently not being highlighted properly (displayed as plaintext)
Add testcase for to_asciidoc
Update test case for Badges list
2017-02-20 16:37:44 +01:00
Lin Jen-Shin
f463ef5ec5
Also use latest_status, feedback:
...
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_20058857
2016-12-15 18:12:33 +08:00
Lin Jen-Shin
101cde38cf
Use Ci::Pipeline#latest for finding pipelines
...
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_18861407
2016-11-24 18:41:45 +08:00
Lin Jen-Shin
3a8fb95c98
Fix tests
2016-08-26 15:40:12 +08:00
Grzegorz Bizon
42496ecef7
Render coverage badge for latest successful pipeline
2016-08-18 16:30:43 +02:00
Grzegorz Bizon
b13e1d795a
Add small corrections to test coverage report badge
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
3e481f154f
Add metadata and template methods for coverage badge
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
dbb9d6a726
Extract base abstract template for badges
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
796efcc704
Add template class for coverage report badge
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
cc244160c5
Extract the abstract base class of badge metadata
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
7b840c8483
Add coverage report badge metadata class
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
f0ff1bfdcc
Implement the main class of test coverage badge
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
f3de46e6b0
Refactor badge template and metadata classes
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
9f0b46c05a
Move badges to separate modules and add base class
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
6f0b5800a9
Add empty test coverage badge class and specs
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
89f2be7d58
Improve indentation in svg badge template
2016-08-08 13:12:47 +02:00
Grzegorz Bizon
bc17996227
Improve builds badge specs, remove legacy methods
2016-08-08 12:38:36 +02:00
Grzegorz Bizon
1b5e2303de
Use new badge template to render build status badge
2016-08-08 10:05:52 +02:00
Grzegorz Bizon
503c44ee2a
Add badge template class to use with SVG ERB template
2016-07-28 15:30:05 +02:00
Grzegorz Bizon
0c4fa8619c
Calculate build status only in build badge class
2016-07-28 14:58:53 +02:00
Grzegorz Bizon
9ae1ecf876
Extract build status badge metadata to separate class
2016-07-28 14:35:02 +02:00
Grzegorz Bizon
b7fa7c4d59
Extend build status badge, add html/markdown methods
2016-04-06 19:56:34 +02:00
Grzegorz Bizon
4cd1b9f4d8
Refactor builds badge, encapsulate inside a class
2016-03-29 09:01:19 +02:00