Docs: Remove dependency between build-frontend and build-frontend-docs (#45736) (#45768)

* Remove dependency

* Add yarn commands

(cherry picked from commit 02640c7436)
This commit is contained in:
Dimitris Sotirakis
2022-02-23 12:43:45 +01:00
committed by GitHub
parent 7fb85157c9
commit ec21ded065
3 changed files with 15 additions and 27 deletions
-3
View File
@@ -26,9 +26,6 @@ load(
def docs_pipelines(edition, ver_mode, trigger):
steps = [download_grabpl_step()] + initialize_step(edition, platform='linux', ver_mode=ver_mode)
steps.extend([
build_frontend_step(edition=edition, ver_mode=ver_mode),
])
# Insert remaining steps
steps.extend([
+5 -2
View File
@@ -189,7 +189,7 @@ def enterprise_downstream_step(edition):
'grafana/grafana-enterprise@main',
],
'params': [
'SOURCE_BUILD_NUMBER=${DRONE_BUILD_NUMBER}',
'SOURCE_BUILD_NUMBER=${DRONE_COMMIT}',
'SOURCE_COMMIT=${DRONE_COMMIT}',
],
},
@@ -427,9 +427,12 @@ def build_frontend_docs_step(edition):
'name': 'build-frontend-docs',
'image': build_image,
'depends_on': [
'build-frontend'
'initialize'
],
'commands': [
'yarn packages:build',
'yarn packages:docsExtract',
'yarn packages:docsToMarkdown',
'./scripts/ci-reference-docs-lint.sh ci',
]
}