summaryrefslogtreecommitdiff
path: root/app/models/ci/build.rb
Commit message (Collapse)AuthorAgeFilesLines
* Improve naming and optimize methods of the build classGrzegorz Bizon2018-03-301-2/+8
|
* Memoize environment-specific methods in build classGrzegorz Bizon2018-03-291-5/+9
| | | | | | The purpose of this memoization is to make getting persisted environment name, and related scoped variables, a little more performant task, because it can be invoked multiple times.
* Extract build variables that depend on persistenceGrzegorz Bizon2018-03-291-24/+31
|
* Merge branch 'master' into 'feature/gb/variables-expressions-in-only-except'Grzegorz Bizon2018-03-291-9/+24
|\ | | | | | | Conflicts: app/models/ci/build.rb
| * Remove Ci::Build#timeoutTomasz Maczukin2018-03-281-4/+2
| |
| * Change and rename behavior of save_timeout_state!Tomasz Maczukin2018-03-281-1/+1
| |
| * Refactor build_metadataTomasz Maczukin2018-03-281-1/+1
| |
| * Rename metadata relation and methodsTomasz Maczukin2018-03-281-5/+5
| |
| * Rename used_timeout to timeoutTomasz Maczukin2018-03-281-1/+1
| |
| * Refactorize Ci::Build and Ci::BuildMetadata modelsTomasz Maczukin2018-03-281-7/+7
| |
| * Fix transition failure when metadata not existsTomasz Maczukin2018-03-281-1/+1
| |
| * Move job timeout information to new ci_builds_metadata tableTomasz Maczukin2018-03-281-11/+7
| |
| * Change timeout_source to enumTomasz Maczukin2018-03-281-4/+11
| |
| * Downcase timeout_source valueTomasz Maczukin2018-03-281-1/+1
| |
| * Refactor timeout selection mechanismTomasz Maczukin2018-03-281-8/+2
| |
| * Replace user_readable with human_readableTomasz Maczukin2018-03-281-1/+1
| |
| * Rename chronic_duration_attribute* to chronic_duration_attr*Tomasz Maczukin2018-03-281-1/+1
| |
| * Show timeout information on job's pageTomasz Maczukin2018-03-281-3/+9
| |
| * Rename job_upper_timeout to maximum_job_timeoutTomasz Maczukin2018-03-281-2/+2
| |
| * Override project-defined timeout with runner-defined oneTomasz Maczukin2018-03-281-0/+7
| |
| * Merge remote-tracking branch 'origin/master' into 40781-os-to-ceMicaël Bergeron2018-03-221-80/+78
| |\
| * | apply feedbackMicaël Bergeron2018-03-091-1/+0
| | |
| * | add the Ci::Build `*_store` columnMicaël Bergeron2018-03-011-0/+4
| | |
| * | Merge remote-tracking branch 'origin/master' into ↵object-storage-ee-to-ce-backportKamil Trzciński2018-02-281-1/+2
| |\ \ | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ Merge commit '8af23def1d6' into object-storage-ee-to-ce-backportKamil Trzciński2018-02-281-2/+3
| |\ \ \
| * | | | Merge branch 'feature/sm/artifacts-trace-ee' into 'master'Kamil Trzciński2018-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EE: Trace as artifacts (FileStorage and ObjectStorage) Closes #4171 See merge request gitlab-org/gitlab-ee!4258
| * | | | Merge branch '4163-move-uploads-to-object-storage' into 'master'Sean McGivern2018-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move uploads to object storage Closes #4163 See merge request gitlab-org/gitlab-ee!3867
| * | | | Merge commit '4b92efd90cedaa0aff218d11fdce279701128bea' into ↵Kamil Trzciński2018-02-281-3/+9
| |\ \ \ \ | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * | | | | Merge branch 'zj-multiple-artifacts-ee' into 'master'Grzegorz Bizon2018-02-281-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple artifacts ee See merge request gitlab-org/gitlab-ee!3276
| * | | | | Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into ↵Kamil Trzciński2018-02-281-9/+60
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ \ Merge commit '11c67e7c2f992299ff5918ce67995b73d1e0be6d' into ↵Kamil Trzciński2018-02-281-2/+11
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * | | | | | | Merge branch 'jej/lfs-object-storage' into 'master'Douwe Maan2018-02-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can migrate LFS objects to S3 style object storage Closes #2841 See merge request !2760
| * | | | | | | Merge commit 'b39d0c318921bae2e3a11df9ee6828291dad9864' into ↵Kamil Trzciński2018-02-281-6/+15
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ \ \ \ Merge commit '5b08d59f07fc53c1e34819fac20352119d5343e6' into ↵Kamil Trzciński2018-02-281-0/+17
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * | | | | | | | | Merge branch 'zj-object-store-artifacts' into 'master'Grzegorz Bizon2018-02-281-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Object store for artifacts Closes gitlab-ce#29203 See merge request !1762
* | | | | | | | | | Add specs for method that exposes build variables hashGrzegorz Bizon2018-03-271-3/+0
| | | | | | | | | |
* | | | | | | | | | Decouple build variables from persisted environmentGrzegorz Bizon2018-03-271-28/+42
| | | | | | | | | |
* | | | | | | | | | Merge branch 'master' into feature/gb/variables-expressions-in-only-exceptGrzegorz Bizon2018-03-271-3/+6
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (199 commits) Conflicts: lib/gitlab/ci/pipeline/seed/stage.rb
| * | | | | | | | | Merge branch 'fix-ci-job-auto-retry' into 'master'Grzegorz Bizon2018-03-201-1/+5
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent auto-retry AccessDenied error from stopping transition to failed See merge request gitlab-org/gitlab-ce!17862
| | * | | | | | | | | Prevent auto-retry AccessDenied error from stopping transition to failedTomasz Maczukin2018-03-201-1/+5
| | | | | | | | | | |
| * | | | | | | | | | Use update_column than write_attribute and savefix/sm/erase_old_traceShinya Maeda2018-03-191-2/+1
| | | | | | | | | | |
* | | | | | | | | | | Expose evaluable variables method from build objectGrzegorz Bizon2018-03-231-2/+13
| | | | | | | | | | |
* | | | | | | | | | | Make it possible to access static builds variablesGrzegorz Bizon2018-03-231-7/+10
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to access static build variables even when an object is not persisted yet. This will allow us to evaluate build variables using only/except policies before deciding whether we actually want to persist the build in the database, or not.
* | | | | | | | | | Merge branch 'fix/sm/clarify-ambiguous-with_artifacts-implication' into 'master'Kamil Trzciński2018-03-181-4/+4
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify ambiguous with_artifacts implication Closes #44138 See merge request gitlab-org/gitlab-ce!17720
| * | | | | | | | | Use with_artifacts_archive name. Add specShinya Maeda2018-03-151-4/+4
| | | | | | | | | |
| * | | | | | | | | Add rubocop:disable GitlabSecurity/PublicSendShinya Maeda2018-03-151-1/+1
| | | | | | | | | |
| * | | | | | | | | Clarify ambiguous with_artifacts implicationShinya Maeda2018-03-151-4/+4
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Port deployment variables skeleton code from EEGrzegorz Bizon2018-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit backports method signatures and related implementation to the CE, to make CE and EE identical. This does not add any features from EE, it is only aimed to reduce conflicts between CE and EE in the future.
* | | | | | | | | Use new collections to define build predefined variablesGrzegorz Bizon2018-03-131-53/+50
| | | | | | | | |
* | | | | | | | | DRY project-level predefined variablesGrzegorz Bizon2018-03-131-3/+1
| | | | | | | | |