summaryrefslogtreecommitdiff
path: root/spec/models/ci/build_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
* | 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
|/
* 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 Rubocop offense in environments policy classGrzegorz Bizon2017-05-011-1/+1
|
* Merge branch 'master' into ↵Grzegorz Bizon2017-04-131-241/+95
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge remote-tracking branch 'origin/master' into optimise-pipelinesoptimise-pipelinesKamil Trzcinski2017-04-061-207/+95
| |\
| | * Merge branch 'feature/multi-level-container-registry-images' into 'master' Kamil Trzciński2017-04-061-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Multi-level container registry images Closes #17801 See merge request !10109
| | | * Merge branch 'master' into feature/multi-level-container-registry-imagesGrzegorz Bizon2017-03-211-44/+107
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1327 commits) Merge branch 'render-json-leak' into 'security' Merge branch 'ssrf' into 'security' Merge branch 'ssrf' into 'security' Merge branch 'fix-links-target-blank' into 'security' Merge branch '28058-hide-emails-in-atom-feeds' into 'security' Fix karma test Reset filters after click Handle Route#name being nil after an update Only add frontend code coverage instrumentation when generating coverage report fix recompile assets step in 9.0 upgrade guide to use yarn Undo explicit conversion to Integer Make level_value accept string integers Make feature spec more robust Removed d3.js from the main application.js bundle Extend compound status for manual actions specs Update css to be nice and tidy. Fix pipeline status for transition between stages add an index to the ghost column Return 404 in project issues API endpoint when project cannot be found Improve rename projects migration ... Conflicts: doc/ci/docker/using_docker_build.md spec/lib/gitlab/import_export/all_models.yml
| | | * | Fixes broken and missing testsAndre Guedes2017-02-221-1/+1
| | | | |
| | * | | Optimise trace handling code to use streaming instead of full readKamil Trzciński2017-04-061-206/+94
| | | |/ | | |/|
| * | | We no longer has has_command? methodLin Jen-Shin2017-04-061-34/+0
| |/ /
* | | 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
| | |
* | | Check branch access when user triggers manual actionGrzegorz Bizon2017-04-061-12/+53
| | |
* | | Improve specs related to CI/CD job environmentGrzegorz Bizon2017-04-061-8/+12
|/ /
* | All CI offline migrationsKamil Trzciński2017-03-171-2/+2
| |
* | Rename REF to SHAZ.J. van de Weg2017-03-071-1/+1
| |
* | Rename BUILD to JOB in CI Variableszj-variables-build-jobZ.J. van de Weg2017-03-071-19/+22
| | | | | | | | | | | | | | | | Given GitLab moves away from using the term build, everywhere, also the CI variables are being renamed. For now, both `CI_BUILD_X` and `CI_JOB_X` are supported, with the same values. However, in about 3 months, support will be dropped.
* | Fix Rubocop offenses in commit status/build specsGrzegorz Bizon2017-03-061-4/+2
| |
* | Ignore optional actions when calculating warningsGrzegorz Bizon2017-03-061-1/+9
| |
* | Add specs for presence of build commandsGrzegorz Bizon2017-03-061-0/+38
| |
* | Add specs for new pipeline and build action eventsGrzegorz Bizon2017-03-061-0/+24
| |
* | Reinstitute a core `manual` status for manual actionsGrzegorz Bizon2017-03-061-2/+2
| |
* | Remove unused method from CI/CD build classfix/gb/remove-unused-method-from-buildGrzegorz Bizon2017-03-011-14/+0
| |
* | Merge branch 'dm-more-namespace-full-path' into 'master' Sean McGivern2017-02-241-2/+2
|\ \ | | | | | | | | | | | | Use Namespace#full_path instead of #path where appropriate See merge request !9495
| * | Use Namespace#full_path instead of #path where appropriatedm-more-namespace-full-pathDouwe Maan2017-02-231-2/+2
| | |
* | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-241-3/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
| * | Revert "Enable Style/DotPosition"Douwe Maan2017-02-231-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
| * | Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-10/+10
| | | | | | | | | | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
| * | Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
| | |
| * | Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-10/+10
| | |
| * | Fix code for copsDouwe Maan2017-02-231-1/+1
| | |
| * | Enable Style/SpaceInsideBracketsDouwe Maan2017-02-231-2/+2
| | |
| * | Enable Style/DotPositionDouwe Maan2017-02-231-8/+8
| |/
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-211-18/+30
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (234 commits) Improve performance of User Agent Detail Fix some grammar in the API docs Remove shared example for pagination API: Use POST to (un)block a user API: Moved `DELETE /projects/:id/star` to `POST /projects/:id/unstar` Use grape validation for dates Change wording for LDAP doc that was moved to a new location API: Remove `DELETE projects/:id/deploy_keys/:key_id/disable` Download snippets with LF line-endings by default utilize pre-minified Vue in production since no CJS distribution is available Prevent project team from being truncated too early during project destruction loading icon sometimes toggled alongside MR pipeline contents fix failed spec because haml_lint fix incorrect sidekiq concurrency count in admin background page exclude rpc_pipefs from system disc info Fix wrong line ending [ci-skip] fix overlooked window binding in spec files remove imports loader replace implicit this == window with explicit binding Todo done clicking is kind of unusable. ...
| * Prefer using `project.add_developer` in specsGrzegorz Bizon2017-02-151-3/+3
| |
| * Fix CI build specs after adding retry ability checkGrzegorz Bizon2017-02-131-18/+30
| |
* | 0 for unlimited, disallow blank, feedback:Lin Jen-Shin2017-02-161-0/+6
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23520780
* | Initial implementation for default artifacts expirationLin Jen-Shin2017-02-151-1/+1
|/ | | | TODO: Add tests and screenshots
* Fix broken tests17662-rename-buildsFilipa Lacerda2017-02-031-2/+2
| | | | | | | | | | | | | | | | | | | | 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
* Merge branch '20248-add-coverage-regex-in-job-yaml' into 'master'Douwe Maan2017-02-021-0/+41
|\ | | | | | | | | | | | | Add ability to define a coverage regex in the .gitlab-ci.yml Closes #20428 See merge request !7447
| * Make more code improvements around the '/' stripping logicLeandro Camargo2017-01-251-2/+2
| |
| * Force coverage value to always be surrounded by '/'Leandro Camargo2017-01-251-4/+5
| |
| * Improve specs styles/organization and add some more specsLeandro Camargo2017-01-251-6/+7
| |
| * Comply to more requirements and requests made in the code reviewLeandro Camargo2017-01-251-3/+8
| |
| * Simplify coverage setting and comply to some requests in code reviewLeandro Camargo2017-01-251-3/+4
| |