Skip to content
代码片段 群组 项目
提交 6d9298fa 编辑于 作者: Dmitry Silin's avatar Dmitry Silin 提交者: Frédéric Caplette
浏览文件

Renamed View Merged YAML to Full configuration

Changelog: changed
上级 03da5bfc
No related branches found
No related tags found
无相关合并请求
......@@ -6,7 +6,7 @@ import SourceEditor from '~/vue_shared/components/source_editor.vue';
export default {
i18n: {
viewOnlyMessage: s__('Pipelines|Merged YAML is view only'),
viewOnlyMessage: s__('Pipelines|Full configuration is view only'),
},
components: {
SourceEditor,
......
......@@ -31,7 +31,7 @@ export default {
tabEdit: s__('Pipelines|Edit'),
tabGraph: s__('Pipelines|Visualize'),
tabLint: s__('Pipelines|Lint'),
tabMergedYaml: s__('Pipelines|View merged YAML'),
tabMergedYaml: s__('Pipelines|Full configuration'),
tabValidate: s__('Pipelines|Validate'),
empty: {
visualization: s__(
......@@ -41,12 +41,12 @@ export default {
'PipelineEditor|The CI/CD configuration is continuously validated. Errors and warnings are displayed when the CI/CD configuration file is not empty.',
),
merge: s__(
'PipelineEditor|The merged YAML view is displayed when the CI/CD configuration file has valid syntax.',
'PipelineEditor|The full configuration view is displayed when the CI/CD configuration file has valid syntax.',
),
},
},
errorTexts: {
loadMergedYaml: s__('Pipelines|Could not load merged YAML content'),
loadMergedYaml: s__('Pipelines|Could not load full configuration content'),
},
query: {
TAB_QUERY_PARAM,
......
......@@ -21,7 +21,7 @@ From the pipeline editor page you can:
added with the [`include`](../yaml/index.md#include) keyword.
- View a [list of the CI/CD configuration added with the `include` keyword](#view-included-cicd-configuration).
- See a [visualization](#visualize-ci-configuration) of the current configuration.
- View an [expanded](#view-expanded-configuration) version of your configuration.
- View the [full configuration](#view-full-configuration), which displays the configuration with any configuration from `include` added.
- [Commit](#commit-changes-to-ci-configuration) the changes to a specific branch.
In GitLab 13.9 and earlier, you must already have [a `.gitlab-ci.yml` file](../quick_start/index.md#create-a-gitlab-ciyml-file)
......@@ -95,13 +95,14 @@ Hover over a job to highlight its `needs` relationships:
If the configuration does not have any `needs` relationships, then no lines are drawn because
each job depends only on the previous stage being completed successfully.
## View expanded configuration
## View full configuration
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/246801) in GitLab 13.9.
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/301103) in GitLab 13.12.
> - **View merged YAML** tab [renamed to **Full configuration**](https://gitlab.com/gitlab-org/gitlab/-/issues/377404) in GitLab 16.0.
To view the fully expanded CI/CD configuration as one combined file, go to the
pipeline editor's **View merged YAML** tab. This tab displays an expanded configuration
pipeline editor's **Full configuration** tab. This tab displays an expanded configuration
where:
- Configuration imported with [`include`](../yaml/index.md#include) is copied into the view.
......@@ -130,7 +131,7 @@ fully expanded version are both valid:
- pyflakes python/
```
- Expanded configuration in **View merged YAML** tab:
- Expanded configuration in **Full configuration** tab:
```yaml
".python-req":
......@@ -169,7 +170,7 @@ It can happen when:
- The syntax status on the **Edit** tab (valid or invalid).
- The **Visualize** tab.
- The **Lint** tab.
- The **View merged YAML** tab.
- The **Full configuration** tab.
You can still work on your CI/CD configuration and commit the changes you made without
any issues. As soon as the service becomes available again, the syntax validation
......
......@@ -313,7 +313,7 @@ likely to hit the default memory limit.
To reduce the configuration size, you can:
- Check the length of the expanded CI/CD configuration in the pipeline editor's
[merged YAML](pipeline_editor/index.md#view-expanded-configuration) tab. Look for
[Full configuration](pipeline_editor/index.md#view-full-configuration) tab. Look for
duplicated configuration that can be removed or simplified.
- Move long or repeated `script` sections into standalone scripts in the project.
- Use [parent and child pipelines](pipelines/downstream_pipelines.md#parent-child-pipelines) to move some
......
......@@ -279,7 +279,7 @@ use a template from:
The project CI/CD configuration merges into the required pipeline configuration when
a pipeline runs. The merged configuration is the same as if the required pipeline configuration
added the project configuration with the [`include` keyword](../../../ci/yaml/index.md#include).
To view a project's full merged configuration, [View the merged YAML](../../../ci/pipeline_editor/index.md#view-expanded-configuration)
To view a project's full merged configuration, [View full configuration](../../../ci/pipeline_editor/index.md#view-full-configuration)
in the pipeline editor.
To select a CI/CD template for the required pipeline configuration:
......
......@@ -32252,7 +32252,7 @@ msgstr ""
msgid "PipelineEditor|The CI/CD configuration is continuously validated. Errors and warnings are displayed when the CI/CD configuration file is not empty."
msgstr ""
 
msgid "PipelineEditor|The merged YAML view is displayed when the CI/CD configuration file has valid syntax."
msgid "PipelineEditor|The full configuration view is displayed when the CI/CD configuration file has valid syntax."
msgstr ""
 
msgid "PipelineEditor|The pipeline visualization is displayed when the CI/CD configuration file has valid syntax."
......@@ -32567,7 +32567,7 @@ msgstr ""
msgid "Pipelines|Could not load artifacts."
msgstr ""
 
msgid "Pipelines|Could not load merged YAML content"
msgid "Pipelines|Could not load full configuration content"
msgstr ""
 
msgid "Pipelines|Description"
......@@ -32585,6 +32585,12 @@ msgstr ""
msgid "Pipelines|Follow these instructions to install GitLab Runner on macOS."
msgstr ""
 
msgid "Pipelines|Full configuration"
msgstr ""
msgid "Pipelines|Full configuration is view only"
msgstr ""
msgid "Pipelines|Get familiar with GitLab CI syntax by setting up a simple pipeline running a \"Hello world\" script to see how it runs, explore how CI/CD works."
msgstr ""
 
......@@ -32627,9 +32633,6 @@ msgstr ""
msgid "Pipelines|Loading pipelines"
msgstr ""
 
msgid "Pipelines|Merged YAML is view only"
msgstr ""
msgid "Pipelines|More Information"
msgstr ""
 
......@@ -32750,9 +32753,6 @@ msgstr ""
msgid "Pipelines|Validating GitLab CI configuration…"
msgstr ""
 
msgid "Pipelines|View merged YAML"
msgstr ""
msgid "Pipelines|Visualize"
msgstr ""
 
......@@ -122,8 +122,8 @@ def go_to_visualize_tab
go_to_tab('Visualize')
end
def go_to_view_merged_yaml_tab
go_to_tab('View merged YAML')
def go_to_full_configuration_tab
go_to_tab('Full configuration')
end
def go_to_validate_tab
......
......@@ -74,7 +74,7 @@ module QA
show.simulate_pipeline
expect(show.tab_alert_title).to have_content('Simulation completed successfully')
show.go_to_view_merged_yaml_tab
show.go_to_full_configuration_tab
expect(show).to have_source_editor
end
end
......@@ -101,7 +101,7 @@ module QA
expect(show.ci_syntax_validate_message).to have_content('CI configuration is invalid')
show.go_to_view_merged_yaml_tab
show.go_to_full_configuration_tab
# TODO: remove this retry when
# https://gitlab.com/gitlab-org/gitlab/-/issues/378536 is resolved
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册