Commit Graph

24 Commits

Author SHA1 Message Date
GitLab Bot 1bcebb67d5 Add latest changes from gitlab-org/gitlab@master 2022-03-09 21:07:04 +00:00
GitLab Bot 71a67d17b0 Add latest changes from gitlab-org/gitlab@master 2021-05-12 12:10:24 +00:00
GitLab Bot 9d485c177e Add latest changes from gitlab-org/gitlab@master 2021-05-10 06:10:25 +00:00
GitLab Bot 52dbfea964 Add latest changes from gitlab-org/gitlab@master 2021-05-06 18:10:06 +00:00
GitLab Bot 52e32e255f Add latest changes from gitlab-org/gitlab@master 2021-04-28 18:10:12 +00:00
GitLab Bot 61ee5c3635 Add latest changes from gitlab-org/gitlab@master 2021-04-06 09:09:03 +00:00
GitLab Bot 76215aab04 Add latest changes from gitlab-org/gitlab@master 2021-01-26 00:08:57 +00:00
GitLab Bot b6ecd9d9d4 Add latest changes from gitlab-org/gitlab@master 2020-12-21 00:10:18 +00:00
GitLab Bot 63546c0b11 Add latest changes from gitlab-org/gitlab@master 2020-06-04 12:08:21 +00:00
GitLab Bot cefe554b7c Add latest changes from gitlab-org/gitlab@master 2020-02-18 06:09:06 +00:00
GitLab Bot eb30dd6e28 Add latest changes from gitlab-org/gitlab@master 2020-01-13 12:08:04 +00:00
GitLab Bot e3e300557f Add latest changes from gitlab-org/gitlab@master 2020-01-08 12:07:59 +00:00
GitLab Bot c0d8f9f3f9 Add latest changes from gitlab-org/gitlab@master 2020-01-03 09:07:33 +00:00
GitLab Bot 914ea32e0e Add latest changes from gitlab-org/gitlab@master 2019-10-16 09:07:51 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Grzegorz Bizon b9c19f6b0f Do not serialize a pipeline again when showing a build
This change makes it possible to avoid additional serialization of
entire pipeline when rendering a build details page. Instead we expose
more information from the build entity itself what is much cheaper than
serializing entire pipeline.

Additionally we do not need to serialize `latest?` flag, which involves
multiple Gitaly calls.
2019-05-24 10:04:04 +01:00
Shinya Maeda 7fc74818a3 Add scheduled_actions as an explicit group of actions 2018-10-02 17:08:14 +02:00
gfyoung dce26700b2 Enable frozen string in app/serializers/**/*.rb
Partially addresses #47424.
2018-07-23 11:27:39 -07:00
Grzegorz Bizon fc3d214130 Add a feature flag for switching pipeline stages 2018-05-29 15:20:10 +02:00
Grzegorz Bizon 76a7157c76 Abstract persisted/legacy stages in pipeline model 2018-05-22 13:04:07 +02:00
Grzegorz Bizon 631bd9bf08 Use persisted stages to load pipelines index table 2018-05-21 15:13:32 +02:00
Grzegorz Bizon 79380fe5fb Merge branch 'master' into feature/gb/persist-pipeline-stages
* 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
2017-06-05 12:51:59 +02:00
Z.J. van de Weg 8a9a62e329 Incorporate review 2017-05-31 21:56:18 +02:00
Z.J. van de Weg 68569584b7 Create PipelineDetailsEntity
Now we have a PipelineEntity which is a bit smaller, mostly in bytes
needing to send to the frontend. PipelineDetailsEntity is the default
for the PipelineSerializer, limiting the changes needed.

This commit also incorporates the review.
2017-05-31 21:44:53 +02:00