Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix job count in pipeline success mail | Christiaan Van den Poel | 2017-12-18 | 1 | -0/+12 |
| | |||||
* | Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_rails | Rémy Coutable | 2017-12-14 | 2 | -16/+16 |
| | | | | | | | | | | | I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Dependencies Validator fails when depended job is `manual`41110-dependencies-validator-fails-when-depended-job-is-manual | Shinya Maeda | 2017-12-14 | 1 | -4/+3 |
| | |||||
* | Backport a spec fix done in EE (5dbecb8e) to CE | Rémy Coutable | 2017-12-11 | 1 | -18/+8 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Test for both ci_disable_validates_dependencies true/false | Shinya Maeda | 2017-12-08 | 1 | -44/+64 |
| | |||||
* | Change feature flag to ci_disable_validates_dependencies to enable it as default | Shinya Maeda | 2017-12-07 | 1 | -1/+1 |
| | |||||
* | Fix pipeline | Shinya Maeda | 2017-12-06 | 1 | -1/+3 |
| | |||||
* | Fix tests | Shinya Maeda | 2017-12-06 | 1 | -17/+27 |
| | |||||
* | Fix /build_spec.rb | Shinya Maeda | 2017-12-06 | 1 | -1/+6 |
| | |||||
* | Fix lint | Shinya Maeda | 2017-12-06 | 1 | -2/+6 |
| | |||||
* | Add case when artifacts have not existed on dependencies | Shinya Maeda | 2017-12-06 | 1 | -1/+20 |
| | |||||
* | Use Class.new(StandardError) instead of custom extended error class. Bring ↵ | Shinya Maeda | 2017-12-06 | 1 | -1/+1 |
| | | | | back specified_dependencies?. | ||||
* | Fail jobs if its dependency is missing | Shinya Maeda | 2017-12-06 | 1 | -0/+30 |
| | |||||
* | Perform SQL matching of Build&Runner tags to greatly speed-up job picking | Kamil Trzcinski | 2017-12-05 | 1 | -0/+73 |
| | |||||
* | Fix Rubocop | Kamil Trzcinski | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Store expire_at in ci_job_artifacts | Kamil Trzcinski | 2017-12-03 | 2 | -1/+57 |
| | |||||
* | Remove hook set by carrierwave too | Zeger-Jan van de Weg | 2017-12-03 | 1 | -6/+6 |
| | |||||
* | Add coverage on legacy artifacts for Ci::Build | Zeger-Jan van de Weg | 2017-12-03 | 1 | -70/+171 |
| | |||||
* | Fix specs failures, and use factory with `:ci_job_artifact, :archive` | Kamil Trzcinski | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Rename Artifact to JobArtifact, split metadata out | Zeger-Jan van de Weg | 2017-12-03 | 3 | -60/+31 |
| | | | | | | | | | Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata. | ||||
* | Create Ci::Artifacts | Zeger-Jan van de Weg | 2017-12-03 | 2 | -14/+63 |
| | | | | | | | | | | | | | | | | To allow jobs/builds to have multiple artifacts, and to start seperating concerns from Ci::Build a new model is created: Ci::Artifact. Changes include the updating of the ArtifactUploader to adapt to a slightly different interface. The uploader expects to be initialized with a `Ci::Build`. Futher a migration with the minimal fields, the needed foreign keys and an index. Last, the way this works is by prepending a module to Ci::Build so we can basically override behaviour but if needed use `super` to get the original behaviour. | ||||
* | WIP | Zeger-Jan van de Weg | 2017-12-03 | 1 | -0/+5 |
| | |||||
* | Fix pipeline config source specs and test it explicitly | Grzegorz Bizon | 2017-11-30 | 1 | -41/+38 |
| | |||||
* | Merge branch '38668-revert-copied-kubernetesservice-logic' into 'master' | Grzegorz Bizon | 2017-11-30 | 1 | -3/+16 |
|\ | | | | | | | | | Copy `KubernetesService` logic in `Clusters::Platforms::Kubernetes` to make it interchangeable. And implement a selector. See merge request gitlab-org/gitlab-ce!15515 | ||||
| * | Aling shared_exmaples to "same behavior between KubernetesService and ↵ | Shinya Maeda | 2017-11-28 | 1 | -3/+3 |
| | | | | | | | | Platform::Kubernetes" | ||||
| * | Duplicate spec for Platform::Kubernetes with kubernetes_project | Shinya Maeda | 2017-11-28 | 1 | -3/+16 |
| | | |||||
* | | Use fuzzy search with minimum length of 3 characters where appropriatedm-search-pattern | Douwe Maan | 2017-11-27 | 1 | -1/+1 |
|/ | |||||
* | Use arrays in Pipeline#latest_builds_with_artifactsreduce-queries-for-artifacts-button | Yorick Peterse | 2017-11-21 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | This changes Ci::Pipeline#latest_builds_with_artifacts so it returns an Array instead of a relation. Whenever we use this data we do so in two steps: 1. Count the number of rows 2. If this number is greater than 0, iterate over the rows By returning an Array instead we only execute 1 query of which the total time/work is less than running either just a COUNT(*) or both queries (in the worst case). On GitLab.com this change should save us a few milliseconds per request to ProjectsController#show. | ||||
* | Optimise getting the pipeline status of commitsci-pipeline-status-query | Yorick Peterse | 2017-11-16 | 1 | -38/+84 |
| | | | | | This adds an optimised way of getting the latest pipeline status for a list of Commit objects (or just a single one). | ||||
* | Add doc. Fix spec. Add erase_build in protected_ref rule | Shinya Maeda | 2017-11-07 | 1 | -2/+2 |
| | |||||
* | Fix spec. Revert update check. | Shinya Maeda | 2017-11-06 | 1 | -0/+17 |
| | |||||
* | Harcode project visibility37473-expose-project-visibility-as-ci-variable | Matija Čupić | 2017-11-05 | 1 | -1/+1 |
| | |||||
* | Expose project visibility as CI variable | Matija Čupić | 2017-11-04 | 1 | -0/+1 |
| | |||||
* | Fix the external URLs generated for online view of HTML artifacts | Nick Thomas | 2017-10-20 | 1 | -4/+3 |
| | |||||
* | Don't create build failed todo when build is retried38236-remove-build-failed-todo-if-it-has-been-auto-retried | Sean McGivern | 2017-10-16 | 1 | -4/+27 |
| | | | | | | | | | When a build is retried automatically, we close any open todos. However, we do that _before_ creating a new build failed todo. To solve this, we check if the build is retried before creating the todo. We also ensure that the build _instance_ has the correct attribute set, without needing to reload it from the database. | ||||
* | Merge branch 'master' into '37970-ci-sections-tracking' | Kamil Trzciński | 2017-10-07 | 2 | -2/+58 |
|\ | | | | | | | # Conflicts: # db/schema.rb | ||||
| * | Merge branch 'backstage/gb/move-some-pipelines-code-from-ee-to-ee' into 'master' | Grzegorz Bizon | 2017-10-06 | 1 | -1/+9 |
| |\ | | | | | | | | | | | | | | | | | | | Move to CE some EE pipelines-related code that belongs to CE Closes gitlab-ee#3616 See merge request gitlab-org/gitlab-ce!14699 | ||||
| | * | Add specs for methods that count pipeline seeds size | Grzegorz Bizon | 2017-10-05 | 1 | -1/+9 |
| | | | |||||
| * | | Update test to use the new API34102-online-view-of-artifacts-fe | Zeger-Jan van de Weg | 2017-10-05 | 1 | -3/+10 |
| | | | |||||
| * | | Incorporate feedback | Zeger-Jan van de Weg | 2017-10-04 | 1 | -1/+1 |
| | | | |||||
| * | | Redirect to pages daemon | Zeger-Jan van de Weg | 2017-10-03 | 1 | -1/+42 |
| |/ | |||||
* | | Extract `Ci::Build#parse_trace_sections!` into a service37970-ci-sections-tracking | Alessio Caiazza | 2017-10-06 | 1 | -17/+6 |
| | | |||||
* | | Add CI build trace sections extractor | Alessio Caiazza | 2017-10-05 | 3 | -0/+46 |
|/ | |||||
* | Support custom attributes on users | Markus Koller | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | Fix locked shared runners problem | Tomasz Maczukin | 2017-09-25 | 1 | -51/+18 |
| | |||||
* | Do not pass project path from YAML processor | Grzegorz Bizon | 2017-09-18 | 1 | -0/+1 |
| | | | | Use project full path that can be received from a pipeline object | ||||
* | Memoize the latest builds of a pipelineprojects-controller-show | Yorick Peterse | 2017-09-14 | 1 | -0/+20 |
| | | | | | | | | | This ensures that if a pipeline is present for the last commit on a project's homepage we only run 1 query to get the builds, instead of running 2 queries. See https://gitlab.com/gitlab-org/gitlab-ce/issues/36878#note_40073339 for more information. | ||||
* | Fix job coverage specsbackstage/gb/optimize-some-specs-with-rspec-set | Grzegorz Bizon | 2017-09-13 | 1 | -1/+1 |
| | |||||
* | Fix build specs after using `set` instead of `let` | Grzegorz Bizon | 2017-09-13 | 1 | -13/+22 |
| | |||||
* | Optimize CI/CD build model specs | Grzegorz Bizon | 2017-09-13 | 1 | -8/+5 |
| |