Stan Hu
05a9c6b211
Fix Bamboo CI status not showing for branch plans
...
The original API that queries by label (`/rest/api/latest/result?label=#{sha1}`)
only works for results from main plans and not branch plans. The
`/rest/api/latest/result/byChangeset/#{sha1}` endpoint gives results from
branch plans but not for the first push to the branch. Subsequent pushes
work.
For more details, see https://jira.atlassian.com/browse/BAM-16121 .
Closes #1355
2018-06-29 15:33:16 -07:00
Robert Speicher
72a7b30c9f
Change all :empty_project
to :project
2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Paul Charlton
cb3b4a15e6
Support multiple Redis instances based on queue type
2017-07-11 03:35:47 +00:00
http://jneen.net/
9ca4a3988b
rm use of deprecated webmock api in bamboo_service_spec
2017-06-26 18:00:01 -07:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Douwe Maan
bdbc7d967a
Revert "Enable Style/BarePercentLiterals"
...
This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
2017-02-23 09:32:42 -06:00
Douwe Maan
baafd8de26
Enable Style/BarePercentLiterals
2017-02-23 09:31:57 -06:00
Robert Speicher
e75b1f1105
Merge branch '24185-legacy-ci-status-reactive-cache' into 'security'
...
Use ReactiveCaching to update external CI status asynchronously
See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2055
2017-01-12 17:39:46 -05:00
Valery Sizov
8b2dbe8997
Remove schema annotations completely
2016-09-16 14:37:48 +03:00
Rémy Coutable
17c32ee8d0
Factorize duplicated code into a method in BambooService and update specs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-14 10:07:37 +02:00
Paco Guzman
be98ee2586
Fixing specs stubbed objects cannot access database
2016-06-10 15:41:56 +02:00
Rémy Coutable
ef340f6e77
Ensure URL in all Service subclasses are valid
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-25 15:28:24 -04:00
Rémy Coutable
acf911eeae
Fix a bug with trailing slash in bamboo_url
...
Also, improve specs for BambooService
Similar to https://gitlab.com/gitlab-org/gitlab-ce/issues/3515
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-13 15:58:14 +02:00
Alex Lossent
98e666ab6a
Improve invalidation of stored service password if the endpoint URL is changed
...
Password can now be specified at the same time as the new URL, and the service
template admin pages now work.
2015-10-15 12:07:59 +02:00
Valery Sizov
07f6055272
Invalidate stored service password if the endpoint URL is changed
2015-10-12 13:21:57 +03:00