summaryrefslogtreecommitdiff
path: root/spec/models/ci
Commit message (Collapse)AuthorAgeFilesLines
* 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-142-8/+26
| |
* | Handle legacy jobs without namezj-commit-status-sortable-nameZ.J. van de Weg2017-06-131-0/+11
|/ | | | | | | | Older pipelines can contain jobs without a name, in which case 'nameless' is used right now, so we can properly still handle other actions on these jobs. Fixes gitlab-org/gitlab-ce#33403
* Improve specs for pipeline and pipeline seedsGrzegorz Bizon2017-06-051-2/+2
|
* Merge branch 'master' into feature/gb/persist-pipeline-stagesGrzegorz Bizon2017-06-054-21/+213
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (524 commits) Improve user experience around slash commands in instant comments Fix LFS timeouts when trying to save large files retryable? is now available for CommitStatus Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables" Fix test failures Add slugify project path to CI enviroment variables Fixed typo: craeted -> created 32118 Make New environment empty state btn lowercase Expose import_status in Projects API 32832 Remove overflow from comment form for confidential issues and vertically aligns confidential issue icon Fix test failures Allow manual bypass of auto_sign_in_with_provider Fix keys seed Allow users to be hard-deleted from the API fixup some classnames and media queries Enable the Style/PreferredHashMethods cop Lint our factories creation in addition to their build Don’t schedule workers from inside transactions Allow scheduling from after_commit hooks Forbid Sidekiq scheduling in transactions ... Conflicts: app/serializers/pipeline_entity.rb db/schema.rb spec/factories/ci/stages.rb spec/lib/gitlab/import_export/safe_model_attributes.yml spec/services/ci/create_pipeline_service_spec.rb spec/spec_helper.rb
| * 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-022-12/+89
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| | * Make sure protected can't be null; Test protected!24196-protected-variablesLin Jen-Shin2017-06-011-2/+24
| | |
| | * Merge branch 'master' into '24196-protected-variables'Kamil Trzciński2017-06-011-2/+24
| | |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| | * | Update docs and use protected secret variable as the nameLin Jen-Shin2017-05-311-6/+21
| | | |
| | * | Merge remote-tracking branch 'upstream/master' into 24196-protected-variablesLin Jen-Shin2017-05-311-0/+8
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (89 commits) Revert "Merge branch 'grpc-1.3.4' into 'master'" Return nil when looking up config for unknown LDAP provider Avoid crash when trying to parse string with invalid UTF-8 sequence Enable Gitaly by default in GitLab 9.3 Don’t create comment on JIRA if link already exists Disable sub_group_issuables_spec.rb for mysql Fix math rendering on blob pages Add changelog Don't allow to pass a user to ProjectWiki#http_url_to_repo Revert "Merge branch '1937-https-clone-url-username' into 'master' " Fix bottom padding for build page Fix /unsubscribe slash command creating extra todos Fix omniauth-google-oauth2 dependencies in Gemfile.lock Update looks job log 'New issue'/'New merge request' dropdowns should show only projects with issues/merge requests feature enabled Fix spec for Members::AuthorizedDestroyService 31616-add-uptime-of-gitlab-instance-in-admin-area Set head pipeline when creating merge requests Create a separate helper to check if we show particular tab on a search page Add performance deltas between app deployments on Merge Request widget ...
| | * \ \ Merge branch 'master' into '24196-protected-variables'Lin Jen-Shin (godfat)2017-05-261-1/+1
| | |\ \ \ | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| | * | | | Merge secret and protected vars to variables_for(ref)Lin Jen-Shin2017-05-272-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | | |
| * | | | | Merge all environment url methods, introduce ensure_persisted_environmentLin Jen-Shin2017-06-011-25/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make sure that we're accessing the same instance, so ending up with `env.external` = `env.external_url` shall be fine.
| * | | | | split tests for expanded_environment_urlLin Jen-Shin2017-06-011-4/+25
| | | | | |
| * | | | | Introduce ci_environment_url which would fallbackLin Jen-Shin2017-06-011-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the external_url from persisted environment, and make the other utility methods private as we don't really need to use them outside of the job.
| * | | | | Just use the url from options, not saving it as a columnLin Jen-Shin2017-06-011-4/+3
| | | | | |
| * | | | | Merge remote-tracking branch 'upstream/master' into 25680-CI_ENVIRONMENT_URLLin Jen-Shin2017-06-012-2/+32
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (251 commits) Don't match email addresses or foo@bar as user references Revert "Update GITLAB_SHELL_VERSION" Update GITLAB_SHELL_VERSION Add feature toggles through Flipper Change no_limits to limits Move includes call to scope Add GitLab Resources to University Add Documentation for GIT_CHECKOUT variable Remove entry variable Do not try to preload Commits when using Note.includes(:noteable) Ui improvements for count badges and permission badges Rename the other jobs Update jobs_spec for changes from builds_spec Introduce source to pipeline entity Update docs related to protected actions Add changelog for protected branches abilities fix Ask for an example project for bug reports Center loading spinner in issuable filters Fix chat commands specs related to protected actions Fix builds controller specs related to protected actions ...
| | * | | | Introduce source to pipeline entitytrigger-sourceKamil Trzcinski2017-05-311-2/+24
| | | |_|/ | | |/| |
| | * | | Add a test for deletion of importing_or_inactive?Shinya Maeda2017-05-291-0/+8
| | | |/ | | |/|
| * | | Merge branch 'master' into '25680-CI_ENVIRONMENT_URL'Lin Jen-Shin (godfat)2017-05-261-1/+1
| |\ \ \ | | |/ / | | | | | | | | # Conflicts: # db/schema.rb
| | * | Merge branch '17848-web-hook-logging' into 'master'Dmitriy Zaporozhets2017-05-251-1/+1
| | |\ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | Implement Web Hooks calls logging Closes #17848 See merge request !11027
| | | * Implement web hooks loggingAlexander Randa2017-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implemented logging of project and system web hooks * implemented UI for user area (project hooks) * implemented UI for admin area (system hooks) * implemented retry of logged webhook * NOT imeplemented log remover
| * | | Pass external_url from environment if job doesn't have oneLin Jen-Shin2017-05-251-10/+32
| | | | | | | | | | | | | | | | Also update the document and add a changelog entry
| * | | Add tests for CI_ENVIRONMENT_URLLin Jen-Shin2017-05-251-6/+53
| |/ /
* | | Refine implementation of pipeline stage seedsGrzegorz Bizon2017-06-021-7/+7
| | |
* | | Rename `Ci::Stage` class to `Ci::LegacyStage`Grzegorz Bizon2017-06-012-2/+2
| | |
* | | Rename pipeline methods related to legacy stagesGrzegorz Bizon2017-06-011-7/+7
| | |
* | | Expose pipeline stage seeds from pipeline instanceGrzegorz Bizon2017-05-311-0/+11
| | |
* | | Expose stage model attributes from pipeline objectGrzegorz Bizon2017-05-301-0/+14
|/ /
* | Exclude manual actions from cancelable jobs scopefix/gb/exclude-manual-actions-from-cancelable-jobsGrzegorz Bizon2017-05-191-0/+10
|/
* Remove rails dependent: :destroy statementZ.J. van de Weg2017-05-111-1/+1
| | | | | | | Enforced by the database, and no callbacks need to be called. Combined with 7b9b2c6099 and 294a8b8a6d this resolves gitlab-org/gitlab-ce#31799
* Merge branch 'retried-in-database-mysql' into 'master' Regis Boudinot2017-05-102-14/+24
|\ | | | | | | | | | | | | Retried in database Closes #25737 See merge request !11115
| * Store retried in database for CI buildsretried-in-database-mysqlKamil Trzcinski2017-05-072-14/+24
| |
* | Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-2/+2
| | | | | | | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Fix specs 2Felipe Artur2017-05-081-1/+1
| |
* | Fix SpecsFelipe Artur2017-05-081-1/+1
| |
* | Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg2017-05-074-109/+113
|/
* Merge branch 'feature/gb/manual-actions-protected-branches-permissions' into ↵Kamil Trzciński2017-05-061-28/+14
|\ | | | | | | | | | | | | | | | | | | 'master' Check access to a branch when user triggers manual action Closes #20261 See merge request !10494
| * Merge commit '3a2b60f7' from 'master'Grzegorz Bizon2017-05-052-0/+76
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3a2b60f7a0109cdb84e8727a2625318a746e84dc': (151 commits) Fixed Karma spec Reject EE reserved namespace paths in CE as well Updated webpack config Include the bundler:audit job into the static-analysis job Document serializers Add artifact file page that uses the blob viewer Pipeline table mini graph dropdown remains open when table is refreshed Adds off for event hub Compile gitlab-shell go executables Allow to create new branch and empty WIP merge request from issue page Moved to a view spec Improving copy of CONTRIBUTING.md, PROCESS.md, and code_review.md Convert seconds to minutes and hours on chat notifations Disable navigation to Pages config if Pages is disabled Sort the network graph both by commit date and topographically. Add tooltips to note action buttons Add breadcrumb, build header and pipelines submenu to artifacts browser Update todos screenshots removes the possibility of commit messages having carriage returns Handle incoming emails from aliases correctly ...
| * \ Merge branch 'master' into ↵Grzegorz Bizon2017-05-021-24/+67
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/gb/manual-actions-protected-branches-permissions * master: (314 commits) Better Explore Groups view Update Carrierwave and fog-core Add specs for Gitlab::RequestProfiler Add scripts/static-analysis to run all the static analysers in one go Shorten and improve some job names Group static-analysis jobs into a single job Don't blow up when email has no References header Update CHANGELOG.md for 9.1.2 Add changelog Add changelog Show Raw button as Download for binary files Use blob viewers for snippets Fix typo Fixed transient failure related to dropdown animations Revert "Merge branch 'tc-no-todo-service-select' into 'master'" fix link to MR 10416 Another change from .click -> .trigger('click') to make spec pass Change from .click -> .trigger('click') to make spec pass Disable AddColumnWithDefaultToLargeTable cop for pre-existing migrations Add AddColumnWithDefaultToLargeTable cop ... Conflicts: spec/requests/api/jobs_spec.rb
| * | | Fix Rubocop offense in environments policy classGrzegorz Bizon2017-05-011-1/+1
| | | |
| * | | Merge branch 'master' into ↵Grzegorz Bizon2017-04-135-429/+222
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/gb/manual-actions-protected-branches-permissions * master: (641 commits) Revert "Fix registry for projects with uppercases in path" Fix registry for projects with uppercases in path Move event icons into events_helper Reset New branch button when issue state changes Add link to environments on kubernetes.md Indent system notes on desktop screens Improve webpack-dev-server compatibility with non-localhost setups. Add changelog entry Fix recent searches icon alignment in Safari Use preload to avoid Rails using JOIN Fix NUMBER_OF_TRUNCATED_DIFF_LINES re-definition error Prepare for zero downtime migrations Fix filtered search input width for IE Fix the `gitlab:gitlab_shell:check` task Fixed random failures with Poll spec Include CONTRIBUTING.md file when importing .gitlab-ci.yml templates Let uses hide verbose output by default Separate examples for each other Collapse similar sibling scenarios Use empty_project for resources that are independent of the repo ... Conflicts: app/views/projects/ci/builds/_build.html.haml
| * | | | Use build policy to determine if user can play buildGrzegorz Bizon2017-04-121-27/+0
| | | | |
| * | | | Extract build play specs and extend test examplesGrzegorz Bizon2017-04-121-34/+2
| | | | |