diff --git a/.drone.yml b/.drone.yml index c09915ef025..693111e8fd4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ... diff --git a/scripts/drone/pipelines/docs.star b/scripts/drone/pipelines/docs.star index d7050365a90..eefecd599e7 100644 --- a/scripts/drone/pipelines/docs.star +++ b/scripts/drone/pipelines/docs.star @@ -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(