summaryrefslogtreecommitdiff
path: root/spec/models/ci/build_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix CI_PROJECT_PATH_SLUG slugifyvanadium232017-08-151-1/+1
|
* initShinya Maeda2017-07-281-0/+6
|
* Remove superfluous type defs in specsKeifer Furzland2017-07-271-6/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Change auto-retry count to a correct value in docsGrzegorz Bizon2017-07-201-2/+2
|
* Make it possible to auto retry a failed CI/CD jobGrzegorz Bizon2017-07-171-1/+32
|
* Make it possible to count a number of job retriesGrzegorz Bizon2017-07-171-0/+41
|
* Merge from master(Fix conflicts)Shinya Maeda2017-07-071-0/+53
|\
| * Basic BE changeShinya Maeda2017-07-071-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Basic BE change Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Implement CURD Rename codes related to VariableGroup and VariableProject FE part Remove unneccesary changes Make Fe code up-to-date Add protected flag to migration file Protected group variables essential package Update schema Improve doc Fix logic and spec for models Fix logic and spec for controllers Fix logic and spec for views(pre feature) Add feature spec Fixed bugs. placeholder. reveal button. doc. Add changelog Remove unnecessary comment godfat nice catches Improve secret_variables_for arctecture Fix spec Fix StaticAnlysys & path_regex spec Revert "Improve secret_variables_for arctecture" This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1. Use ayufan suggestion for secret_variables_for Use find instead of find_by Fix spec message for variable is invalid Fix spec remove variable.group_id = group.id godffat spec nitpicks Use include Gitlab::Routing.url_helpers for presenter spec
* | merge from masterShinya Maeda2017-07-071-4/+16
|\ \ | |/
| * Add table for merge request commitsSean McGivern2017-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an ID-less table with just three columns: an association to the merge request diff the commit belongs to, the relative order of the commit within the merge request diff, and the commit SHA itself. Previously we stored much more information about the commits, so that we could display them even when they were deleted from the repo. Since 8.0, we ensure that those commits are kept around for as long as the target repo itself is, so we don't need to duplicate that data in the database.
| * Backports for ee-2112Lin Jen-Shin2017-07-061-3/+4
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2112
| * Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-07-051-7/+11
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32815--Add-Custom-CI-Config-Path * upstream/master: (149 commits) Revert change to design. Go back to scrollable page Fixes the column widths for the new navigation options in settings Migrate #submodule_url_for to Gitaly Add test example for external commit status retries Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb Fix build for !12300. Log rescued exceptions to Sentry Fix issues with non-UTF8 filenames by always fixing the encoding of tree and blob paths Revert "Merge branch 'revert-12499' into 'master'" Prevent accidental deletion of protected MR source branch by repeating checks before actual deletion Improve the overall UX for the new monitoring dashboard Document that GitLab 9.3 requires the TRIGGER permission on MySQL Instrument Unicorn with Ruby exporter Remove group modal like remove project modal. Closes #33130 Update prometheus client gem Enables the option in user preferences to turn on the new navigation Add Jasmine tests for `OAuthRememberMe` Simplify authentication logic in the v4 users API for !12445. Use stub_application_setting when testing ApplicationHelper#support_url wait_for_requests is not needed when AJAX is not in play ...
| * | Rename ci_config_file to ci_config_pathLin Jen-Shin2017-07-051-1/+1
| | |
| * | Add back Pipeline#ci_yaml_file_path due to all the troublesLin Jen-Shin2017-07-051-1/+1
| | |
| * | Fix config pathLin Jen-Shin2017-07-041-1/+1
| | |
| * | Introduce CI_CONFIG_PATHLin Jen-Shin2017-06-301-0/+11
| | |
* | | Revert unnecesarry changesShinya Maeda2017-07-051-7/+11
| | |
* | | Improve specShinya Maeda2017-07-051-1/+1
| | |
* | | Fix specShinya Maeda2017-07-051-0/+1
| | |
* | | Fix spec. Add PipelineScheduleVariable for import_exportShinya Maeda2017-07-051-1/+3
| | |
* | | zj nice catchesShinya Maeda2017-07-051-8/+6
| | |
* | | pipeline_schedule_variables model/dbShinya Maeda2017-07-051-20/+15
| | |
* | | Improve specShinya Maeda2017-07-051-1/+1
| | |
* | | Fix specShinya Maeda2017-07-051-0/+1
| | |
* | | Fix spec. Add PipelineScheduleVariable for import_exportShinya Maeda2017-07-051-1/+3
| | |
* | | zj nice catchesShinya Maeda2017-07-051-8/+6
| | |
* | | pipeline_schedule_variables model/dbShinya Maeda2017-07-051-0/+16
| |/ |/|
* | Merge branch 'feature/no-hypen-at-end-of-commit-ref-slug' into 'master'Rémy Coutable2017-07-041-7/+11
|\ \ | |/ |/| | | | | | | | | no trailing / leading hyphens in CI_COMMIT_REF_SLUG. Closes #32035 See merge request !11218
| * fixed incorrect test case (for real), added another oneStefan Hanreich2017-06-191-1/+2
| |
| * fixed incorrect test caseStefan Hanreich2017-06-191-1/+1
| |
| * added additional test caseStefan Hanreich2017-06-181-0/+1
| |
| * remove trailing commaStefan Hanreich2017-06-181-1/+1
| |
| * fix typoStefan Hanreich2017-06-181-1/+1
| |
| * removed superfluos testsStefan Hanreich2017-06-181-7/+1
| |
| * Updated spec for build to include new ref_slug invariantsStefan Hanreich2017-06-181-8/+16
| |
* | Merge branch '34008-fix-CI_ENVIRONMENT_URL-2' into 'master'Kamil Trzciński2017-06-211-37/+11
|\ \ | | | | | | | | | | | | | | | | | | Don't expand CI_ENVIRONMENT_URL so runner would do Closes #34008 See merge request !12344
| * | Move expanded_environment_url to CreateDeploymentServiceLin Jen-Shin2017-06-211-36/+0
| | | | | | | | | | | | Because that's the only place we need it.
| * | Don't expand CI_ENVIRONMENT_URL so runner would doLin Jen-Shin2017-06-211-3/+13
| |/ | | | | | | | | | | | | | | And make sure CI_ENVIRONMENT_URL comes last so all variables would be available whenever the runner is trying to expand it. This is an alternative to !12333
* | Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|/
* Merge branch 'fix-manual-actions' into 'master'Grzegorz Bizon2017-06-151-0/+16
|\ | | | | | | | | | | | | Do not show manual actions that cannot be run Closes #32380 See merge request !12121
| * Do not show manual actions that cannot be runfix-manual-actionsKamil Trzcinski2017-06-131-0/+16
| |
* | Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-7/+23
|/
* Merge branch '31061-26135-ci-project-slug-enviroment-variables' into 'master'Kamil Trzciński2017-06-051-0/+1
|\ | | | | | | | | | | | | Add slugified project path to CI environment variables Closes #31061 See merge request !11838
| * Add slugify project path to CI enviroment variablesvanadium232017-06-031-0/+1
| |
* | CreatePipelineBuildsService would have created envLin Jen-Shin2017-06-021-30/+0
| | | | | | | | | | | | So we don't have to do it in CreateDeploymentService Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11695#note_31322649
* | Merge remote-tracking branch 'upstream/master' into 25680-CI_ENVIRONMENT_URLLin Jen-Shin2017-06-021-10/+58
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (39 commits) Resolve "Improve Container Registry description" Add username parameter to gravatar URL Fix replying to a commit discussion displayed in the context of an MR Add fog-aliyun as backup storage provider Add missing specs Make sure protected can't be null; Test protected! Update session cookie key name to be unique to instance in development Just mention which GitLab version is required Fix data inconsistency issue for old artifacts by moving them to a currently used path Fix N+1 queries for non-members in comment threads Fix rubocop in spec/helpers/diff_helper_spec.rb Merge two items into one in the doc Only remove FK if it exists Maintain notes avatar at smaller breakpoint Fix pipeline schedule value name in documentation Add test for Project#protected_for? Update diff discussion position per discussion instead of per note Display Shared Runner status in Admin Dashboard Make sure we're loading the fresh variables Now secret_variables_for would return the variables ...
| * Update docs and use protected secret variable as the nameLin Jen-Shin2017-05-311-6/+21
| |
| * Merge secret and protected vars to variables_for(ref)Lin Jen-Shin2017-05-271-1/+1
| | | | | | | | | | Also introduce Ci::Variable#to_runner_variable to build up the hash for runner.
| * Add tests and also pass protected vars to protected tagsLin Jen-Shin2017-05-251-4/+37
| |
* | Fix a typo: not -> noLin Jen-Shin2017-06-011-1/+1
| |