From f78257cbddd711e18cbce93ad740a4aa0acac347 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 6 Mar 2020 15:08:05 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- CHANGELOG.md | 1 - app/assets/javascripts/diffs/components/app.vue | 2 +- app/models/ci/bridge.rb | 4 + app/models/ci/pipeline.rb | 4 + app/models/snippet.rb | 2 + .../projects/update_repository_storage_service.rb | 47 ++++-- app/workers/post_receive.rb | 5 + ...prevent-editing-weight-to-scroll-to-the-top.yml | 5 + .../add-retiresjs-vars-to-dependency-scanning.yml | 5 + .../unreleased/add-trigger-include-artifact.yml | 5 + ...w-selecting-all-queues-with-sidekiq-cluster.yml | 5 + .../unreleased/allow-to-disable-defaults.yml | 5 + .../fj-update-snippet-from-git-action.yml | 5 + .../unreleased/remove-cs-kubernetes-workaround.yml | 5 + .../unreleased/update_repo_storage_checksum.yml | 5 + config/environments/development.rb | 10 ++ .../gitlab_self_monitoring_project/index.md | 7 +- .../operations/extra_sidekiq_processes.md | 24 ++- doc/administration/troubleshooting/sidekiq.md | 20 +++ doc/ci/yaml/README.md | 36 +++++ doc/development/profiling.md | 13 ++ doc/development/sidekiq_debugging.md | 19 +-- lib/gitlab/ci/artifact_file_reader.rb | 71 +++++++++ lib/gitlab/ci/config.rb | 14 +- lib/gitlab/ci/config/entry/bridge.rb | 7 +- lib/gitlab/ci/config/entry/include.rb | 2 +- lib/gitlab/ci/config/entry/inherit.rb | 30 ++++ lib/gitlab/ci/config/entry/job.rb | 7 +- lib/gitlab/ci/config/entry/processable.rb | 30 +++- lib/gitlab/ci/config/entry/root.rb | 13 +- lib/gitlab/ci/config/entry/workflow.rb | 1 - lib/gitlab/ci/config/external/context.rb | 5 +- lib/gitlab/ci/config/external/file/artifact.rb | 93 ++++++++++++ lib/gitlab/ci/config/external/file/local.rb | 3 +- lib/gitlab/ci/config/external/file/project.rb | 3 +- lib/gitlab/ci/config/external/mapper.rb | 3 +- lib/gitlab/ci/pipeline/chain/base.rb | 2 +- lib/gitlab/ci/pipeline/chain/command.rb | 4 + lib/gitlab/ci/pipeline/chain/config/process.rb | 3 +- .../Security/Container-Scanning.gitlab-ci.yml | 9 +- .../Security/Dependency-Scanning.gitlab-ci.yml | 2 + lib/gitlab/ci/yaml_processor.rb | 9 +- lib/gitlab/config/entry/attributable.rb | 2 +- lib/gitlab/config/entry/configurable.rb | 15 +- locale/gitlab.pot | 12 ++ scripts/trigger-build | 6 +- spec/fixtures/ci_build_artifacts.zip | Bin 106365 -> 107464 bytes spec/lib/backup/manager_spec.rb | 17 ++- spec/lib/gitlab/ci/artifact_file_reader_spec.rb | 100 ++++++++++++ spec/lib/gitlab/ci/config/entry/bridge_spec.rb | 2 + spec/lib/gitlab/ci/config/entry/job_spec.rb | 16 +- spec/lib/gitlab/ci/config/entry/jobs_spec.rb | 1 + .../lib/gitlab/ci/config/entry/processable_spec.rb | 105 +++++++++++-- spec/lib/gitlab/ci/config/entry/root_spec.rb | 17 ++- .../ci/config/external/file/artifact_spec.rb | 167 +++++++++++++++++++++ .../gitlab/ci/config/external/file/local_spec.rb | 17 ++- .../gitlab/ci/config/external/file/project_spec.rb | 17 ++- spec/lib/gitlab/ci/config_spec.rb | 88 ++++++++--- spec/lib/gitlab/ci/yaml_processor_spec.rb | 76 +++++++--- spec/lib/gitlab/config/entry/attributable_spec.rb | 2 +- spec/models/ci/job_artifact_spec.rb | 6 +- spec/models/ci/pipeline_spec.rb | 13 ++ spec/models/snippet_spec.rb | 26 ++++ spec/requests/api/runner_spec.rb | 2 +- .../custom_config_content_spec.rb | 67 +++++++-- spec/services/projects/fork_service_spec.rb | 1 + .../update_repository_storage_service_spec.rb | 68 ++++++--- .../gitlab/config/inheritable_shared_examples.rb | 8 +- ...e_repository_storage_service_shared_examples.rb | 46 +++++- spec/workers/post_receive_spec.rb | 22 ++- 70 files changed, 1242 insertions(+), 222 deletions(-) create mode 100644 changelogs/unreleased/207249-prevent-editing-weight-to-scroll-to-the-top.yml create mode 100644 changelogs/unreleased/add-retiresjs-vars-to-dependency-scanning.yml create mode 100644 changelogs/unreleased/add-trigger-include-artifact.yml create mode 100644 changelogs/unreleased/allow-selecting-all-queues-with-sidekiq-cluster.yml create mode 100644 changelogs/unreleased/allow-to-disable-defaults.yml create mode 100644 changelogs/unreleased/fj-update-snippet-from-git-action.yml create mode 100644 changelogs/unreleased/remove-cs-kubernetes-workaround.yml create mode 100644 changelogs/unreleased/update_repo_storage_checksum.yml create mode 100644 lib/gitlab/ci/artifact_file_reader.rb create mode 100644 lib/gitlab/ci/config/entry/inherit.rb create mode 100644 lib/gitlab/ci/config/external/file/artifact.rb create mode 100644 spec/lib/gitlab/ci/artifact_file_reader_spec.rb create mode 100644 spec/lib/gitlab/ci/config/external/file/artifact_spec.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index f9c320e9e96..f257df035f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ entry. ## 12.8.4 -- No changes. ### Fixed (8 changes) - Fix Group Import API file upload when object storage is disabled. !25715 diff --git a/app/assets/javascripts/diffs/components/app.vue b/app/assets/javascripts/diffs/components/app.vue index f9d3d31e152..77cd2afc106 100644 --- a/app/assets/javascripts/diffs/components/app.vue +++ b/app/assets/javascripts/diffs/components/app.vue @@ -398,7 +398,7 @@ export default { }" > -
+