Remove build-frontend-packages step from docs pipelines (#56686)

This commit is contained in:
Dimitris Sotirakis 2022-10-11 13:56:43 +03:00 committed by GitHub
parent 74a79b517d
commit efc8f985cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 35 deletions

View File

@ -760,27 +760,12 @@ steps:
NODE_OPTIONS: --max_old_space_size=8192
image: grafana/build-container:1.6.3
name: lint-docs
- commands:
- ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER}
depends_on:
- yarn-install
environment:
NODE_OPTIONS: --max_old_space_size=8192
image: grafana/build-container:1.6.3
name: build-frontend-packages
- commands:
- mkdir -p /hugo/content/docs/grafana
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
- cd /hugo && make prod
image: grafana/docs-base:latest
name: build-docs-website
- commands:
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.19.2
name: compile-build-cmd
trigger:
event:
- pull_request
@ -889,27 +874,12 @@ steps:
NODE_OPTIONS: --max_old_space_size=8192
image: grafana/build-container:1.6.3
name: lint-docs
- commands:
- ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER}
depends_on:
- yarn-install
environment:
NODE_OPTIONS: --max_old_space_size=8192
image: grafana/build-container:1.6.3
name: build-frontend-packages
- commands:
- mkdir -p /hugo/content/docs/grafana
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
- cd /hugo && make prod
image: grafana/docs-base:latest
name: build-docs-website
- commands:
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd
depends_on: []
environment:
CGO_ENABLED: 0
image: golang:1.19.2
name: compile-build-cmd
trigger:
branch: main
event:
@ -5632,6 +5602,6 @@ kind: secret
name: packages_secret_access_key
---
kind: signature
hmac: a8e4587efd7da775019ed2812c5980fb43fdb9ef5da50e2ac7e5c73151b6a685
hmac: d5d39719ea023fdedb6cfa303ed2acac29fe23060c9679c0c40511b3cc215738
...

View File

@ -8,9 +8,7 @@ load(
'codespell_step',
'test_frontend_step',
'build_storybook_step',
'build_frontend_package_step',
'build_docs_website_step',
'compile_build_cmd',
)
load(
@ -40,9 +38,7 @@ def docs_pipelines(edition, ver_mode, trigger):
yarn_install_step(),
codespell_step(),
lint_docs(),
build_frontend_package_step(edition=edition, ver_mode=ver_mode),
build_docs_website_step(),
compile_build_cmd(),
]
return pipeline(