CI: Add docs pipeline for main pipelines (#45740)

* Add docs pipeline for main

* Extract trigger docs

* Change trigger for main
This commit is contained in:
Dimitris Sotirakis
2022-02-22 18:06:14 +00:00
committed by GitHub
parent 4a804b57f7
commit ea3e41ea62
5 changed files with 77 additions and 23 deletions
+6 -2
View File
@@ -18,7 +18,6 @@ load(
'e2e_tests_step',
'e2e_tests_artifacts',
'build_storybook_step',
'build_frontend_docs_step',
'copy_packages_for_docker_step',
'build_docker_images_step',
'publish_images_step',
@@ -55,6 +54,11 @@ load(
'drone_change_template',
)
load(
'scripts/drone/pipelines/docs.star',
'docs_pipelines',
)
ver_mode = 'main'
def get_steps(edition, is_downstream=False):
@@ -110,7 +114,6 @@ def get_steps(edition, is_downstream=False):
store_storybook_step(edition=edition, ver_mode=ver_mode),
test_a11y_frontend_step(ver_mode=ver_mode, edition=edition),
frontend_metrics_step(edition=edition),
build_frontend_docs_step(edition=edition),
copy_packages_for_docker_step(),
build_docker_images_step(edition=edition, ver_mode=ver_mode, publish=False),
build_docker_images_step(edition=edition, ver_mode=ver_mode, ubuntu=True, publish=False),
@@ -171,6 +174,7 @@ def main_pipelines(edition):
integration_test_steps.append(benchmark_ldap_step())
pipelines = [
docs_pipelines(edition, ver_mode, trigger),
pipeline(
name='main-test', edition=edition, trigger=trigger, services=[],
steps=[download_grabpl_step()] + initialize_step(edition, platform='linux', ver_mode=ver_mode) + test_steps,