From 4340c26324948adf59b42a973c7cbceb5b76bff0 Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Tue, 9 Oct 2018 11:55:22 +0200 Subject: Remove security report summary from pipelines view This removes the Vue component, corresponding tests and haml/bundle entry points for the Security Report summary in the pipelines view --- app/views/projects/pipelines/_info.html.haml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml index ccb83148ded..dbb563f51ea 100644 --- a/app/views/projects/pipelines/_info.html.haml +++ b/app/views/projects/pipelines/_info.html.haml @@ -30,5 +30,3 @@ %span.js-details-content.hide = link_to @pipeline.sha, project_commit_path(@project, @pipeline.sha), class: "commit-sha commit-hash-full" = clipboard_button(text: @pipeline.sha, title: "Copy commit SHA to clipboard") - - = render_if_exists "projects/pipelines/info_extension", pipeline: @pipeline -- cgit v1.2.1 From e15016ede5999e827e2e4c7c7d953fbc482c4cfb Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Fri, 14 Sep 2018 15:17:19 +0200 Subject: Move the Auto DevOps note to the top --- doc/topics/autodevops/index.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/doc/topics/autodevops/index.md b/doc/topics/autodevops/index.md index 0d1ba3e8f9a..c60d25eda1b 100644 --- a/doc/topics/autodevops/index.md +++ b/doc/topics/autodevops/index.md @@ -7,6 +7,14 @@ applications. ## Overview +NOTE: **Enabled by default:** +Starting with GitLab 11.3, the Auto DevOps pipeline will be enabled by default for all +projects. If it's not explicitly enabled for the project, Auto DevOps will be automatically +disabled on the first pipeline failure. Your project will continue to use an alternative +[CI/CD configuration file](../../ci/yaml/README.md) if one is found. A GitLab +administrator can [change this setting](../../user/admin_area/settings/continuous_integration.html#auto-devops) +in the admin area. + With Auto DevOps, the software development process becomes easier to set up as every project can have a complete workflow from verification to monitoring without needing to configure anything. Just push your code and GitLab takes @@ -214,22 +222,16 @@ manually triggered either by pushing a new commit to the repository or by visiti a new pipeline for your default branch, generally `master`. NOTE: **Note:** -If you are a GitLab Administrator, you can enable Auto DevOps instance wide -in **Admin Area > Settings > Continuous Integration and Deployment**. Doing that, -all the projects that haven't explicitly set an option will have Auto DevOps -enabled by default. +If you are a GitLab Administrator, you can +[enable/disable Auto DevOps instance-wide](../../user/admin_area/settings/continuous_integration.md#auto-devops), +and all projects that haven't explicitly set an option will have Auto DevOps +enabled/disabled by default. NOTE: **Note:** There is also a feature flag to enable Auto DevOps to a percentage of projects which can be enabled from the console with `Feature.get(:force_autodevops_on_by_default).enable_percentage_of_actors(10)`. -NOTE: **Enabled by default:** -Starting with GitLab 11.3, the Auto DevOps pipeline will be enabled by default for all -projects. If it's not explicitly enabled for the project, Auto DevOps will be automatically -disabled on the first pipeline failure. Your project will continue to use an alternative -[CI/CD configuration file](../../ci/yaml/README.md) if one is found. - ### Deployment strategy > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/38542) in GitLab 11.0. -- cgit v1.2.1 From d36055cbef1e5f2e9ffe1b0b9c1ad32e85bb5248 Mon Sep 17 00:00:00 2001 From: Mark Lapierre Date: Wed, 26 Sep 2018 15:15:35 -0400 Subject: Add tests of adding file templates Adds tests that adds new files via file templates via the Files view and the Web IDE. Includes changes to page objects and associated code Fetches template content from the API rather than hardcoding strings that will need to be updated if the templates change. Some of the content is stored as flat files but we can't use them because they're not included in the docker images gitlab-qa uses. --- .../ide/components/commit_sidebar/form.vue | 4 +- .../ide/components/file_templates/bar.vue | 4 +- .../ide/components/file_templates/dropdown.vue | 2 +- app/assets/javascripts/ide/components/ide_tree.vue | 2 +- .../javascripts/ide/components/ide_tree_list.vue | 2 +- .../ide/components/new_dropdown/modal.vue | 4 +- .../javascripts/vue_shared/components/gl_modal.vue | 12 ++- .../projects/blob/_template_selectors.html.haml | 10 +-- app/views/projects/buttons/_dropdown.html.haml | 4 +- app/views/projects/tree/_tree_header.html.haml | 2 +- qa/qa.rb | 8 ++ qa/qa/factory/resource/file.rb | 4 +- qa/qa/page/base.rb | 4 + qa/qa/page/component/dropdown_filter.rb | 18 +++++ qa/qa/page/file/form.rb | 28 +++++++ qa/qa/page/project/show.rb | 20 ++++- qa/qa/page/project/web_ide/edit.rb | 79 ++++++++++++++++++++ qa/qa/runtime/fixtures.rb | 19 +++++ qa/qa/runtime/path.rb | 13 ++++ .../3_create/repository/add_file_template_spec.rb | 77 +++++++++++++++++++ .../3_create/web_ide/add_file_template_spec.rb | 87 ++++++++++++++++++++++ 21 files changed, 377 insertions(+), 26 deletions(-) create mode 100644 qa/qa/page/component/dropdown_filter.rb create mode 100644 qa/qa/page/project/web_ide/edit.rb create mode 100644 qa/qa/runtime/fixtures.rb create mode 100644 qa/qa/runtime/path.rb create mode 100644 qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb create mode 100644 qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb diff --git a/app/assets/javascripts/ide/components/commit_sidebar/form.vue b/app/assets/javascripts/ide/components/commit_sidebar/form.vue index ee8eb206980..802827fce76 100644 --- a/app/assets/javascripts/ide/components/commit_sidebar/form.vue +++ b/app/assets/javascripts/ide/components/commit_sidebar/form.vue @@ -117,7 +117,7 @@ export default {