Commit Graph

20 Commits

Author SHA1 Message Date
Grzegorz Bizon e19687b224 Fix Rubocop offenses in commit status API specs 2017-03-01 15:11:10 +01:00
Grzegorz Bizon 74906f3dd8 Fix updaing commit status with optional attributes
Passing different optional attributes in case of updating an existing
commit status should not create a new commit status with the same name.
2017-03-01 13:59:15 +01:00
Robert Schilling 993c3d14d5 Remove shared example for pagination 2017-02-20 15:39:16 +01:00
Kamil Trzciński 761c0c86d1 Merge branch 'fix/gb/pipeline-retry-builds-started' into 'master'
Make pipeline retry take stages order into account

Closes #27431, #23710, and #26551

See merge request !9021
2017-02-17 15:19:41 +00:00
Grzegorz Bizon 5f271a9fa2 Merge branch 'master' into fix/gb/pipeline-retry-builds-started
* master: (313 commits)
  Allow slashes in slash command arguments
  Add API endpoint to get all milestone merge requests
  remove trailing comma
  Restore pagination to admin abuse reports
  replace deprecated NoErrorsPlugin with NoEmitOnErrorsPlugin
  only compress assets in production
  Reduce number of pipelines created to test pagination
  add CHANGELOG.md entry for !8761
  prevent diff unfolding link from appearing for deleted files
  fix build failures
  only show diff unfolding link if there are more lines to show
  fix typo in node section
  Only yield valid references in ReferenceFilter.references_in
  Cache js selectors; fix css
  move "Install node modules" step before "Migrate DB" within update process
  Renders pagination again for pipelines table
  update migration docs for 8.17 to include minimum node version
  Add CHANGELOG file
  Fix positioning of top scroll button
  Remove comments in migration
  ...
2017-02-17 14:31:00 +01:00
Robert Schilling c70dfbc686 Add a custom pagination matcher 2017-02-16 15:38:40 +01:00
wendy0402 79ce7579bb Make it possible to pass coverage value to commit status API 2017-02-14 09:32:25 +07:00
Grzegorz Bizon ffcf3c6858 Skip job only when canceling the pipeline it belongs to 2017-02-13 15:11:21 +01:00
Robert Speicher 9a31ecbef2 Use `:empty_project` where possible in request specs 2017-01-26 18:52:10 -05:00
Grzegorz Bizon 9ce8aa31f2 Respond with validation errors in commit status API
If validation errors are present, include validation errors in the
commit status API payload, instead of depending on state machine errors
caused by invalid record.
2017-01-18 12:30:01 +01:00
Grzegorz Bizon 53f4f84995 Add URL validations for generic commit statuses 2017-01-18 12:07:19 +01:00
Robert Schilling c7282f8959 Grapify the commit status API 2016-10-19 12:46:27 +02:00
Kamil Trzcinski 46b83f0605 Fix an error where we were unable to create a CommitStatus for running state 2016-09-12 12:20:18 +02:00
tiagonbotelho 1d268a89de adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
Grzegorz Bizon 9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
Z.J. van de Weg abca19da8b Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
Kamil Trzcinski 836061ddfd Rename remaining ci_commits in specs 2016-06-03 16:28:15 +02:00
Kamil Trzcinski 717fdd6d42 Rename Ci::Build commit to pipeline 2016-06-03 12:29:00 +02:00
Kamil Trzcinski 021d3810c3 Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline 2016-06-02 16:59:04 +02:00
Rémy Coutable 5589dcf8db Fix a few places where autoloading would fail
- Fix naming of API::CommitStatuses
- Ensure we use require_dependency instead of require
- Ensure the namespace is right in lib/api/api.rb, otherwise, we
  might require Grape::API::Helpers which defines the `#params` method.
  This is to avoid requiring a file multiple times and getting an "Already
  initialized constant" error.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-10 11:51:19 +02:00