Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-06Merge branch 'api-fix-files' into 'master' Rémy Coutable
API: Fix file downloading See merge request !8953
2017-02-05Ensure the right content is served for the build artifacts APIRobert Schilling
2017-02-03Fix broken testsFilipa Lacerda
Rename Build to Job Replace "Builds" by "Jobs" and fix broken specs Replace "Builds" by "Jobs" Fix broken spinach test Fix broken test Remove `˙` at the beginning of the file Fix broken spinach test Fix broken tests Changes after review
2017-02-02Active tense test coverageValery Sizov
Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/642 back into CE
2017-01-27Use `:empty_project` where possible in request specsRobert Speicher
2016-12-04Guests can read builds if those are publicZ.J. van de Weg
Fixes #18448
2016-11-28Changed API spec files to describe the correct classLivier
Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec
2016-10-26Fix optimistic lockingKamil Trzcinski
2016-09-29expose pipeline data in builds APIGuilherme Salazar
add pipeline ref, sha, and status to the build API response add tests of build API (pipeline data) change API documentation for builds API log change to builds API in CHANGELOG CHANGELOG: add reference to pull request and contributor's name
2016-08-19Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
artifacts-from-ref-and-build-name * upstream/master: (195 commits) Fix expansion of discussions in diff Improve performance of MR show page Fix jumping between discussions on changes tab Update doorkeeper to 4.2.0 Fix MR note discussion ID Handle legacy sort order values Refactor `find_for_git_client` and its related methods. Remove right margin on Jump button icon Fix bug causing “Jump to discussion” button not to show Small refactor and syntax fixes. Removed unnecessary service for user retrieval and improved API error message. Added documentation and CHANGELOG item Added checks for 2FA to the API `/sessions` endpoint and the Resource Owner Password Credentials flow. Fix behavior around commands with optional arguments Fix behavior of label_ids and add/remove_label_ids Remove unneeded aliases Do not expose projects on deployments Incorporate feedback Docs for API endpoints Expose project for environments ...
2016-08-18Incorporate feedbackZ.J. van de Weg
2016-08-18Add Play endpoints on BuildsZ.J. van de Weg
2016-08-15Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
artifacts-from-ref-and-build-name * upstream/master: (123 commits) Limit the size of SVGs when viewing them as blobs Add a spec for ProjectsFinder project_ids_relation option Fix ProjectsFinder spec Pass project IDs relation to ProjectsFinder instead of using a block Speed up todos queries by limiting the projects set we join with Used phantomjs variable Ability to specify branches for pivotal tracker integration Fix a memory leak caused by Banzai::Filter::SanitizationFilter Update phantomjs link Remove sleeping and replace escaped text. Filters test fix Fixed filtering tests Removed screenshot command :poop: Updated failing tests Used mirrored version on GitLab Updated tests Fix `U2fSpec` for PhantomJS versions > 2. Fix file downloading Install latest stable phantomjs Use new PhantomJS version ...
2016-08-11Fix test failures, that did occur because of missing previously used ↵Kamil Trzcinski
`reload_status!` call
2016-08-11Use state machine for pipeline event processingKamil Trzcinski
2016-08-11Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski
This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
2016-08-10Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
artifacts-from-ref-and-build-name * upstream/master: (516 commits) Rename `run` task helper method to prevent conflict with StateMachine Add a method in Project to return a cached value of total count of projects Add Changelog entry for Grape upgrade [ci skip] Fix Grape tests. Retain old behavior Update Grape from 0.13.0 to 0.15.0. adds second batch of tests changed to active tense fixes part1 of files to start using active tense Clarify the features for generating default label sets Update tree view to sort folders with submodules Memoize CI config node validator to prevent leaks fix MR source project assignment remove offending empty line Rails prefers require_dependency so that it won't require twice: use Unix line endings for API documentation use long options for curl examples in API documentation (!5703) Prefixes removed branches name with PR number when importing PR from GH Update CHANGELOG Remove SHA suffix for removed branches name when importing PR from GH add linting script for documentation ...
2016-08-09adds second batch of tests changed to active tensetiagonbotelho
2016-07-21Restore to what it used to beLin Jen-Shin
2016-07-21Merge branch 'artifacts-from-ref-and-build-name-api' into ↵Lin Jen-Shin
artifacts-from-ref-and-build-name * artifacts-from-ref-and-build-name-api: (384 commits) Add API documentation for downloading the latest successful build Since it's too hard to use JOIN with Rails... feedback: Workaround MySQL with INNER JOIN: Just put setup directly in the test, feedback: Cleanup the use of let, feedback: Lose unneeded instance variables and variables, feedback: Add link to user profile to commit avatar (!5163) It's not longer than 80 chars Make sure there's a build Use the same logic, it should specify that it's not logged in Use 'when logging as guest' for context, feedback: Cleanup that a bit Refactor service settings view Fix a problem with processing a pipeline where stage only has manual actions Rename user2 to reporter_user Should check against `authorize_read_builds!` A CHANGELOG entry Don't show other actions of the same name Use limit parameter rather than hardcoded value Reuse those two methods ...
2016-07-20Cleanup the use of let, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13202424
2016-07-20Use the same logic, it should specify that it's not logged inLin Jen-Shin
2016-07-20Use 'when logging as guest' for context, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13200997
2016-07-20Rename user2 to reporter_userLin Jen-Shin
2016-07-20Should check against `authorize_read_builds!`Lin Jen-Shin
2016-07-20Still give descriptions, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13198953
2016-07-20Cleanup let a bit, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13195683 and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13195692 another_artifacts was no longer used and then there's no point to put let in outer scope anymore.
2016-07-20Use only one before, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13195672
2016-07-20More complex data manipulating tests to model, andLin Jen-Shin
this should properly test that it's really getting the builds from the latest successful pipelines and latest successful builds.
2016-07-20We need INNER JOIN to get the right pipeline,Lin Jen-Shin
also added a test for checking this.
2016-07-20Use shared_examples, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13173599
2016-07-20Use shared_example rather than methods, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13173653
2016-07-20That means different things but it's ok here.Lin Jen-Shin
rubocop was complaining
2016-07-20Create the pipelines/builds in mixed order, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13176921 Also we give undesired builds another artifacts so that we could tell if returned artifacts was we actual expected.
2016-07-19It's no longer neededLin Jen-Shin
2016-07-19Make minimal changes to specsKamil Trzcinski
2016-07-19Just use default_branch, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13176885
2016-07-19path_from_ref -> path_for_ref, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347/diffs#note_13173404
2016-07-19Drop description for simple case, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347/diffs#note_13173445
2016-07-19when unauthorized, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347/diffs#note_13173429
2016-07-19Only allow branches/tags, disallow SHA:Lin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13170854
2016-07-19API for downloading latest successful build:Lin Jen-Shin
This was extracted from !5142 and implementing part of #4255. We split it from !5142 because we want to ship it in 8.10 while !5142 was not ready yet.
2016-07-18Use ci_commits.ref (Pipeline#ref) to find buildsLin Jen-Shin
2016-07-18Use single line even if they're more than 80 chars, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13125628
2016-07-14Try to make the URL more consistent between Rails and APILin Jen-Shin
2016-07-14It could be redirecting or downloading in Rails or APILin Jen-Shin
2016-07-14Add a download prefix so that we could add file prefix in the futureLin Jen-Shin
2016-07-14now we're able to merge the specLin Jen-Shin
2016-07-14Avoid using let!Lin Jen-Shin
2016-07-14Serve artifacts from BuildsLin Jen-Shin