Skip to content

Commit efc8f98

Browse files
authored
Remove build-frontend-packages step from docs pipelines (grafana#56686)
1 parent 74a79b5 commit efc8f98

File tree

2 files changed

+1
-35
lines changed

2 files changed

+1
-35
lines changed

.drone.yml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -760,27 +760,12 @@ steps:
760760
NODE_OPTIONS: --max_old_space_size=8192
761761
image: grafana/build-container:1.6.3
762762
name: lint-docs
763-
- commands:
764-
- ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER}
765-
depends_on:
766-
- yarn-install
767-
environment:
768-
NODE_OPTIONS: --max_old_space_size=8192
769-
image: grafana/build-container:1.6.3
770-
name: build-frontend-packages
771763
- commands:
772764
- mkdir -p /hugo/content/docs/grafana
773765
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
774766
- cd /hugo && make prod
775767
image: grafana/docs-base:latest
776768
name: build-docs-website
777-
- commands:
778-
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd
779-
depends_on: []
780-
environment:
781-
CGO_ENABLED: 0
782-
image: golang:1.19.2
783-
name: compile-build-cmd
784769
trigger:
785770
event:
786771
- pull_request
@@ -889,27 +874,12 @@ steps:
889874
NODE_OPTIONS: --max_old_space_size=8192
890875
image: grafana/build-container:1.6.3
891876
name: lint-docs
892-
- commands:
893-
- ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER}
894-
depends_on:
895-
- yarn-install
896-
environment:
897-
NODE_OPTIONS: --max_old_space_size=8192
898-
image: grafana/build-container:1.6.3
899-
name: build-frontend-packages
900877
- commands:
901878
- mkdir -p /hugo/content/docs/grafana
902879
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
903880
- cd /hugo && make prod
904881
image: grafana/docs-base:latest
905882
name: build-docs-website
906-
- commands:
907-
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd
908-
depends_on: []
909-
environment:
910-
CGO_ENABLED: 0
911-
image: golang:1.19.2
912-
name: compile-build-cmd
913883
trigger:
914884
branch: main
915885
event:
@@ -5632,6 +5602,6 @@ kind: secret
56325602
name: packages_secret_access_key
56335603
---
56345604
kind: signature
5635-
hmac: a8e4587efd7da775019ed2812c5980fb43fdb9ef5da50e2ac7e5c73151b6a685
5605+
hmac: d5d39719ea023fdedb6cfa303ed2acac29fe23060c9679c0c40511b3cc215738
56365606

56375607
...

scripts/drone/pipelines/docs.star

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ load(
88
'codespell_step',
99
'test_frontend_step',
1010
'build_storybook_step',
11-
'build_frontend_package_step',
1211
'build_docs_website_step',
13-
'compile_build_cmd',
1412
)
1513

1614
load(
@@ -40,9 +38,7 @@ def docs_pipelines(edition, ver_mode, trigger):
4038
yarn_install_step(),
4139
codespell_step(),
4240
lint_docs(),
43-
build_frontend_package_step(edition=edition, ver_mode=ver_mode),
4441
build_docs_website_step(),
45-
compile_build_cmd(),
4642
]
4743

4844
return pipeline(

0 commit comments

Comments
 (0)