Commit d0621b60 by Arve Knudsen Committed by GitHub

Drone: Fix order of steps (#27076)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 66051008
......@@ -62,43 +62,43 @@ steps:
depends_on:
- initialize
- name: build-backend
- name: test-backend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --variants linux-x64,linux-x64-musl,osx64,win64 --no-pull-enterprise
- ./bin/grabpl test-backend
- ./bin/grabpl integration-tests
depends_on:
- initialize
- lint-backend
- test-backend
- name: build-frontend
- name: test-frontend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
- yarn run prettier:check
- yarn run packages:typecheck
- yarn run typecheck
- yarn run test
environment:
TEST_MAX_WORKERS: 50%
depends_on:
- initialize
- test-frontend
- name: test-backend
- name: build-backend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl test-backend
- ./bin/grabpl integration-tests
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --variants linux-x64,linux-x64-musl,osx64,win64 --no-pull-enterprise
depends_on:
- initialize
- lint-backend
- test-backend
- name: test-frontend
- name: build-frontend
image: grafana/build-container:1.2.24
commands:
- yarn run prettier:check
- yarn run packages:typecheck
- yarn run typecheck
- yarn run test
environment:
TEST_MAX_WORKERS: 50%
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on:
- initialize
- test-frontend
- name: build-plugins
image: grafana/build-container:1.2.24
......@@ -289,43 +289,43 @@ steps:
depends_on:
- initialize
- name: build-backend
- name: test-backend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER
- ./bin/grabpl test-backend
- ./bin/grabpl integration-tests
depends_on:
- initialize
- lint-backend
- test-backend
- name: build-frontend
- name: test-frontend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
- yarn run prettier:check
- yarn run packages:typecheck
- yarn run typecheck
- yarn run test
environment:
TEST_MAX_WORKERS: 50%
depends_on:
- initialize
- test-frontend
- name: test-backend
- name: build-backend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl test-backend
- ./bin/grabpl integration-tests
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER
depends_on:
- initialize
- lint-backend
- test-backend
- name: test-frontend
- name: build-frontend
image: grafana/build-container:1.2.24
commands:
- yarn run prettier:check
- yarn run packages:typecheck
- yarn run typecheck
- yarn run test
environment:
TEST_MAX_WORKERS: 50%
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on:
- initialize
- test-frontend
- name: build-plugins
image: grafana/build-container:1.2.24
......
......@@ -32,10 +32,10 @@ def pr_pipelines(edition):
lint_backend_step(edition),
codespell_step(),
shellcheck_step(),
build_backend_step(edition=edition, variants=variants),
build_frontend_step(edition=edition),
test_backend_step(),
test_frontend_step(),
build_backend_step(edition=edition, variants=variants),
build_frontend_step(edition=edition),
build_plugins_step(edition=edition),
package_step(edition=edition, variants=variants),
e2e_tests_server_step(),
......@@ -81,10 +81,10 @@ def master_pipelines(edition):
lint_backend_step(edition),
codespell_step(),
shellcheck_step(),
build_backend_step(edition=edition),
build_frontend_step(edition=edition),
test_backend_step(),
test_frontend_step(),
build_backend_step(edition=edition),
build_frontend_step(edition=edition),
build_plugins_step(edition=edition),
package_step(edition=edition),
e2e_tests_server_step(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment