[v7.3.x] Drone: Fix docs building (#28987)
* Drone: Fix docs building (#28986)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 9582e0afd9)
* Updated
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
co-authored by
Arve Knudsen
Torkel Ödegaard
parent
0c5524786b
commit
3d4ff87721
+1
-11
@@ -155,7 +155,7 @@ steps:
|
||||
image: grafana/docs-base:latest
|
||||
commands:
|
||||
- mkdir -p /hugo/content/docs/grafana
|
||||
- cp -r docs/sources /hugo/content/docs/grafana/latest
|
||||
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
|
||||
- cd /hugo && make prod
|
||||
depends_on:
|
||||
- initialize
|
||||
@@ -458,16 +458,6 @@ steps:
|
||||
depends_on:
|
||||
- build-frontend
|
||||
|
||||
- name: build-docs-website
|
||||
image: grafana/docs-base:latest
|
||||
commands:
|
||||
- mkdir -p /hugo/content/docs/grafana
|
||||
- cp -r docs/sources /hugo/content/docs/grafana/latest
|
||||
- cd /hugo && make prod
|
||||
depends_on:
|
||||
- initialize
|
||||
- build-frontend-docs
|
||||
|
||||
- name: copy-packages-for-docker
|
||||
image: grafana/build-container:1.2.28
|
||||
commands:
|
||||
|
||||
@@ -11,7 +11,7 @@ Overrides allow you to change the settings for one or more fields. Field options
|
||||
|
||||
For example, you could change the number of decimal places shown in all numeric fields or columns by changing the **Decimals** option for **Fields with type** that matches **Numeric**. For more information about options, refer to:
|
||||
- [Standard field options]({{< relref "standard-field-options.md" >}}), which apply to all panel visualizations that allow transformations.
|
||||
- [Table field options]({{< relref "table-field-options.md" >}}), which only apply to table panel visualizations.
|
||||
- There can also be visualization specific field display options
|
||||
|
||||
## Add a field override
|
||||
|
||||
@@ -26,8 +26,6 @@ You can override as many field options as you want to.
|
||||
- **Fields with type -** Allows you to select fields by type, such as string, numeric, and so on. Properties you add to a rule with this selector are applied to all fields that match the selected type.
|
||||
1. Click **Add override property**.
|
||||
1. Select the field option that you want to apply.
|
||||
- [Standard field options]({{< relref "standard-field-options.md" >}}), which apply to all panel visualizations that allow transformations.
|
||||
- [Table field options]({{< relref "table-field-options.md" >}}), which only apply to table panel visualizations.
|
||||
1. Enter options by adding values in the fields. To return options to default values, delete the white text in the fields.
|
||||
1. Continue to add overrides to this field by clicking **Add override property**, or you can click **Add override** and select a different field to add overrides to.
|
||||
1. When finished, click **Save** to save all panel edits to the dashboard.
|
||||
|
||||
+1
-1
@@ -631,7 +631,7 @@ def build_docs_website_step():
|
||||
],
|
||||
'commands': [
|
||||
'mkdir -p /hugo/content/docs/grafana',
|
||||
'cp -r docs/sources /hugo/content/docs/grafana/latest',
|
||||
'cp -r docs/sources/* /hugo/content/docs/grafana/latest/',
|
||||
'cd /hugo && make prod',
|
||||
],
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ load(
|
||||
'e2e_tests_step',
|
||||
'build_storybook_step',
|
||||
'build_frontend_docs_step',
|
||||
'build_docs_website_step',
|
||||
'copy_packages_for_docker_step',
|
||||
'build_docker_images_step',
|
||||
'postgres_integration_tests_step',
|
||||
@@ -54,7 +53,6 @@ def get_steps(edition, is_downstream=False):
|
||||
build_storybook_step(edition=edition, ver_mode=ver_mode),
|
||||
publish_storybook_step(edition=edition, ver_mode=ver_mode),
|
||||
build_frontend_docs_step(edition=edition),
|
||||
build_docs_website_step(),
|
||||
copy_packages_for_docker_step(),
|
||||
build_docker_images_step(edition=edition, ver_mode=ver_mode, publish=publish),
|
||||
build_docker_images_step(edition=edition, ver_mode=ver_mode, ubuntu=True, publish=publish),
|
||||
|
||||
Reference in New Issue
Block a user